C# Class ComponentFactory.Krypton.Ribbon.VisualPopupGroup

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

Public Methods

Method Description
HideFocus ( ) : void

Hide focus by giving it to the hidden control.

SetFirstFocusItem ( ) : void

Set focus to the first focus item inside the popup group.

SetLastFocusItem ( ) : void

Set focus to the last focus item inside the popup group.

SetNextFocusItem ( ) : void

Set focus to the next focus item inside the popup group.

SetPreviousFocusItem ( ) : void

Set focus to the previous focus item inside the popup group.

ShowCalculatingSize ( ViewDrawRibbonGroup parentGroup, Rectangle parentScreenRect ) : void

Show the group popup relative to the parent group instance.

VisualPopupGroup ( KryptonRibbon ribbon, KryptonRibbonGroup ribbonGroup, IRenderer renderer ) : System

Initialize a new instance of the VisualPopupGroup class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnKeyPress ( KeyPressEventArgs e ) : void

Raises the KeyPress event.

OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void

Raises the Layout event.

ProcessDialogKey ( Keys keyData ) : bool

Processes a dialog key.

Private Methods

Method Description
CalculateBelowPopupRect ( Rectangle parentScreenRect, Size popupSize ) : Rectangle

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

HideFocus() public method

Hide focus by giving it to the hidden control.
public HideFocus ( ) : void
return void

OnKeyPress() protected method

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs An KeyPressEventArgs that contains the event data.
return void

OnLayout() protected method

Raises the Layout event.
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs An EventArgs that contains the event data.
return void

ProcessDialogKey() protected method

Processes a dialog key.
protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys One of the Keys values that represents the key to process.
return bool

SetFirstFocusItem() public method

Set focus to the first focus item inside the popup group.
public SetFirstFocusItem ( ) : void
return void

SetLastFocusItem() public method

Set focus to the last focus item inside the popup group.
public SetLastFocusItem ( ) : void
return void

SetNextFocusItem() public method

Set focus to the next focus item inside the popup group.
public SetNextFocusItem ( ) : void
return void

SetPreviousFocusItem() public method

Set focus to the previous focus item inside the popup group.
public SetPreviousFocusItem ( ) : void
return void

ShowCalculatingSize() public method

Show the group popup relative to the parent group instance.
public ShowCalculatingSize ( ViewDrawRibbonGroup parentGroup, Rectangle parentScreenRect ) : void
parentGroup ViewDrawRibbonGroup Parent group instance.
parentScreenRect System.Drawing.Rectangle Screen rectangle of the parent.
return void

VisualPopupGroup() public method

Initialize a new instance of the VisualPopupGroup class.
public VisualPopupGroup ( KryptonRibbon ribbon, KryptonRibbonGroup ribbonGroup, IRenderer renderer ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
ribbonGroup KryptonRibbonGroup Reference to ribbon group for display.
renderer IRenderer Drawing renderer.
return System