Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWithButtons Class / ButtonStyle Property
Example


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