Method | Description | |
---|---|---|
ForceLeave ( ) : void |
Force the mouse to leave the button.
|
|
GetImage ( PaletteState state ) : Image |
Gets the content image.
|
|
GetImageTransparentColor ( PaletteState state ) : Color |
Gets the image color that should be transparent.
|
|
GetLongText ( ) : string |
Gets the content long text.
|
|
GetPreferredSize ( |
Discover the preferred size of the element.
|
|
GetShortText ( ) : string |
Gets the content short text.
|
|
Layout ( |
Perform a layout of the elements.
|
|
RenderBefore ( |
Perform rendering before child elements are rendered.
|
|
ToString ( ) : string |
Obtains the String representation of this instance.
|
|
ViewDrawRibbonGalleryButton ( IPalette palette, PaletteRelativeAlign alignment, PaletteRibbonGalleryButton button, |
Initialize a new instance of the ViewDrawRibbonGalleryButton class.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
CreateBorderPath ( |
||
OnButtonClick ( object sender, MouseEventArgs e ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public GetImage ( PaletteState state ) : Image | ||
state | PaletteState | The state for which the image is needed. |
return | Image |
public GetImageTransparentColor ( PaletteState state ) : Color | ||
state | PaletteState | The state for which the image is needed. |
return | Color |
public GetPreferredSize ( |
||
context | Layout context. | |
return |
public Layout ( |
||
context | Layout context. | |
return | void |
public RenderBefore ( |
||
context | Rendering context. | |
return | void |
public ViewDrawRibbonGalleryButton ( IPalette palette, PaletteRelativeAlign alignment, PaletteRibbonGalleryButton button, |
||
palette | IPalette | Reference to inherited palette. |
alignment | PaletteRelativeAlign | Button alignment within gallery. |
button | PaletteRibbonGalleryButton | Button content to display. |
images | Button images. | |
needPaint | NeedPaintHandler | Paint event delegate. |
return | System |