Spread Windows Forms 13.0 Product Documentation
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWithButtons Class / ButtonStyle Property

In This Topic
    ButtonStyle Property (ElementWithButtons)
    In This Topic
    Gets or sets the style for the buttons.
    Public Overridable Property ButtonStyle As ElementWithButtonsStyle
    Dim instance As ElementWithButtons
    Dim value As ElementWithButtonsStyle
    instance.ButtonStyle = value
    value = instance.ButtonStyle
    public virtual ElementWithButtonsStyle ButtonStyle {get; set;}

    Property Value

    ElementWithButtonsStyle setting that determines the style of the element with buttons

    Buttons can be either scroll buttons, drop-down buttons, or pop-up buttons.

    Specify the width of the buttons by setting the ButtonWidth property.

    element.ButtonStyle = FarPoint.Win.ElementWithButtonsStyle.DropDown;
    element.ButtonWidth = 5;
    element.ButtonStyle = FarPoint.Win.ElementWithButtonsStyle.DropDown
    element.ButtonWidth = 5
    See Also