Detect if a Page is auto hidden or visible?

Topics related to the Krypton Docking.

Moderators: Phil Wright, Chris Porter

Detect if a Page is auto hidden or visible?

Postby shartmann » Thu Aug 27, 2009 1:01 pm

see Subject ...

How can I detect if my Page is auto hidden or visible ?
shartmann
 
Posts: 45
Joined: Thu Mar 27, 2008 5:58 pm

Re: Detect if a Page is auto hidden or visible?

Postby Phil Wright » Thu Aug 27, 2009 8:09 pm

Use the following method to find the docking state of a page...

Code: Select all
KryptonDockingManager.FindDockingLocation(...)


Which returns an enumeration value like...
AutoHidden,
Docked,
Floating,
Workspace,
Navigator,
Custom,
None

The method...

Code: Select all
KryptonDockingManager.IsPageShowing(...)


...tells you if the page is hidden or showing.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia


Return to Krypton Docking

Who is online

Users browsing this forum: No registered users and 0 guests

cron