C# Class ComponentFactory.Krypton.Navigator.ViewBuilderHeaderBarCheckButtonHeaderGroup

Implements the NavigatorMode.HeaderBarCheckButtonHeaderGroup mode.
Inheritance: ViewBuilderHeaderBarCheckButtonBase
Datei anzeigen Open project: ComponentFactory/Krypton

Public Methods

Method Description
ButtonSpecFromView ( ViewBase element ) : ButtonSpec

Gets the ButtonSpec associated with the provided view element.

DesignerGetHitTest ( Point pt ) : bool

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

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.

PageCollectionChanged ( ) : void

Change has occured to the collection of pages.

PageEnabledStateChanged ( KryptonPage page ) : void

Process a change in the enabled state for a page.

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.

SelectedPageChanged ( ) : void

Process a change in the selected page

UpdateStatePalettes ( ) : void

Ensure the correct state palettes are being used.

Protected Methods

Method Description
CreateButtonSpecManager ( ) : void

Create a manager for handling the button specifications.

CreateCheckItemView ( ) : void

Create the view hierarchy for this view mode.

DestructCheckItemView ( ) : void

Destruct the view hierarchy for this mode.

OnViewBuilderPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

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

PostCreate ( ) : void

Perform post create tasks.

UpdateOrientation ( ) : void

Update the bar orientation.

Method Details

ButtonSpecFromView() public method

Gets the ButtonSpec associated with the provided view element.
public ButtonSpecFromView ( ViewBase element ) : ButtonSpec
element ViewBase Element to search against.
return ComponentFactory.Krypton.Toolkit.ButtonSpec

CreateButtonSpecManager() protected method

Create a manager for handling the button specifications.
protected CreateButtonSpecManager ( ) : void
return void

CreateCheckItemView() protected method

Create the view hierarchy for this view mode.
protected CreateCheckItemView ( ) : void
return void

DesignerGetHitTest() public method

Is the provided over a part of the view that wants the mouse.
public DesignerGetHitTest ( Point pt ) : bool
pt Point Mouse point.
return bool

DestructCheckItemView() protected method

Destruct the view hierarchy for this mode.
protected DestructCheckItemView ( ) : void
return void

GetContextShowPoint() public method

Gets the screen coorindates for showing a context action menu.
public GetContextShowPoint ( ) : Point
return Point

NextActionEnabled() public method

Calculate the enabled state of the next button based on the required action.
public NextActionEnabled ( DirectionButtonAction action ) : ButtonEnabled
action DirectionButtonAction Requested action.
return ButtonEnabled

OnViewBuilderPropertyChanged() protected method

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.
return void

PageCollectionChanged() public method

Change has occured to the collection of pages.
public PageCollectionChanged ( ) : void
return void

PageEnabledStateChanged() public method

Process a change in the enabled state for a page.
public PageEnabledStateChanged ( KryptonPage page ) : void
page KryptonPage Page that has changed enabled state.
return void

PageVisibleStateChanged() public method

Process a change in the visible state for a page.
public PageVisibleStateChanged ( KryptonPage page ) : void
page KryptonPage Page that has changed visible state.
return void

PerformNextAction() public method

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.
return void

PerformPreviousAction() public method

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.
return void

PostCreate() protected method

Perform post create tasks.
protected PostCreate ( ) : void
return void

PreviousActionEnabled() public method

Calculate the enabled state of the previous button based on the required action.
public PreviousActionEnabled ( DirectionButtonAction action ) : ButtonEnabled
action DirectionButtonAction Requested action.
return ButtonEnabled

SelectedPageChanged() public method

Process a change in the selected page
public SelectedPageChanged ( ) : void
return void

UpdateOrientation() protected method

Update the bar orientation.
protected UpdateOrientation ( ) : void
return void

UpdateStatePalettes() public method

Ensure the correct state palettes are being used.
public UpdateStatePalettes ( ) : void
return void