Componentone DockControl Version 6

Posted by: rambabu on 9 November 2023, 9:57 am EST

    • Post Options:
    • Link

    Posted 9 November 2023, 9:57 am EST

    Is there any way to hide the dock arrows(Left, Right, top, and bottom) for the floated windows in WPF?

    I only want the center option in DockControl, Can you please help?

    https://www.awesomescreenshot.com/video/22345574?key=41ba74e4fb3cab8b5120443b456efeb9

  • Posted 9 November 2023, 11:36 pm EST

    Hi,

    In order to achieve this requirement, you need to handle PickerLoading event as:

    private void DockControl_PickerLoading(object? sender, C1.WPF.Docking.PickerLoadingEventArgs e)
    {
        e.ShowTopInnerPart = false;
        e.ShowTopOuterPart = false;
        e.ShowRightInnerPart = false;
        e.ShowRightOuterPart = false;
        e.ShowLeftInnerPart = false;
        e.ShowLeftOuterPart = false;
        e.ShowBottomInnerPart = false;
        e.ShowBottomOuterPart = false;
    }

    Please refer the attached sample for the same: DockDemo.zip

    Best Regards,

    Nitin

  • Posted 10 November 2023, 9:31 am EST

    Thanks a lot, Nitin.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels