Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / ButtonType Class / ButtonType Constructor
The background image that will be applied to the WinButton.
The image that will be applied to the WinButton


In This Topic
    ButtonType Constructor
    In This Topic
    Initializes a new instance of the ButtonType class specifying the background (ButtonBackgroundImageType) and foreground (ButtonImageType) images.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal backgroundImageType As ButtonBackgroundImageType, _
       ByVal buttonImageType As ButtonImageType _
    )
    'Usage
     
    Dim backgroundImageType As ButtonBackgroundImageType
    Dim buttonImageType As ButtonImageType
     
    Dim instance As New ButtonType(backgroundImageType, buttonImageType)

    Parameters

    backgroundImageType
    The background image that will be applied to the WinButton.
    buttonImageType
    The image that will be applied to the WinButton
    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