Class XPUserEntryButton
Inheritance
System.Object
XPUserEntryButton
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class XPUserEntryButton
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
Type |
---|
System.Boolean |
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
Type |
---|
System.Int32 |
Name
Gets or sets button's name.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
PredefinedType
Gets or sets type of the button.
Declaration
public XPUserEntryButtonType PredefinedType { get; set; }
Property Value
Type |
---|
XPUserEntryButtonType |
State
Gets or sets button' state.
Declaration
protected XPUserEntryButtonState State { get; set; }
Property Value
Type |
---|
XPUserEntryButtonState |
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
Type |
---|
System.Boolean |
Methods
Draw(Graphics)
Declaration
public void Draw(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g |