FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWithButtons Class : ButtonStyle Property |
'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;}
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
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8