aspnet-devexpress-dot-web-e18ab273.md
Lists values that specify the type of a mark displayed within the editor caption.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public enum EditorRequiredMarkMode
Public Enum EditorRequiredMarkMode
| 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.
|
The following properties accept/return EditorRequiredMarkMode values:
| Library | Related API Members |
|---|---|
| ASP.NET Bootstrap Controls | BootstrapEditorCaptionSettings.RequiredMarkDisplayMode |
| ASP.NET Web Forms Controls | EditorCaptionSettings.RequiredMarkDisplayMode |
The values of this enumerator are used to set the EditorCaptionSettings.RequiredMarkDisplayMode property of a layout item.
See Also