C# Class ComponentFactory.Krypton.Navigator.ViewDrawNavCheckButtonBar

Navigator view element for drawing a bar check button for a krypton page.
Inheritance: ViewDrawNavCheckButtonBase, INavCheckItem
显示文件 Open project: Cocotteseb/Krypton Class Usage Examples

Public Methods

Method Description
GetImage ( PaletteState state ) : Image

Gets the content image.

GetLongText ( ) : string

Gets the content long text.

GetShortText ( ) : string

Gets the content short text.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawNavCheckButtonBar ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation ) : System

Initialize a new instance of the ViewDrawNavCheckButtonBar class.

ViewDrawNavCheckButtonBar ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation, IPaletteTriple stateDisabled, IPaletteTriple stateNormal, IPaletteTriple stateTracking, IPaletteTriple statePressed, IPaletteTriple stateSelected, IPaletteTriple stateFocused ) : System

Initialize a new instance of the ViewDrawNavCheckButtonBar class.

Protected Methods

Method Description
OnClick ( object sender, EventArgs e ) : void

Processes the Click event from the button.

Method Details

GetImage() public method

Gets the content image.
public GetImage ( PaletteState state ) : Image
state PaletteState The state for which the image is needed.
return Image

GetLongText() public method

Gets the content long text.
public GetLongText ( ) : string
return string

GetShortText() public method

Gets the content short text.
public GetShortText ( ) : string
return string

OnClick() protected method

Processes the Click event from the button.
protected OnClick ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs containing the event data.
return void

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

ViewDrawNavCheckButtonBar() public method

Initialize a new instance of the ViewDrawNavCheckButtonBar class.
public ViewDrawNavCheckButtonBar ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation ) : System
navigator KryptonNavigator Owning navigator instance.
page KryptonPage Page this check button represents.
orientation VisualOrientation Orientation for the check button.
return System

ViewDrawNavCheckButtonBar() public method

Initialize a new instance of the ViewDrawNavCheckButtonBar class.
public ViewDrawNavCheckButtonBar ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation, IPaletteTriple stateDisabled, IPaletteTriple stateNormal, IPaletteTriple stateTracking, IPaletteTriple statePressed, IPaletteTriple stateSelected, IPaletteTriple stateFocused ) : System
navigator KryptonNavigator Owning navigator instance.
page KryptonPage Page this check button represents.
orientation VisualOrientation Orientation for the check button.
stateDisabled IPaletteTriple Source for disabled state values.
stateNormal IPaletteTriple Source for normal state values.
stateTracking IPaletteTriple Source for tracking state values.
statePressed IPaletteTriple Source for pressed state values.
stateSelected IPaletteTriple Source for selected state values.
stateFocused IPaletteTriple Source for focused state values.
return System