Skip to content

Sub ToolDock Does Not Inherit GripMode Properly #868

@sungwon-choi-789

Description

@sungwon-choi-789

Issue: Sub ToolDock Does Not Inherit GripMode Properly

First of all, thank you for providing such a great component.

I would like to report an issue regarding the ToolDock behavior when adding tools.

When a ToolDock has its property set to GripMode = GripMode.AutoHide, the first tool added respects this setting. However, any subsequent tools added to the same ToolDock do not inherit the AutoHide setting.

For example, consider the following code:

var mainToolDock = new ToolDock
{
    Id = $"MainToolDock_{DateTime.Now.Ticks}",
    Title = title,
    ActiveDockable = null,
    VisibleDockables = CreateList<IDockable>(),
    Alignment = Alignment.Left,
    GripMode = GripMode.AutoHide
};

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions