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


In This Topic
    DefaultButtonType Property
    In This Topic
    Gets the default value of the ButtonType property.
    Syntax
    'Declaration
     
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    <BrowsableAttribute(False)>
    Protected Overridable ReadOnly Property DefaultButtonType As ButtonType
    'Usage
     
    Dim instance As WinButton
    Dim value As ButtonType
     
    value = instance.DefaultButtonType
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    [Browsable(false)]
    protected virtual ButtonType DefaultButtonType {get;}

    Property Value

    A ButtonType representing the default value of the ButtonType property. Unless overridden, ButtonBackgroundImageType.ButtonBackgroundImageType.Standard and ButtonImageType.ButtonImageType.User.
    Remarks

    When overriding DefaultButtonType in a derived class, the value returned by your implementation should not be dynamic.

    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