WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class XPUserEntryButton

    Show / Hide Table of Contents

    Class XPUserEntryButton

    Inheritance
    System.Object
    XPUserEntryButton
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Drawing.Rectangle

    Enable

    Gets or sets if button is enabled.

    Declaration
    public bool Enable { get; set; }
    Property Value
    Type Description
    System.Boolean

    Image

    Gets or sets image of the button.

    Declaration
    public Image Image { get; set; }
    Property Value
    Type Description
    System.Drawing.Image

    Index

    Gets or sets index of the button.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    Name

    Gets or sets button's name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    PredefinedType

    Gets or sets type of the button.

    Declaration
    public XPUserEntryButtonType PredefinedType { get; set; }
    Property Value
    Type Description
    XPUserEntryButtonType

    State

    Gets or sets button' state.

    Declaration
    protected XPUserEntryButtonState State { get; set; }
    Property Value
    Type Description
    XPUserEntryButtonState

    TransparentImageColor

    Gets or sets transparent image color.

    Declaration
    public Color TransparentImageColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Visible

    Gets or sets if button is Visible.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Draw(Graphics)

    Declaration
    public void Draw(Graphics g)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved