Class XPUserEntryButton
Inheritance
System.Object
XPUserEntryButton
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class XPUserEntryButton : Object
Constructors
XPUserEntryButton()
Declaration
public XPUserEntryButton()
XPUserEntryButton(String)
Declaration
public XPUserEntryButton(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
XPUserEntryButton(String, Image, XPUserEntryButtonType, Int32, Boolean, Boolean)
Declaration
public XPUserEntryButton(string name, Image image, XPUserEntryButtonType type, int index, bool enabled, bool visible)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Drawing.Image |
image |
|
| XPUserEntryButtonType |
type |
|
| System.Int32 |
index |
|
| System.Boolean |
enabled |
|
| System.Boolean |
visible |
|
XPUserEntryButton(String, Int32)
Declaration
public XPUserEntryButton(string name, int index)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Int32 |
index |
|
Properties
Bounds
Gets or set button bounds.
Declaration
protected Rectangle Bounds { get; set; }
Property Value
| Type |
| System.Drawing.Rectangle |
Enable
Gets or sets if button is enabled.
Declaration
public bool Enable { get; set; }
Property Value
Image
Gets or sets image of the button.
Declaration
public Image Image { get; set; }
Property Value
| Type |
| System.Drawing.Image |
Index
Gets or sets index of the button.
Declaration
public int Index { get; set; }
Property Value
Name
Gets or sets button's name.
Declaration
public string Name { get; set; }
Property Value
PredefinedType
Gets or sets type of the button.
Declaration
public XPUserEntryButtonType PredefinedType { get; set; }
Property Value
State
Gets or sets button' state.
Declaration
protected XPUserEntryButtonState State { get; set; }
Property Value
TransparentImageColor
Gets or sets transparent image color.
Declaration
public Color TransparentImageColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Visible
Gets or sets if button is Visible.
Declaration
public bool Visible { get; set; }
Property Value
Methods
Draw(Graphics)
Declaration
public void Draw(Graphics g)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|