Is it possible to lock the components of a DevExpress DockLayoutManager (WPF)? I want to make layout changes optional so the user doesn’t accidentally undock components. IsEnabled doesn’t work because it disables all child components completely.
Is it possible to lock the components of a DevExpress DockLayoutManager (WPF)? I want
Share
Turns out you can do this only through your
BaseLayoutItems’Allow*properties. So now I recurse through all myLayoutGroups and theirItemsand setAllowFloat,AllowDrag,AllowMaximize,AllowHide,AllowMove,AllowSizingtotrueorfalse, respectively.