FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWithButtons Class : ButtonWidth Property |
'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;}
Specify the type of buttons to display by setting the ButtonStyle property.
This property does not have an effect if the ButtonStyle property is set to ElementWithButtonsStyle.None.
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