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

Implements the NavigatorMode.HeaderGroup view.
Наследование: ViewBuilderBase
Показать файл Открыть проект

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

Метод Описание
ButtonSpecFromView ( ViewBase element ) : ButtonSpec

Gets the ButtonSpec associated with the provided view element.

Construct ( KryptonNavigator navigator, ViewManager manager, PaletteRedirect redirector ) : void

Construct the view appropriate for this builder.

DesignerGetHitTest ( Point pt ) : bool

Is the provided over a part of the view that wants the mouse.

Destruct ( ) : void

Destruct the previously created view.

GetContextShowPoint ( ) : Point

Gets the screen coorindates for showing a context action menu.

NextActionEnabled ( DirectionButtonAction action ) : ButtonEnabled

Calculate the enabled state of the next button based on the required action.

PageAppearanceChanged ( KryptonPage page, string property ) : void

Notification that a krypton page appearance property has changed.

PageCollectionChanged ( ) : void

Change has occured to the collection of pages.

PageEnabledStateChanged ( KryptonPage page ) : void

Process a change in the enabled state for a page.

PageFromView ( ViewBase element ) : KryptonPage

Gets the KryptonPage associated with the provided view element.

PageVisibleStateChanged ( KryptonPage page ) : void

Process a change in the visible state for a page.

PerformNextAction ( DirectionButtonAction action, KryptonPage page ) : void

Peform the next button action requested.

PerformPreviousAction ( DirectionButtonAction action, KryptonPage page ) : void

Peform the previous button action requested.

PreviousActionEnabled ( DirectionButtonAction action ) : ButtonEnabled

Calculate the enabled state of the previous button based on the required action.

ProcessDialogKey ( Keys keyData ) : bool

Process a dialog key in a manner appropriate for the view.

ProcessMnemonic ( char charCode ) : bool

Processes a mnemonic character.

SelectedPageChanged ( ) : void

Process a change in the selected page

UpdateStatePalettes ( ) : void

Ensure the correct state palettes are being used.

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

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

Process the change in a property that might effect the view builder.

Приватные методы

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

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

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

Gets the ButtonSpec associated with the provided view element.
public ButtonSpecFromView ( ViewBase element ) : ButtonSpec
element ViewBase Element to search against.
Результат ComponentFactory.Krypton.Toolkit.ButtonSpec

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

Construct the view appropriate for this builder.
public Construct ( KryptonNavigator navigator, ViewManager manager, PaletteRedirect redirector ) : void
navigator KryptonNavigator Reference to navigator instance.
manager ComponentFactory.Krypton.Toolkit.ViewManager Reference to current manager.
redirector ComponentFactory.Krypton.Toolkit.PaletteRedirect Palette redirector.
Результат void

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

Is the provided over a part of the view that wants the mouse.
public DesignerGetHitTest ( Point pt ) : bool
pt Point Mouse point.
Результат bool

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

Destruct the previously created view.
public Destruct ( ) : void
Результат void

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

Gets the screen coorindates for showing a context action menu.
public GetContextShowPoint ( ) : Point
Результат Point

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

Calculate the enabled state of the next button based on the required action.
public NextActionEnabled ( DirectionButtonAction action ) : ButtonEnabled
action DirectionButtonAction Requested action.
Результат ButtonEnabled

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

Process the change in a property that might effect the view builder.
protected OnViewBuilderPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object Source of the event.
e System.ComponentModel.PropertyChangedEventArgs Property changed details.
Результат void

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

Notification that a krypton page appearance property has changed.
public PageAppearanceChanged ( KryptonPage page, string property ) : void
page KryptonPage Page that has changed.
property string Name of property that has changed.
Результат void

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

Change has occured to the collection of pages.
public PageCollectionChanged ( ) : void
Результат void

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

Process a change in the enabled state for a page.
public PageEnabledStateChanged ( KryptonPage page ) : void
page KryptonPage Page that has changed enabled state.
Результат void

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

Gets the KryptonPage associated with the provided view element.
public PageFromView ( ViewBase element ) : KryptonPage
element ViewBase Element to search against.
Результат KryptonPage

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

Process a change in the visible state for a page.
public PageVisibleStateChanged ( KryptonPage page ) : void
page KryptonPage Page that has changed visible state.
Результат void

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

Peform the next button action requested.
public PerformNextAction ( DirectionButtonAction action, KryptonPage page ) : void
action DirectionButtonAction Requested action.
page KryptonPage Selected page at time of action request.
Результат void

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

Peform the previous button action requested.
public PerformPreviousAction ( DirectionButtonAction action, KryptonPage page ) : void
action DirectionButtonAction Requested action.
page KryptonPage Selected page at time of action request.
Результат void

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

Calculate the enabled state of the previous button based on the required action.
public PreviousActionEnabled ( DirectionButtonAction action ) : ButtonEnabled
action DirectionButtonAction Requested action.
Результат ButtonEnabled

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

Process a dialog key in a manner appropriate for the view.
public ProcessDialogKey ( Keys keyData ) : bool
keyData Keys Key data.
Результат bool

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

Processes a mnemonic character.
public ProcessMnemonic ( char charCode ) : bool
charCode char The mnemonic character entered.
Результат bool

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

Process a change in the selected page
public SelectedPageChanged ( ) : void
Результат void

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

Ensure the correct state palettes are being used.
public UpdateStatePalettes ( ) : void
Результат void