BootstrapEditorCaptionSettings.RequiredMarkDisplayMode Property
Gets or sets the required mark display mode.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
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:
Object Type | Path to RequiredMarkDisplayMode |
---|---|
BootstrapButtonEdit |
|
BootstrapCalendar |
|
BootstrapCheckBoxList |
|
BootstrapColorEdit |
|
BootstrapComboBox |
|
BootstrapDateEdit |
|
BootstrapDropDownEdit |
|
BootstrapListBox |
|
BootstrapMemo |
|
BootstrapRadioButtonList |
|
BootstrapSpinEdit |
|
BootstrapTagBox |
|
BootstrapTextBox |
|
BootstrapTimeEdit |
|
Remarks
Use the RequiredMarkDisplayMode property to control how the mark should be displayed within the Form Layout control.
See Also