Метод | Описание | |
---|---|---|
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.
|
|
PaletteRedirectMetric ( IPalette target ) : System |
Initialize a new instance of the PaletteRedirectMetric class.
|
|
PaletteRedirectMetric ( IPalette target, IPaletteMetric disableMetric, IPaletteMetric normalMetric ) : System |
Initialize a new instance of the PaletteRedirectMetric class.
|
|
ResetRedirectStates ( ) : void |
Reset the redirection states to null.
|
|
SetRedirectStates ( IPaletteMetric disableMetric, IPaletteMetric normalMetric ) : void |
Set the redirection states.
|
Метод | Описание | |
---|---|---|
GetInherit ( PaletteState state ) : IPaletteMetric |
public GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool | ||
state | PaletteState | Palette value should be applicable to this state. |
metric | PaletteMetricBool | Requested metric. |
Результат | InheritBool |
public GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int | ||
state | PaletteState | Palette value should be applicable to this state. |
metric | PaletteMetricInt | Requested metric. |
Результат | int |
public GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding | ||
state | PaletteState | Palette value should be applicable to this state. |
metric | PaletteMetricPadding | Requested metric. |
Результат | Padding |
public PaletteRedirectMetric ( IPalette target ) : System | ||
target | IPalette | Initial palette target for redirection. |
Результат | System |
public PaletteRedirectMetric ( IPalette target, IPaletteMetric disableMetric, IPaletteMetric normalMetric ) : System | ||
target | IPalette | Initial palette target for redirection. |
disableMetric | IPaletteMetric | Redirection for disabled metric requests. |
normalMetric | IPaletteMetric | Redirection for normal metric requests. |
Результат | System |
public SetRedirectStates ( IPaletteMetric disableMetric, IPaletteMetric normalMetric ) : void | ||
disableMetric | IPaletteMetric | Redirection for disabled metric requests. |
normalMetric | IPaletteMetric | Redirection for normal metric requests. |
Результат | void |