C# Class ComponentFactory.Krypton.Navigator.ViewBuilderHeaderBarTabGroup

Implements the NavigatorMode.HeaderGroupTab view.
Inheritance: ViewBuilderBarTabBase
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

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

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

UpdateButtons ( ) : void

Recreate the buttons to reflect a change in selected page.

UpdateStatePalettes ( ) : void

Ensure the correct state palettes are being used.

Méthodes protégées

Méthode Description
CreateButtonSpecManager ( ) : void
CreateCheckItemView ( ) : void

Create the view hierarchy for this view 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.

Private Methods

Méthode Description
CreateDragDrop ( ) : void
OnDragEnd ( object sender, PointEventArgs e ) : void
OnDragMove ( object sender, PointEventArgs e ) : void
OnDragQuit ( object sender, EventArgs e ) : void
OnDragStart ( object sender, DragStartEventCancelArgs e ) : void
OnLeftDoubleClick ( object sender, EventArgs e ) : void
OnLeftMouseDown ( object sender, EventArgs e ) : void
OnRightMouseDown ( object sender, EventArgs e ) : void
SetEnabled ( bool enabled ) : void
SetHeaderPosition ( ViewDrawCanvas canvas, ViewDrawContent content, VisualOrientation position ) : void
SetHeaderStyle ( ViewDrawDocker drawDocker, PaletteTripleMetricRedirect palette, HeaderStyle style ) : void
SetPalettes ( PaletteHeaderGroup palette ) : void
UpdateHeaders ( ) : void

Method Details

ButtonSpecFromView() public méthode

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

Construct() public méthode

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

CreateButtonSpecManager() protected méthode

protected CreateButtonSpecManager ( ) : void
Résultat void

CreateCheckItemView() protected méthode

Create the view hierarchy for this view mode.
protected CreateCheckItemView ( ) : void
Résultat void

GetContextShowPoint() public méthode

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

NextActionEnabled() public méthode

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

OnViewBuilderPropertyChanged() protected méthode

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

PageCollectionChanged() public méthode

Change has occured to the collection of pages.
public PageCollectionChanged ( ) : void
Résultat void

PageEnabledStateChanged() public méthode

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

PageVisibleStateChanged() public méthode

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

PerformNextAction() public méthode

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

PerformPreviousAction() public méthode

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

PostCreate() protected méthode

Perform post create tasks.
protected PostCreate ( ) : void
Résultat void

PreviousActionEnabled() public méthode

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

SelectedPageChanged() public méthode

Process a change in the selected page
public SelectedPageChanged ( ) : void
Résultat void

UpdateButtons() public méthode

Recreate the buttons to reflect a change in selected page.
public UpdateButtons ( ) : void
Résultat void

UpdateOrientation() protected méthode

Update the bar orientation.
protected UpdateOrientation ( ) : void
Résultat void

UpdateStatePalettes() public méthode

Ensure the correct state palettes are being used.
public UpdateStatePalettes ( ) : void
Résultat void