C# Class ComponentFactory.Krypton.Navigator.ViewBuilderPanel

Implements the NavigatorMode.Skeleton view.
Inheritance: ViewBuilderBase
Show file Open project: ComponentFactory/Krypton

Public Methods

Method 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.

Destruct ( ) : void

Destruct the previously created view.

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.

ProcessMnemonic ( char charCode ) : bool

Processes a mnemonic character.

UpdateStatePalettes ( ) : void

Ensure the correct state palettes are being used.

Protected Methods

Method Description
OnViewBuilderPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

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

Private Methods

Method Description
OnEnabledChanged ( object sender, EventArgs e ) : void

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

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

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

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

PageFromView() public method

Gets the KryptonPage associated with the provided view element.
public PageFromView ( ViewBase element ) : KryptonPage
element ViewBase Element to search against.
return KryptonPage

ProcessMnemonic() public method

Processes a mnemonic character.
public ProcessMnemonic ( char charCode ) : bool
charCode char The mnemonic character entered.
return bool

UpdateStatePalettes() public method

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