Method | Description | |
---|---|---|
EvalTransparentPaint ( |
Evaluate the need for drawing transparent areas.
|
|
GetPreferredSize ( |
Discover the preferred size of the element.
|
|
Layout ( |
Perform a layout of the elements.
|
|
Render ( |
Perform a render of the elements.
|
|
SetCheckedPalettes ( IPaletteTriple paletteCheckedNormal, IPaletteTriple paletteCheckedTracking, IPaletteTriple paletteCheckedPressed ) : void |
Update the source palettes for checked state drawing.
|
|
SetOrientation ( VisualOrientation borderBackOrient, VisualOrientation contentOrient ) : void |
Set the orientation of the two button components.
|
|
SetPalettes ( IPaletteTriple paletteDisabled, IPaletteTriple paletteNormal, IPaletteTriple paletteTracking, IPaletteTriple palettePressed ) : void |
Update the source palettes for non-checked drawing.
|
|
ToString ( ) : string |
Obtains the String representation of this instance.
|
|
ViewDrawButton ( IPaletteTriple paletteDisabled, IPaletteTriple paletteNormal, IPaletteTriple paletteTracking, IPaletteTriple palettePressed, IPaletteMetric paletteMetric, IContentValues buttonValues, VisualOrientation orientation, bool useMnemonic ) : System |
Initialize a new instance of the ViewDrawButton class.
|
|
ViewDrawButton ( IPaletteTriple paletteDisabled, IPaletteTriple paletteNormal, IPaletteTriple paletteTracking, IPaletteTriple palettePressed, IPaletteTriple paletteCheckedNormal, IPaletteTriple paletteCheckedTracking, IPaletteTriple paletteCheckedPressed, IPaletteMetric paletteMetric, IContentValues buttonValues, VisualOrientation orientation, bool useMnemonic ) : System |
Initialize a new instance of the ViewDrawButton class.
|
Method | Description | |
---|---|---|
CheckPaletteState ( |
Check that the palette and state are correct.
|
Method | Description | |
---|---|---|
UpdateDropDown ( ) : void |
protected CheckPaletteState ( |
||
context | Reference to the view context. | |
return | void |
public EvalTransparentPaint ( |
||
context | Evaluation context. | |
return | bool |
public GetPreferredSize ( |
||
context | Layout context. | |
return |
public Layout ( |
||
context | Layout context. | |
return | void |
public Render ( |
||
context | Rendering context. | |
return | void |
public SetCheckedPalettes ( IPaletteTriple paletteCheckedNormal, IPaletteTriple paletteCheckedTracking, IPaletteTriple paletteCheckedPressed ) : void | ||
paletteCheckedNormal | IPaletteTriple | Palette source for the normal checked state. |
paletteCheckedTracking | IPaletteTriple | Palette source for the tracking checked state. |
paletteCheckedPressed | IPaletteTriple | Palette source for the pressed checked state. |
return | void |
public SetOrientation ( VisualOrientation borderBackOrient, VisualOrientation contentOrient ) : void | ||
borderBackOrient | VisualOrientation | Orientation of the button border and background.. |
contentOrient | VisualOrientation | Orientation of the button contents. |
return | void |
public SetPalettes ( IPaletteTriple paletteDisabled, IPaletteTriple paletteNormal, IPaletteTriple paletteTracking, IPaletteTriple palettePressed ) : void | ||
paletteDisabled | IPaletteTriple | Palette source for the disabled state. |
paletteNormal | IPaletteTriple | Palette source for the normal state. |
paletteTracking | IPaletteTriple | Palette source for the tracking state. |
palettePressed | IPaletteTriple | Palette source for the pressed state. |
return | void |
public ViewDrawButton ( IPaletteTriple paletteDisabled, IPaletteTriple paletteNormal, IPaletteTriple paletteTracking, IPaletteTriple palettePressed, IPaletteMetric paletteMetric, IContentValues buttonValues, VisualOrientation orientation, bool useMnemonic ) : System | ||
paletteDisabled | IPaletteTriple | Palette source for the disabled state. |
paletteNormal | IPaletteTriple | Palette source for the normal state. |
paletteTracking | IPaletteTriple | Palette source for the tracking state. |
palettePressed | IPaletteTriple | Palette source for the pressed state. |
paletteMetric | IPaletteMetric | Palette source for metric values. |
buttonValues | IContentValues | Source for content values. |
orientation | VisualOrientation | Visual orientation of the content. |
useMnemonic | bool | Use mnemonics. |
return | System |
public ViewDrawButton ( IPaletteTriple paletteDisabled, IPaletteTriple paletteNormal, IPaletteTriple paletteTracking, IPaletteTriple palettePressed, IPaletteTriple paletteCheckedNormal, IPaletteTriple paletteCheckedTracking, IPaletteTriple paletteCheckedPressed, IPaletteMetric paletteMetric, IContentValues buttonValues, VisualOrientation orientation, bool useMnemonic ) : System | ||
paletteDisabled | IPaletteTriple | Palette source for the disabled state. |
paletteNormal | IPaletteTriple | Palette source for the normal state. |
paletteTracking | IPaletteTriple | Palette source for the tracking state. |
palettePressed | IPaletteTriple | Palette source for the pressed state. |
paletteCheckedNormal | IPaletteTriple | Palette source for the normal checked state. |
paletteCheckedTracking | IPaletteTriple | Palette source for the tracking checked state. |
paletteCheckedPressed | IPaletteTriple | Palette source for the pressed checked state. |
paletteMetric | IPaletteMetric | Palette source for metric values. |
buttonValues | IContentValues | Source for content values. |
orientation | VisualOrientation | Visual orientation of the content. |
useMnemonic | bool | Use mnemonics. |
return | System |