Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinCalculator Class / DefaultButtonWidth Property


In This Topic
    DefaultButtonWidth Property
    In This Topic
    Gets the default value of the ButtonWidth property.
    Syntax
    'Declaration
     
    Protected Overridable ReadOnly Property DefaultButtonWidth As Integer
    'Usage
     
    Dim instance As WinCalculator
    Dim value As Integer
     
    value = instance.DefaultButtonWidth
    protected virtual int DefaultButtonWidth {get;}

    Property Value

    A value representing the default value of the ButtonWidth property.
    Remarks

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

    Overriding and returning a static value will result in the same behavior as explicitly setting the ButtonWidth property; preventing 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