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, Image, Int32, 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,
    Image image,
    int imageIndex,
    ImageLocation imageLocation,
    ButtonStyle style,
    string toolTip,
    bool useCaption,
    int visibleIndex,
    int groupIndex
)

#Parameters

Name Type Description
caption String

A String value that is the newly created WindowsUIButton‘s caption.

image Image

An Image that is the newly created WindowsUIButton‘s icon.

imageIndex Int32

An Int32 value that specifies an image within the IButtonProperties.Images collection as the newly created WindowsUIButton‘s icon.

imageLocation DevExpress.XtraBars.Docking2010.ImageLocation

An ImageLocation enumerator value that specifies the position of the newly created WindowsUIButton‘s icon relative to this button’s text.

style ButtonStyle

A ButtonStyle enumerator value specifying whether the newly created WindowsUIButton is a regular (push) or check button.

toolTip String

A String value that is the WindowsUIButton‘s tool-tip.

useCaption Boolean

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

visibleIndex Int32

An Int32 value specifying the newly created WindowsUIButton order relative to other WindowsUIButtons.

groupIndex Int32

An Int32 value that specifies a radio button group to which the newly created WindowsUIButton belongs (for check-buttons only).

See Also