WindowsUIButton(String, String, ButtonStyle, Int32) Constructor

Initializes a new instance of the WindowsUIButton class with the specified settings.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public WindowsUIButton(
    string caption,
    string imageUri,
    ButtonStyle style,
    int groupIndex
)
<EditorBrowsable(EditorBrowsableState.Never)>
Public Sub New(
    caption As String,
    imageUri As String,
    style As ButtonStyle,
    groupIndex As Integer
)

Parameters

Name Type Description
caption String

A String value that is the button text.

imageUri String

A String value that is the Unified Resource Identifier (URI) for the image contained within the Image Gallery and Context-Dependent Images that should be used as the button glyph.

style ButtonStyle

A Style enumerator value that specifies whether this button should be a regular push button or check button that supports regular and pressed states.

groupIndex Int32

An Int32 value that specifies to which group this button belongs.

See Also