>
>I''ve read the KB articles on docking, but I have a few questions?
>
>1. How do you determine if a docking window is pinned? (saw something on ListBox, but I''m using a panel as docking window)
>
>2. Is there any way to determine when the state of pinned changes?
>
>Thank you,
>Steve
Hi Steve,
For #1, you should call GetAutoHideMode on the DockingManager and pass it the Control you want to check on. It''ll return a bool telling you the status of the Control.
#2 is a little more complicated. You''ll want to listen to the DockStateChanged event. You can then call GetAutoHideMode to see the status of each of your controls. Finally, if you tracked the previous state with a bool field, you''ll know whether the AutoHide state changed or not.
I''ve included a sample that demonstrates this.
determinepinned_5125.zip
Regards,
Gregory Austin
Syncfusion, Inc.