Skip to main content

BootstrapEditorCaptionSettings.RequiredMarkDisplayMode Property

Gets or sets the required mark display mode.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(EditorRequiredMarkMode.Auto)]
public EditorRequiredMarkMode RequiredMarkDisplayMode { get; set; }

Property Value

Type Default Description
EditorRequiredMarkMode Auto

One of the EditorRequiredMarkMode enumeration values.

Available values:

Name Description
Auto

If the editor RequiredFieldValidationPattern.IsRequired property is set to true, the “required” mark is displayed after a caption.

Required

The “required” mark is displayed after a caption.

Optional

The “optional” mark is displayed after a caption.

Hidden

A required mark is hidden.

Property Paths

You can access this nested property as listed below:

Show 14 property paths
Object Type Path to RequiredMarkDisplayMode
BootstrapButtonEdit
.CaptionSettings .RequiredMarkDisplayMode
BootstrapCalendar
.CaptionSettings .RequiredMarkDisplayMode
BootstrapCheckBoxList
.CaptionSettings .RequiredMarkDisplayMode
BootstrapColorEdit
.CaptionSettings .RequiredMarkDisplayMode
BootstrapComboBox
.CaptionSettings .RequiredMarkDisplayMode
BootstrapDateEdit
.CaptionSettings .RequiredMarkDisplayMode
BootstrapDropDownEdit
.CaptionSettings .RequiredMarkDisplayMode
BootstrapListBox
.CaptionSettings .RequiredMarkDisplayMode
BootstrapMemo
.CaptionSettings .RequiredMarkDisplayMode
BootstrapRadioButtonList
.CaptionSettings .RequiredMarkDisplayMode
BootstrapSpinEdit
.CaptionSettings .RequiredMarkDisplayMode
BootstrapTagBox
.CaptionSettings .RequiredMarkDisplayMode
BootstrapTextBox
.CaptionSettings .RequiredMarkDisplayMode
BootstrapTimeEdit
.CaptionSettings .RequiredMarkDisplayMode

Remarks

Use the RequiredMarkDisplayMode property to control how the mark should be displayed within the Form Layout control.

See Also