Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public WindowsUIButton(
    string caption,
    string imageUri,
    ImageLocation imageLocation,
    ButtonStyle style,
    string toolTip,
    bool useCaption,
    int visibleIndex,
    int groupIndex
)

#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.

imageLocation DevExpress.XtraBars.Docking2010.ImageLocation

An ImageLocation enumerator value that specifies the button glyph’s alignment relative to this button’s text.

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.

toolTip String

A String value that is the button hint.

useCaption Boolean

true if this button should use its caption; otherwise, false.

visibleIndex Int32

An Int32 value that specifies the order for this button within its parent container.

groupIndex Int32

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

See Also