wpftoolkit icon indicating copy to clipboard operation
wpftoolkit copied to clipboard

Set borderThickness property to layoutAnchorable WPF

Open vikaschamp opened this issue 3 years ago • 4 comments
trafficstars

I have developed a docking application using xceed.Wpf.AvalonDock library in WPF . I am using floated LayoutAnchorable which contain the user control component. I want to increase the border thickness of floated LayoutAnchorable .

Actually getting issue while resizing the floating layout anchorable using mouse . The mouse pointer is not prominent at the border . I thought to increase the border size will resolve the issue.

Is it possible to do that ? Please suggest question . Thanks in advance .

vikaschamp avatar May 11 '22 15:05 vikaschamp

Hi,

If you look in Xceed.Wpf.AvalonDock/Themes./Default.xaml, and search for "LayoutAnchorableFloatingWindowControl" style, you will see a BorderThickness of 3. You can change that if you want. But if you want a bigger resizing BorderThickness (mouse changing to double arrow for resizing), you will have to modify, inside this LayoutAnchorableFloatingWindowControl, a WindowChrome : it contains a ResizeBorderThickness of 10. Then recompile the dll.

For the moment, there is no property accessible on the DockingManager to modify this easily. We will try to add one.

Thank you.

XceedBoucherS avatar May 13 '22 12:05 XceedBoucherS

Hi,

In v4.5, a new property ResizeBorderThickness will be available in order to get/set the width of the border that is used to resize a LayoutFloatingWindowControl/LayoutAnchorableFloatingWindowControl/LayoutDocumentFloatingWindowControl.

evancekafando avatar Jun 07 '22 01:06 evancekafando