C# Class ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupNumericUpDown

Inheritance: KryptonRibbonGroupItem
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
CreateView ViewBase
MonitorControl void
OnControlEnter void
OnControlLeave void
OnDesignTimeContextMenu void
OnNumericUpDownGotFocus void
OnNumericUpDownKeyDown void
OnNumericUpDownKeyPress void
OnNumericUpDownKeyUp void
OnNumericUpDownLostFocus void
OnNumericUpDownPreviewKeyDown void
OnNumericUpDownValueChanged void
OnPaletteNeedPaint void
OnRibbonPaletteChanged void
ProcessCmdKey bool
ShouldSerializeShortcutKeys bool
UnmonitorControl void

Public Methods

Method Description
Hide ( ) : void

Make the ribbon group numeric up-down hidden.

KryptonRibbonGroupNumericUpDown ( ) : System

Initialise a new instance of the KryptonRibbonGroupNumericUpDown class.

ResetShortcutKeys ( ) : void

Resets the ShortcutKeys property to its default value.

Select ( int start, int length ) : void

Selects a range of text in the control.

Show ( ) : void

Make the ribbon group numeric up-down visible.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event.

OnKeyDown ( KeyEventArgs e ) : void

Raises the KeyDown event.

OnKeyPress ( KeyPressEventArgs e ) : void

Raises the KeyPress event.

OnKeyUp ( KeyEventArgs e ) : void

Raises the KeyUp event.

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus event.

OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void

Raises the PreviewKeyDown event.

OnPropertyChanged ( string propertyName ) : void

Raises the PropertyChanged event.

OnValueChanged ( EventArgs e ) : void

Raises the ValueChanged event.

Private Methods

Method Description
CreateView ( KryptonRibbon ribbon, NeedPaintHandler needPaint ) : ViewBase
MonitorControl ( KryptonNumericUpDown c ) : void
OnControlEnter ( object sender, EventArgs e ) : void
OnControlLeave ( object sender, EventArgs e ) : void
OnDesignTimeContextMenu ( MouseEventArgs e ) : void
OnNumericUpDownGotFocus ( object sender, EventArgs e ) : void
OnNumericUpDownKeyDown ( object sender, KeyEventArgs e ) : void
OnNumericUpDownKeyPress ( object sender, KeyPressEventArgs e ) : void
OnNumericUpDownKeyUp ( object sender, KeyEventArgs e ) : void
OnNumericUpDownLostFocus ( object sender, EventArgs e ) : void
OnNumericUpDownPreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void
OnNumericUpDownValueChanged ( object sender, EventArgs e ) : void
OnPaletteNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
OnRibbonPaletteChanged ( object sender, EventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool
ShouldSerializeShortcutKeys ( ) : bool
UnmonitorControl ( KryptonNumericUpDown c ) : 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

Hide() public method

Make the ribbon group numeric up-down hidden.
public Hide ( ) : void
return void

KryptonRibbonGroupNumericUpDown() public method

Initialise a new instance of the KryptonRibbonGroupNumericUpDown class.
public KryptonRibbonGroupNumericUpDown ( ) : System
return System

OnGotFocus() protected method

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

OnKeyDown() protected method

Raises the KeyDown event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs An KeyEventArgs containing the event data.
return void

OnKeyPress() protected method

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

OnKeyUp() protected method

Raises the KeyUp event.
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs An KeyEventArgs containing the event data.
return void

OnLostFocus() protected method

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

OnPreviewKeyDown() protected method

Raises the PreviewKeyDown event.
protected OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
e System.Windows.Forms.PreviewKeyDownEventArgs An PreviewKeyDownEventArgs containing the event data.
return void

OnPropertyChanged() protected method

Raises the PropertyChanged event.
protected OnPropertyChanged ( string propertyName ) : void
propertyName string Name of property that has changed.
return void

OnValueChanged() protected method

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

ResetShortcutKeys() public method

Resets the ShortcutKeys property to its default value.
public ResetShortcutKeys ( ) : void
return void

Select() public method

Selects a range of text in the control.
public Select ( int start, int length ) : void
start int The position of the first character in the current text selection within the text box.
length int The number of characters to select.
return void

Show() public method

Make the ribbon group numeric up-down visible.
public Show ( ) : void
return void