An instance of a button which can be added to the ActiveButtons menu. Más...
Métodos públicos | |
ActiveButton () | |
Initializes a new instance of the ActiveButton class. | |
Campos de datos | |
ButtonState | buttonState = ButtonState.Inactive |
Aquesta propietat ens serveix per decidir com pintar el botó. | |
Métodos protegidos | |
void | Initialize () |
Initializes this instance. | |
override void | OnMouseEnter (EventArgs e) |
Provoca el evento MouseEnter. | |
override void | OnMouseLeave (EventArgs e) |
Provoca el evento MouseLeave. | |
override void | OnMouseDown (MouseEventArgs e) |
Provoca el evento MouseDown. | |
override void | OnMouseUp (MouseEventArgs e) |
Provoca el evento MouseUp. | |
override void | OnPaint (PaintEventArgs pevent) |
Pintamos el botón con el estilo actual de windows. | |
Propiedades | |
new string | Text [get, set] |
Gets or sets the text property of the button control. | |
new Color | BackColor [get, set] |
Gets or sets the background color of the control. | |
new int | Top [get] |
Gets the distance, in pixels, between the top edge of the control and the top edge of its container's client area. | |
new int | Left [get] |
Gets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. | |
new int | Width [get] |
Gets the width of the control. | |
new int | Height [get] |
Gets the height of the control. | |
An instance of a button which can be added to the ActiveButtons menu.
The ActiveButton class can be used to create new button instances, which can be added to the current IActiveMenu. The Height and Width properties of the button class are auto-configured based on the current platform and theme.
Definición en la lÃnea 53 del archivo ActiveButton.cs.
|
inline |
Initializes a new instance of the ActiveButton class.
Definición en la lÃnea 107 del archivo ActiveButton.cs.
|
inlineprotected |
Initializes this instance.
Definición en la lÃnea 188 del archivo ActiveButton.cs.
|
inlineprotected |
Provoca el evento MouseDown.
e | MouseEventArgs que contiene los datos del evento. |
Definición en la lÃnea 294 del archivo ActiveButton.cs.
|
inlineprotected |
Provoca el evento MouseEnter.
e | PaintEventArgs que contiene los datos del evento |
Definición en la lÃnea 272 del archivo ActiveButton.cs.
|
inlineprotected |
Provoca el evento MouseLeave.
e | PaintEventArgs que contiene los datos del evento |
Definición en la lÃnea 283 del archivo ActiveButton.cs.
|
inlineprotected |
Provoca el evento MouseUp.
e | MouseEventArgs que contiene los datos del evento. |
Definición en la lÃnea 306 del archivo ActiveButton.cs.
|
inlineprotected |
Pintamos el botón con el estilo actual de windows.
pevent | PaintEventArgs |
Definición en la lÃnea 318 del archivo ActiveButton.cs.
ButtonState sage.ew.reports.ButtonTittle.ActiveButton.buttonState = ButtonState.Inactive |
Aquesta propietat ens serveix per decidir com pintar el botó.
Definición en la lÃnea 266 del archivo ActiveButton.cs.
|
getset |
Gets or sets the background color of the control.
Definición en la lÃnea 131 del archivo ActiveButton.cs.
|
get |
Gets the height of the control.
Implementa sage.ew.reports.ButtonTittle.IActiveItem.
Definición en la lÃnea 178 del archivo ActiveButton.cs.
|
get |
Gets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
Implementa sage.ew.reports.ButtonTittle.IActiveItem.
Definición en la lÃnea 156 del archivo ActiveButton.cs.
|
getset |
Gets or sets the text property of the button control.
The text.
Definición en la lÃnea 116 del archivo ActiveButton.cs.
|
get |
Gets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
Implementa sage.ew.reports.ButtonTittle.IActiveItem.
Definición en la lÃnea 145 del archivo ActiveButton.cs.
|
get |
Gets the width of the control.
Implementa sage.ew.reports.ButtonTittle.IActiveItem.
Definición en la lÃnea 167 del archivo ActiveButton.cs.