C# Class ComponentFactory.Krypton.Ribbon.ViewRibbonMinimizedManager

Inheritance: ComponentFactory.Krypton.Toolkit.ViewManager
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
Active ( ) : void

Application we are inside has become active.

Dispose ( ) : void

Clean up any resources being used.

GetPreferredSize ( IRenderer renderer, Size proposedSize ) : Size

Discover the preferred size of the view.

Inactive ( ) : void

Application we are inside has become inactive.

KeyDown ( KeyEventArgs e ) : void

Perform key down handling.

KeyPress ( KeyPressEventArgs e ) : void

Perform key press handling.

KeyUp ( KeyEventArgs e ) : void

Perform key up handling.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the view.

MouseLeave ( EventArgs e ) : void

Perform mouse leave processing.

MouseMove ( MouseEventArgs e, Point rawPt ) : void

Perform mouse movement handling.

ViewRibbonMinimizedManager ( KryptonRibbon control, ViewDrawRibbonGroupsBorderSynch viewGroups, ViewBase root, bool minimizedMode, NeedPaintHandler needPaintDelegate ) : System

Initialize a new instance of the ViewRibbonManager class.

Protected Methods

Method Description
UpdateViewFromPoint ( Control control, Point pt ) : void

Update the active view based on the mouse position.

Private Methods

Method Description
PerformNeedPaint ( bool needLayout ) : void
PerformNeedPaint ( bool needLayout, Rectangle invalidRect ) : void

Method Details

Active() public method

Application we are inside has become active.
public Active ( ) : void
return void

Dispose() public method

Clean up any resources being used.
public Dispose ( ) : void
return void

GetPreferredSize() public method

Discover the preferred size of the view.
public GetPreferredSize ( IRenderer renderer, Size proposedSize ) : Size
renderer IRenderer Renderer provider.
proposedSize Size The custom-sized area for a control.
return Size

Inactive() public method

Application we are inside has become inactive.
public Inactive ( ) : void
return void

KeyDown() public method

Perform key down handling.
public KeyDown ( KeyEventArgs e ) : void
e KeyEventArgs A KeyEventArgs that contains the event data.
return void

KeyPress() public method

Perform key press handling.
public KeyPress ( KeyPressEventArgs e ) : void
e KeyPressEventArgs A KeyPressEventArgs that contains the event data.
return void

KeyUp() public method

Perform key up handling.
public KeyUp ( KeyEventArgs e ) : void
e KeyEventArgs A KeyEventArgs that contains the event data.
return void

Layout() public method

Perform a layout of the view.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext View context for layout operation.
return void

MouseLeave() public method

Perform mouse leave processing.
public MouseLeave ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
return void

MouseMove() public method

Perform mouse movement handling.
public MouseMove ( MouseEventArgs e, Point rawPt ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
rawPt Point The actual point provided from the windows message.
return void

UpdateViewFromPoint() protected method

Update the active view based on the mouse position.
protected UpdateViewFromPoint ( Control control, Point pt ) : void
control Control Source control.
pt Point Point within the source control.
return void

ViewRibbonMinimizedManager() public method

Initialize a new instance of the ViewRibbonManager class.
public ViewRibbonMinimizedManager ( KryptonRibbon control, ViewDrawRibbonGroupsBorderSynch viewGroups, ViewBase root, bool minimizedMode, NeedPaintHandler needPaintDelegate ) : System
control KryptonRibbon Owning control.
viewGroups ViewDrawRibbonGroupsBorderSynch Group view elements.
root ViewBase Root of the view hierarchy.
minimizedMode bool Is this manager for handling the minimized mode popup.
needPaintDelegate NeedPaintHandler Delegate for requesting paint changes.
return System