Property | Type | Description | |
---|---|---|---|
ShouldSerializeBack | bool | ||
ShouldSerializeBorder | bool | ||
ShouldSerializeContent | bool |
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.
|
|
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.
|
Method | Description | |
---|---|---|
OnNeedPaint ( object sender, bool needLayout ) : void |
Handle a change event from palette source.
|
Method | 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. |
return | InheritBool |
public GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int | ||
state | PaletteState | Palette value should be applicable to this state. |
metric | PaletteMetricInt | Requested metric. |
return | int |
public GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding | ||
state | PaletteState | Palette value should be applicable to this state. |
metric | PaletteMetricPadding | Requested metric. |
return | Padding |
protected OnNeedPaint ( object sender, bool needLayout ) : void | ||
sender | object | Source of the event. |
needLayout | bool | True if a layout is also needed. |
return | 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. |
return | System |
public PopulateFromBase ( PaletteState state ) : void | ||
state | PaletteState | Palette state to use when populating. |
return | void |
public SetRedirector ( |
||
redirect | Target redirector. | |
return | void |
public SetStyles ( InputControlStyle style ) : void | ||
style | InputControlStyle | New input control style. |
return | 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. |
return | void |