메소드 | 설명 | |
---|---|---|
ButtonSpecView ( |
Initialize a new instance of the ButtonSpecView class.
|
|
CreateController ( |
Create a button controller for the view.
|
|
Destruct ( ) : void |
Destruct the previously created views.
|
|
GetImage ( PaletteState state ) : Image |
Gets the content image.
|
|
GetImageTransparentColor ( PaletteState state ) : Color |
Gets the content image transparent color.
|
|
GetLongText ( ) : string |
Gets the content long text.
|
|
GetShortText ( ) : string |
Gets the content short text.
|
|
PerformNeedPaint ( bool needLayout ) : void |
Requests a repaint and optional layout be performed.
|
|
UpdateButtonStyle ( ) : void |
Update the button style to reflect new button style setting.
|
|
UpdateChecked ( ) : bool |
Update view button to reflect new button checked setting.
|
|
UpdateEnabled ( ) : bool |
Update view button to reflect new button enabled setting.
|
|
UpdateVisible ( ) : bool |
Update view button to reflect new button visible setting.
|
메소드 | 설명 | |
---|---|---|
OnFinishDelegate ( object sender, |
Processes the finish of the button being pressed.
|
메소드 | 설명 | |
---|---|---|
OnClick ( object sender, MouseEventArgs e ) : void | ||
OnKryptonContextMenuClosed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void | ||
OnNeedPaint ( object sender, |
||
OnPropertyChanged ( object sender, |
public ButtonSpecView ( |
||
redirector | Palette redirector. | |
paletteMetric | IPaletteMetric | Source for metric values. |
metricPadding | PaletteMetricPadding | Padding metric for border padding. |
manager | ButtonSpecManagerBase | Reference to owning manager. |
buttonSpec | Access | |
리턴 | System |
public CreateController ( |
||
viewButton | View to be controlled. | |
needPaint | NeedPaintHandler | Paint delegate. |
clickHandler | MouseEventHandler | Reference to click handler. |
리턴 |
public GetImage ( PaletteState state ) : Image | ||
state | PaletteState | The state for which the image is needed. |
리턴 | Image |
public GetImageTransparentColor ( PaletteState state ) : Color | ||
state | PaletteState | The state for which the image color is needed. |
리턴 | Color |
protected OnFinishDelegate ( object sender, |
||
sender | object | Source of the event. |
e | An EventArgs that contains the event data. | |
리턴 | void |
public PerformNeedPaint ( bool needLayout ) : void | ||
needLayout | bool | Does the palette change require a layout. |
리턴 | void |