C# Class ComponentFactory.Krypton.Navigator.PaletteBarRedirect

Implement redirected storage for button bar appearance.
Inheritance: ComponentFactory.Krypton.Toolkit.PaletteMetricRedirect
Exibir arquivo Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool

Gets a boolean metric value.

GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int

Gets an integer metric value.

GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding

Gets a padding metric value.

PaletteBarRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteBarRedirect class.

ResetBarPaddingInside ( ) : void

Reset the BarPaddingInside to the default value.

ResetBarPaddingOnly ( ) : void

Reset the BarPaddingOnly to the default value.

ResetBarPaddingOutside ( ) : void

Reset the BarPaddingOutside to the default value.

ResetBarPaddingTabs ( ) : void

Reset the BarPaddingTabs to the default value.

ResetButtonEdgeInside ( ) : void

Reset the ButtonEdgeInside to the default value.

ResetButtonEdgeOutside ( ) : void

Reset the ButtonEdgeOutside to the default value.

ResetButtonPadding ( ) : void

Reset the ButtonPadding to the default value.

ResetCheckButtonGap ( ) : void

Reset the CheckButtonGap to the default value.

ResetRibbonTabGap ( ) : void

Reset the RibbonTabGap to the default value.

Method Details

GetMetricBool() public method

Gets a boolean metric value.
public GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricBool Requested metric.
return InheritBool

GetMetricInt() public method

Gets an integer metric value.
public GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricInt Requested metric.
return int

GetMetricPadding() public method

Gets a padding metric value.
public GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricPadding Requested metric.
return Padding

PaletteBarRedirect() public method

Initialize a new instance of the PaletteBarRedirect class.
public PaletteBarRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect ComponentFactory.Krypton.Toolkit.PaletteRedirect Inheritence redirection instance.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

ResetBarPaddingInside() public method

Reset the BarPaddingInside to the default value.
public ResetBarPaddingInside ( ) : void
return void

ResetBarPaddingOnly() public method

Reset the BarPaddingOnly to the default value.
public ResetBarPaddingOnly ( ) : void
return void

ResetBarPaddingOutside() public method

Reset the BarPaddingOutside to the default value.
public ResetBarPaddingOutside ( ) : void
return void

ResetBarPaddingTabs() public method

Reset the BarPaddingTabs to the default value.
public ResetBarPaddingTabs ( ) : void
return void

ResetButtonEdgeInside() public method

Reset the ButtonEdgeInside to the default value.
public ResetButtonEdgeInside ( ) : void
return void

ResetButtonEdgeOutside() public method

Reset the ButtonEdgeOutside to the default value.
public ResetButtonEdgeOutside ( ) : void
return void

ResetButtonPadding() public method

Reset the ButtonPadding to the default value.
public ResetButtonPadding ( ) : void
return void

ResetCheckButtonGap() public method

Reset the CheckButtonGap to the default value.
public ResetCheckButtonGap ( ) : void
return void

ResetRibbonTabGap() public method

Reset the RibbonTabGap to the default value.
public ResetRibbonTabGap ( ) : void
return void