C# Class ComponentFactory.Krypton.Navigator.ViewDrawNavCheckButtonBar

Navigator view element for drawing a bar check button for a krypton page.
Inheritance: ViewDrawNavCheckButtonBase, INavCheckItem
Afficher le fichier Open project: Cocotteseb/Krypton Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
OnClick ( object sender, EventArgs e ) : void

Processes the Click event from the button.

Method Details

GetImage() public méthode

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

GetLongText() public méthode

Gets the content long text.
public GetLongText ( ) : string
Résultat string

GetShortText() public méthode

Gets the content short text.
public GetShortText ( ) : string
Résultat string

OnClick() protected méthode

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.
Résultat void

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

ViewDrawNavCheckButtonBar() public méthode

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.
Résultat System

ViewDrawNavCheckButtonBar() public méthode

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.
Résultat System