这是indexloc提供的服务,不要输入任何密码
Skip to content

AvalonDock: Unable to configure anchorable to disallow user to move it to the document pane #18

@Dirkster99

Description

@Dirkster99

xceedsoftware/wpftoolkit#1460

It is not possible to setup anchorable in a way that dissallows user to drag/move it to the document pane.

Hi,
The LayoutAnchorable.CanDockAsTabbedDocument can be set to false to prevent the contextMenu from enabling the "Dock as Tabbed document" option.
But yes, a drag and drop is still possible. This will be fixed in v3.9.

A possible fix for this problem can be found in an extra branch:
https://github.com/Dirkster99/AvalonDock/tree/Issue18

I wonder if anyone has an opinion on this fix or whether I am missing something crucial? Would someone be up for a 4 eyes commit and independent testing?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions