C# Класс ComponentFactory.Krypton.Navigator.ViewDrawNavCheckButtonBar

Navigator view element for drawing a bar check button for a krypton page.
Наследование: ViewDrawNavCheckButtonBase, INavCheckItem
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
OnClick ( object sender, EventArgs e ) : void

Processes the Click event from the button.

Описание методов

GetImage() публичный Метод

Gets the content image.
public GetImage ( PaletteState state ) : Image
state PaletteState The state for which the image is needed.
Результат Image

GetLongText() публичный Метод

Gets the content long text.
public GetLongText ( ) : string
Результат string

GetShortText() публичный Метод

Gets the content short text.
public GetShortText ( ) : string
Результат string

OnClick() защищенный Метод

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.
Результат void

ToString() публичный Метод

Obtains the String representation of this instance.
public ToString ( ) : string
Результат string

ViewDrawNavCheckButtonBar() публичный Метод

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.
Результат System

ViewDrawNavCheckButtonBar() публичный Метод

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.
Результат System