Свойство | Type | Description | |
---|---|---|---|
ShouldSerializeBack | bool | ||
ShouldSerializeBorder | bool | ||
ShouldSerializeContent | bool |
Méthode | 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.
|
|
PaletteInputControlTripleRedirect ( |
Initialize a new instance of the PaletteInputControlTripleRedirect class.
|
|
PopulateFromBase ( PaletteState state ) : void |
Populate values from the base palette.
|
|
SetRedirector ( |
Update the redirector with new reference.
|
|
SetStyles ( InputControlStyle style ) : void |
Update each individual style based on the input control style.
|
|
SetStyles ( PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : void |
Update each individual style.
|
Méthode | Description | |
---|---|---|
OnNeedPaint ( object sender, bool needLayout ) : void |
Handle a change event from palette source.
|
Méthode | Description | |
---|---|---|
ShouldSerializeBack ( ) : bool | ||
ShouldSerializeBorder ( ) : bool | ||
ShouldSerializeContent ( ) : bool |
public GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool | ||
state | PaletteState | Palette value should be applicable to this state. |
metric | PaletteMetricBool | Requested metric. |
Résultat | InheritBool |
public GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int | ||
state | PaletteState | Palette value should be applicable to this state. |
metric | PaletteMetricInt | Requested metric. |
Résultat | int |
public GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding | ||
state | PaletteState | Palette value should be applicable to this state. |
metric | PaletteMetricPadding | Requested metric. |
Résultat | Padding |
protected OnNeedPaint ( object sender, bool needLayout ) : void | ||
sender | object | Source of the event. |
needLayout | bool | True if a layout is also needed. |
Résultat | void |
public PaletteInputControlTripleRedirect ( |
||
redirect | Inheritence redirection instance. | |
backStyle | PaletteBackStyle | Initial background style. |
borderStyle | PaletteBorderStyle | Initial border style. |
contentStyle | PaletteContentStyle | Initial content style. |
needPaint | NeedPaintHandler | Delegate for notifying paint requests. |
Résultat | System |
public PopulateFromBase ( PaletteState state ) : void | ||
state | PaletteState | Palette state to use when populating. |
Résultat | void |
public SetRedirector ( |
||
redirect | Target redirector. | |
Résultat | void |
public SetStyles ( InputControlStyle style ) : void | ||
style | InputControlStyle | New input control style. |
Résultat | void |
public SetStyles ( PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : void | ||
backStyle | PaletteBackStyle | New background style. |
borderStyle | PaletteBorderStyle | New border style. |
contentStyle | PaletteContentStyle | New content style. |
Résultat | void |