Xceed Grid for WinForms v4.3 Documentation
ButtonWidth Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCalculator Class : ButtonWidth Property
Gets or sets, in pixels, the width of the WinCalculator's buttons.
Syntax
'Declaration
 
<DescriptionAttribute("The width, in pixels, of the WinCalculator's buttons.")>
<CategoryAttribute("Appearance")>
Public Property ButtonWidth As Integer
'Usage
 
Dim instance As WinCalculator
Dim value As Integer
 
instance.ButtonWidth = value
 
value = instance.ButtonWidth
[Description("The width, in pixels, of the WinCalculator's buttons.")]
[Category("Appearance")]
public int ButtonWidth {get; set;}

Property Value

A value, in pixels, representing the width of the WinCalculator's buttons. By default, DefaultButtonWidth.
Remarks

Explicitly setting the ButtonWidth property will prevent the width of the buttons from being modified when the control is resized.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinCalculator Class
WinCalculator Members