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

XtraBaseArgs(UserLookAndFeel, IWin32Window, String, DialogResult[], Int32, DefaultBoolean, MessageBeepSound) Constructor

In This Article

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public XtraBaseArgs(
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    string caption,
    DialogResult[] buttons,
    int defaultButtonIndex,
    DefaultBoolean allowHtmlText,
    MessageBeepSound beep
)

#Parameters

Name Type Description
lookAndFeel UserLookAndFeel

A UserLookAndFeel object that should be applied to the owner.

owner IWin32Window

The window that owns this XtraBaseArgs object.

caption String

The owner caption.

buttons DialogResult[]

Buttons displayed by the owner.

defaultButtonIndex Int32

The index of the default owner button. The default button is focused when the owner shows on-screen. Additionally, if the AutoClose settings are specified, this button will be considered as clicked when the timer expires.

allowHtmlText DefaultBoolean

Specifies whether the owner supports HTML-inspired Text Formatting.

beep DevExpress.XtraEditors.MessageBeepSound

The system sound played when the owner is shown on-screen.

See Also