Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWithButtons Class / ButtonWidth Property
Example


In This Topic
    ButtonWidth Property (ElementWithButtons)
    In This Topic
    Gets or sets the button width.
    Syntax
    'Declaration
     
    
    Public Overridable Property ButtonWidth As Double
    'Usage
     
    
    Dim instance As ElementWithButtons
    Dim value As Double
     
    instance.ButtonWidth = value
     
    value = instance.ButtonWidth
    public virtual double ButtonWidth {get; set;}
    Example
    element.ButtonStyle = FarPoint.Win.ElementWithButtonsStyle.DropDown;
    element.ButtonWidth = 5;
    element.ButtonStyle = FarPoint.Win.ElementWithButtonsStyle.DropDown
    element.ButtonWidth = 5
    See Also