C# Class ComponentFactory.Krypton.Docking.KryptonAutoHiddenSlidePanel

Inheritance: ComponentFactory.Krypton.Toolkit.KryptonPanel, IMessageFilter
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
HideUniqueName ( ) : void

Remove from view any slide out page.

HideUniqueName ( string uniqueName ) : void

Remove from view the slide out page if it matches the unqiue name provided.

KryptonAutoHiddenSlidePanel ( Control control, DockingEdge edge, KryptonAutoHiddenPanel panel ) : System

Initialize a new instance of the KryptonAutoHiddenSlidePanel class.

SlideIn ( ) : void

Requests the panel slide out of view.

SlideOut ( KryptonPage page, KryptonAutoHiddenGroup group, bool select ) : void

Requests the panel slide into view and display the provided page.

UpdateSize ( int width, int height ) : void

Update the size and position of the slide out panel.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLeave ( EventArgs e ) : void

Raises the Leave event.

Private Methods

Method Description
CalculateStartAndEnd ( ) : void
MakeHidden ( ) : void
MakeSlideIn ( ) : void
OnAutoHiddenShowingStateChanged ( AutoHiddenShowingStateEventArgs e ) : void
OnCheckMakeHidden ( object sender, EventArgs e ) : void
OnControlSizeChanged ( object sender, EventArgs e ) : void
OnDismissTimerTick ( object sender, EventArgs e ) : void
OnDockspaceCellLosesFocus ( object sender, WorkspaceCellEventArgs e ) : void
OnDockspacePageAutoHiddenClicked ( object sender, UniqueNameEventArgs e ) : void
OnDockspacePageCloseClicked ( object sender, UniqueNameEventArgs e ) : void
OnDockspacePageDropDownClicked ( object sender, CancelDropDownEventArgs e ) : void
OnDockspaceSeparatorMoveRect ( object sender, SplitterMoveRectMenuArgs e ) : void
OnDockspaceSeparatorMoved ( object sender, System.Windows.Forms.SplitterEventArgs e ) : void
OnDockspaceSeparatorMoving ( object sender, System.Windows.Forms.SplitterCancelEventArgs e ) : void
OnSlideTimerTick ( object sender, EventArgs e ) : void
PreFilterMessage ( Message &msg ) : bool
ResetChildIndex ( ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

HideUniqueName() public method

Remove from view any slide out page.
public HideUniqueName ( ) : void
return void

HideUniqueName() public method

Remove from view the slide out page if it matches the unqiue name provided.
public HideUniqueName ( string uniqueName ) : void
uniqueName string Unique name of the page to be hidden.
return void

KryptonAutoHiddenSlidePanel() public method

Initialize a new instance of the KryptonAutoHiddenSlidePanel class.
public KryptonAutoHiddenSlidePanel ( Control control, DockingEdge edge, KryptonAutoHiddenPanel panel ) : System
control System.Windows.Forms.Control Reference to control that is being managed.
edge DockingEdge Docking edge being managed.
panel KryptonAutoHiddenPanel Reference to auto hidden panel for this edge.
return System

OnLeave() protected method

Raises the Leave event.
protected OnLeave ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void

SlideIn() public method

Requests the panel slide out of view.
public SlideIn ( ) : void
return void

SlideOut() public method

Requests the panel slide into view and display the provided page.
public SlideOut ( KryptonPage page, KryptonAutoHiddenGroup group, bool select ) : void
page ComponentFactory.Krypton.Navigator.KryptonPage Reference to page for display.
group KryptonAutoHiddenGroup Reference to auto hidden group that displays the page.
select bool Should the sliding out page become selected.
return void

UpdateSize() public method

Update the size and position of the slide out panel.
public UpdateSize ( int width, int height ) : void
width int Delta width to apply.
height int Delta height to apply.
return void