EditorCaptionSettings.RequiredMarkDisplayMode Property
Gets or sets the required mark visibility mode.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
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:
See Also