C# Class ComponentFactory.Krypton.Navigator.NavigatorButton

Storage for button related properties.
Inheritance: ComponentFactory.Krypton.Toolkit.Storage
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
OnCloseClick void
OnContextClick void
OnNextClick void
OnPreviousClick void
ShouldSerializeCloseButton bool
ShouldSerializeCloseButtonShortcut bool
ShouldSerializeContextButton bool
ShouldSerializeContextButtonShortcut bool
ShouldSerializeNextButton bool
ShouldSerializeNextButtonShortcut bool
ShouldSerializePreviousButton bool
ShouldSerializePreviousButtonShortcut bool

Public Methods

Method Description
NavigatorButton ( KryptonNavigator navigator, NeedPaintHandler needPaint ) : System

Initialize a new instance of the NavigatorButton class.

ResetButtonDisplayLogic ( ) : void

Resets the ButtonDisplayLogic property to its default value.

ResetCloseButtonShortcut ( ) : void

Resets the CloseButtonShortcut property to its default value.

ResetContextButtonShortcut ( ) : void

Resets the ContextButtonShortcut property to its default value.

ResetNextButtonShortcut ( ) : void

Resets the NextButtonShortcut property to its default value.

ResetPreviousButtonShortcut ( ) : void

Resets the PreviousButtonShortcut property to its default value.

Private Methods

Method Description
OnCloseClick ( object sender, EventArgs e ) : void
OnContextClick ( object sender, EventArgs e ) : void
OnNextClick ( object sender, EventArgs e ) : void
OnPreviousClick ( object sender, EventArgs e ) : void
ShouldSerializeCloseButton ( ) : bool
ShouldSerializeCloseButtonShortcut ( ) : bool
ShouldSerializeContextButton ( ) : bool
ShouldSerializeContextButtonShortcut ( ) : bool
ShouldSerializeNextButton ( ) : bool
ShouldSerializeNextButtonShortcut ( ) : bool
ShouldSerializePreviousButton ( ) : bool
ShouldSerializePreviousButtonShortcut ( ) : bool

Method Details

NavigatorButton() public method

Initialize a new instance of the NavigatorButton class.
public NavigatorButton ( KryptonNavigator navigator, NeedPaintHandler needPaint ) : System
navigator KryptonNavigator Reference to owning navigator instance.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

ResetButtonDisplayLogic() public method

Resets the ButtonDisplayLogic property to its default value.
public ResetButtonDisplayLogic ( ) : void
return void

ResetCloseButtonShortcut() public method

Resets the CloseButtonShortcut property to its default value.
public ResetCloseButtonShortcut ( ) : void
return void

ResetContextButtonShortcut() public method

Resets the ContextButtonShortcut property to its default value.
public ResetContextButtonShortcut ( ) : void
return void

ResetNextButtonShortcut() public method

Resets the NextButtonShortcut property to its default value.
public ResetNextButtonShortcut ( ) : void
return void

ResetPreviousButtonShortcut() public method

Resets the PreviousButtonShortcut property to its default value.
public ResetPreviousButtonShortcut ( ) : void
return void