C# Class ComponentFactory.Krypton.Ribbon.ViewRibbonManager

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.

GetPreferredSize ( IRenderer renderer, Size proposedSize ) : Size

Discover the preferred size of the view.

Inactive ( ) : void

Application we are inside has become inactive.

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.

ViewRibbonManager ( 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

GetPreferredSize() public method

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

Inactive() public method

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

Layout() public method

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

MouseLeave() public method

Perform mouse leave processing.
public MouseLeave ( EventArgs e ) : void
e System.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 System.Windows.Forms.Control Source control.
pt Point Point within the source control.
return void

ViewRibbonManager() public method

Initialize a new instance of the ViewRibbonManager class.
public ViewRibbonManager ( 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