C# Class ComponentFactory.Krypton.Navigator.ViewBuilderHeaderBarCheckButtonBase

Base class for implementation of 'HeaderBar - CheckButton' modes.
Inheritance: ViewBuilderItemBase
Datei anzeigen Open project: Cocotteseb/Krypton

Protected Properties

Property Type Description
_drawPanelDocker ComponentFactory.Krypton.Toolkit.ViewDrawDocker
_viewHeadingBar ComponentFactory.Krypton.Toolkit.ViewDrawDocker

Public Methods

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

Construct the view appropriate for this builder.

Destruct ( ) : void

Destruct the previously created view.

UpdateStatePalettes ( ) : void

Ensure the correct state palettes are being used.

Protected Methods

Method Description
ConvertButtonBorderBackOrientation ( ) : VisualOrientation

Gets the visual orientation of the check buttton.

ConvertButtonContentOrientation ( ) : VisualOrientation

Gets the visual orientation of the check butttons content.

CreateButtonSpecManager ( ) : void

Create a manager for handling the button specifications.

OnViewBuilderPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

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

PostCreate ( ) : void

Allow operations to occur after main construct actions.

Private Methods

Method Description
GetRemappingPaletteContent ( ) : IPaletteContent
GetRemappingPaletteState ( ) : PaletteState
OnEnabledChanged ( object sender, EventArgs e ) : void
SetHeaderStyle ( ViewDrawDocker drawDocker, PaletteTripleMetricRedirect palette, HeaderStyle style ) : void

Method Details

Construct() public method

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

ConvertButtonBorderBackOrientation() protected method

Gets the visual orientation of the check buttton.
protected ConvertButtonBorderBackOrientation ( ) : VisualOrientation
return VisualOrientation

ConvertButtonContentOrientation() protected method

Gets the visual orientation of the check butttons content.
protected ConvertButtonContentOrientation ( ) : VisualOrientation
return VisualOrientation

CreateButtonSpecManager() protected method

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

Destruct() public method

Destruct the previously created view.
public Destruct ( ) : void
return void

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

PostCreate() protected method

Allow operations to occur after main construct actions.
protected PostCreate ( ) : void
return void

UpdateStatePalettes() public method

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

Property Details

_drawPanelDocker protected_oe property

protected ViewDrawDocker,ComponentFactory.Krypton.Toolkit _drawPanelDocker
return ComponentFactory.Krypton.Toolkit.ViewDrawDocker

_viewHeadingBar protected_oe property

protected ViewDrawDocker,ComponentFactory.Krypton.Toolkit _viewHeadingBar
return ComponentFactory.Krypton.Toolkit.ViewDrawDocker