Skip to main content

WindowsUIButton(String, Boolean, WindowsUIButtonImageOptions, ButtonStyle, Int32) Constructor

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

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public WindowsUIButton(
    string caption,
    bool useCaption,
    WindowsUIButtonImageOptions imageOptions,
    ButtonStyle style,
    int groupIndex
)

Parameters

Name Type Description
caption String

A String value that is the button text.

useCaption Boolean

true if the button should display its caption; otherwise, false.

imageOptions DevExpress.XtraBars.Docking2010.WindowsUIButtonImageOptions

A WindowsUIButtonImageOptions object that specifies image options.

style ButtonStyle

A ButtonStyle 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