Property | Type | Description | |
---|---|---|---|
OnImageStateChanged | void | ||
ResetEdge | void | ||
ShouldSerializeColorMap | bool | ||
ShouldSerializeEdge | bool | ||
ShouldSerializeExtraText | bool | ||
ShouldSerializeImage | bool | ||
ShouldSerializeImageStates | bool | ||
ShouldSerializeImageTransparentColor | bool | ||
ShouldSerializeOrientation | bool | ||
ShouldSerializeStyle | bool | ||
ShouldSerializeText | bool | ||
ShouldSerializeToolTipBody | bool | ||
ShouldSerializeToolTipImage | bool | ||
ShouldSerializeToolTipImageTransparentColor | bool | ||
ShouldSerializeToolTipStyle | bool | ||
ShouldSerializeToolTipTitle | bool |
Method | Description | |
---|---|---|
ButtonSpec ( ) : System |
Initialize a new instance of the ButtonSpec class.
|
|
Clone ( ) : object |
Make a clone of this object.
|
|
CopyFrom ( |
Value copy from the provided source to ourself.
|
|
GetChecked ( IPalette palette ) : ButtonCheckState |
Gets the button checked state.
|
|
GetColorMap ( IPalette palette ) : Color |
Gets the color to remap from the image to the container foreground.
|
|
GetEdge ( IPalette palette ) : RelativeEdgeAlign |
Gets the edge for the button.
|
|
GetEnabled ( IPalette palette ) : ButtonEnabled |
Gets the button enabled state.
|
|
GetImage ( IPalette palette, PaletteState state ) : Image |
Gets the button image.
|
|
GetImageTransparentColor ( IPalette palette ) : Color |
Gets the image transparent color.
|
|
GetLocation ( IPalette palette ) : HeaderLocation |
Gets the button location.
|
|
GetLongText ( IPalette palette ) : string |
Gets the button long text.
|
|
GetOrientation ( IPalette palette ) : ButtonOrientation |
Gets the button orienation.
|
|
GetShortText ( IPalette palette ) : string |
Gets the button short text.
|
|
GetStyle ( IPalette palette ) : ButtonStyle |
Gets the button style.
|
|
GetToolTipTitle ( IPalette palette ) : string |
Gets the button tooltip title text.
|
|
GetView ( ) : ViewBase |
Get the current view associated with the button spec.
|
|
GetViewEnabled ( ) : bool |
Gets a value indicating if the associated view is enabled.
|
|
GetVisible ( IPalette palette ) : bool |
Gets the button visible value.
|
|
PerformClick ( ) : void |
Generates a Click event for the control.
|
|
PerformClick ( |
Generates a Click event for the control.
|
|
ResetAllowInheritExtraText ( ) : void |
Resets the AllowInheritExtraText property to its default value.
|
|
ResetAllowInheritImage ( ) : void |
Resets the AllowInheritImage property to its default value.
|
|
ResetAllowInheritText ( ) : void |
Resets the AllowInheritText property to its default value.
|
|
ResetAllowInheritToolTipTitle ( ) : void |
Resets the AllowInheritToolTipTitle property to its default value.
|
|
ResetColorMap ( ) : void |
Resets the ColorMap property to its default value.
|
|
ResetExtraText ( ) : void |
Resets the ExtraText property to its default value.
|
|
ResetImage ( ) : void |
Resets the Image property to its default value.
|
|
ResetImageTransparentColor ( ) : void |
Resets the ImageTransparentColor property to its default value.
|
|
ResetOrientation ( ) : void |
Resets the Orientation property to its default value.
|
|
ResetStyle ( ) : void |
Resets the Style property to its default value.
|
|
ResetText ( ) : void |
Resets the Text property to its default value.
|
|
ResetToolTipBody ( ) : void |
Resets the ToolTipBody property to its default value.
|
|
ResetToolTipImage ( ) : void |
Resets the ToolTipImage property to its default value.
|
|
ResetToolTipImageTransparentColor ( ) : void |
Resets the ToolTipImageTransparentColor property to its default value.
|
|
ResetToolTipStyle ( ) : void |
Resets the ToolTipStyle property to its default value.
|
|
ResetToolTipTitle ( ) : void |
Resets the ToolTipTitle property to its default value.
|
|
ResetUniqueName ( ) : void |
Resets the UniqueName property to its default value.
|
|
SetView ( ViewBase view ) : void |
Sets the current view associated with the button spec.
|
|
ToString ( ) : string |
Returns a string that represents the current defaulted state.
|
Method | Description | |
---|---|---|
ConvertToButtonOrientation ( PaletteButtonOrientation paletteButtonOrientation ) : ButtonOrientation |
Convert from palette specific button orientation to resolved button orientation.
|
|
ConvertToButtonStyle ( PaletteButtonStyle paletteButtonStyle ) : ButtonStyle |
Convert from palette specific button style to resolved button style.
|
|
ConvertToRelativeEdgeAlign ( PaletteRelativeEdgeAlign paletteRelativeEdgeAlign ) : RelativeEdgeAlign |
Convert from palette specific edge alignment to resolved edge alignment.
|
|
GenerateClick ( |
Generates the Click event.
|
|
OnButtonSpecPropertyChanged ( string propertyName ) : void |
Raises the ButtonSpecPropertyChanged event.
|
|
OnClick ( |
Raises the Click event.
|
|
OnCommandPropertyChanged ( object sender, |
Handles a change in the property of an attached command.
|
Method | Description | |
---|---|---|
OnImageStateChanged ( object sender, |
||
ResetEdge ( ) : void | ||
ShouldSerializeColorMap ( ) : bool | ||
ShouldSerializeEdge ( ) : bool | ||
ShouldSerializeExtraText ( ) : bool | ||
ShouldSerializeImage ( ) : bool | ||
ShouldSerializeImageStates ( ) : bool | ||
ShouldSerializeImageTransparentColor ( ) : bool | ||
ShouldSerializeOrientation ( ) : bool | ||
ShouldSerializeStyle ( ) : bool | ||
ShouldSerializeText ( ) : bool | ||
ShouldSerializeToolTipBody ( ) : bool | ||
ShouldSerializeToolTipImage ( ) : bool | ||
ShouldSerializeToolTipImageTransparentColor ( ) : bool | ||
ShouldSerializeToolTipStyle ( ) : bool | ||
ShouldSerializeToolTipTitle ( ) : bool |
protected ConvertToButtonOrientation ( PaletteButtonOrientation paletteButtonOrientation ) : ButtonOrientation | ||
paletteButtonOrientation | PaletteButtonOrientation | Palette specific button orientation. |
return | ButtonOrientation |
protected ConvertToButtonStyle ( PaletteButtonStyle paletteButtonStyle ) : ButtonStyle | ||
paletteButtonStyle | PaletteButtonStyle | Palette specific button style. |
return | ButtonStyle |
protected ConvertToRelativeEdgeAlign ( PaletteRelativeEdgeAlign paletteRelativeEdgeAlign ) : RelativeEdgeAlign | ||
paletteRelativeEdgeAlign | PaletteRelativeEdgeAlign | Palette specific edge alignment. |
return | RelativeEdgeAlign |
public CopyFrom ( |
||
source | Source instance. | |
return | void |
protected GenerateClick ( |
||
e | An EventArgs containing the event data. | |
return | void |
public abstract GetChecked ( IPalette palette ) : ButtonCheckState | ||
palette | IPalette | Palette to use for inheriting values. |
return | ButtonCheckState |
public GetColorMap ( IPalette palette ) : Color | ||
palette | IPalette | Palette to use for inheriting values. |
return | Color |
public GetEdge ( IPalette palette ) : RelativeEdgeAlign | ||
palette | IPalette | Palette to use for inheriting values. |
return | RelativeEdgeAlign |
public abstract GetEnabled ( IPalette palette ) : ButtonEnabled | ||
palette | IPalette | Palette to use for inheriting values. |
return | ButtonEnabled |
public GetImage ( IPalette palette, PaletteState state ) : Image | ||
palette | IPalette | Palette to use for inheriting values. |
state | PaletteState | State for which an image is needed. |
return | Image |
public GetImageTransparentColor ( IPalette palette ) : Color | ||
palette | IPalette | Palette to use for inheriting values. |
return | Color |
public GetLocation ( IPalette palette ) : HeaderLocation | ||
palette | IPalette | Palette to use for inheriting values. |
return | HeaderLocation |
public GetLongText ( IPalette palette ) : string | ||
palette | IPalette | Palette to use for inheriting values. |
return | string |
public GetOrientation ( IPalette palette ) : ButtonOrientation | ||
palette | IPalette | Palette to use for inheriting values. |
return | ButtonOrientation |
public GetShortText ( IPalette palette ) : string | ||
palette | IPalette | Palette to use for inheriting values. |
return | string |
public GetStyle ( IPalette palette ) : ButtonStyle | ||
palette | IPalette | Palette to use for inheriting values. |
return | ButtonStyle |
public GetToolTipTitle ( IPalette palette ) : string | ||
palette | IPalette | Palette to use for inheriting values. |
return | string |
public abstract GetVisible ( IPalette palette ) : bool | ||
palette | IPalette | Palette to use for inheriting values. |
return | bool |
protected OnButtonSpecPropertyChanged ( string propertyName ) : void | ||
propertyName | string | Name of the appearance property that has changed. |
return | void |
protected OnClick ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnCommandPropertyChanged ( object sender, |
||
sender | object | Source of the event. |
e | A PropertyChangedEventArgs that contains the event data. | |
return | void |
public PerformClick ( |
||
e | An EventArgs containing the event data. | |
return | void |
public ResetAllowInheritToolTipTitle ( ) : void | ||
return | void |
public ResetToolTipImageTransparentColor ( ) : void | ||
return | void |
public SetView ( ViewBase view ) : void | ||
view | ViewBase | View element reference. |
return | void |