[]
Represents the FarPoint button control.
public class FpButton : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IButtonControl, ISerializeSupport, ISerializable
Public Class FpButton
Inherits Control
Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IButtonControl, ISerializeSupport, ISerializable
| Name | Description |
|---|---|
| FpButton() | Creates a new FarPoint button control. |
| FpButton(SerializationInfo, StreamingContext) | Initializes a new instance of the FpButton class. |
| Name | Description |
|---|---|
| theme | Internal use only. Theme for visual style. |
| Name | Description |
|---|---|
| BackColor2 | Gets or sets the secondary color used when drawing a gradient button. |
| BackgroundStyle | Gets or sets how the background is rendered. |
| DarkColor | Gets or sets the color to draw the three-dimensional outside border of the button. |
| DialogResult | Gets or sets the value returned to the parent when the button is clicked. |
| GradientMode | Gets or sets the drawing style of a gradient button. |
| HorizontalAlignment | Gets or sets the horizontal alignment of text in the button. |
| HotkeyPrefix | Gets or sets whether the ampersand character underlines text. |
| LightColor | Gets or sets the color to draw the three-dimensional inside border of the button. |
| Picture | Gets or sets the image displayed in the button. |
| PictureDown | Gets or sets the image displayed in the button when the button is pressed. |
| ShadowSize | Gets or sets the size of shadow around the button. |
| TextAlign | Gets or sets how text is aligned relative to the picture in the button. |
| TextDown | Gets or sets the text to display when the button is pressed. |
| TextIndent | Gets or sets the text indent. |
| TextOrientation | Gets or sets how text orients itself when painting the button. |
| TextRotationAngle | Gets or sets the text rotation angle. |
| TwoState | Gets or sets whether the button is a two-state button. |
| UseVisualStyleBackColor | Gets or sets whether the backcolor is drawn via VisualStyles. |
| Value | Gets or sets the value of the button. |
| VerticalAlignment | Gets or sets the vertical alignment of text in the button. |
| VisualStyles | Gets or sets whether to use visual styles. |
| WordWrap | Gets or sets whether the text that does not fit on one line wraps to multiple lines within the button. |
| Name | Description |
|---|---|
| AfterFocus | Occurs after the control receives focuse. |
| ButtonClicked | Occurs when the button control is clicked. |