Spread Windows Forms 12.0 Product Documentation
ButtonWidth Property (ElementWithButtons)
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWithButtons Class : ButtonWidth Property
Gets or sets the width in pixels of the header buttons.
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;}

Property Value

Double-precision, floating-point number of the width in pixels
Remarks

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.

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

Reference

ElementWithButtons Class
ElementWithButtons Members
ButtonStyle Property