Skip to main content
Tab

FormLayoutProperties.RequiredMarkDisplayMode Property

Gets or sets the required mark display mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(RequiredMarkMode.RequiredOnly)]
public virtual RequiredMarkMode RequiredMarkDisplayMode { get; set; }

Property Value

Type Default Description
RequiredMarkMode RequiredOnly

One of the RequiredMarkMode enumeration values.

Available values:

Name Description
Auto

A required mark position is automatically defined, depending on the control settings.

None

All the required and optional marks are hidden.

All

The required and optional marks are displayed.

RequiredOnly

Only the required marks are displayed.

OptionalOnly

Only the optional marks are displayed.

Remarks

Use the RequiredMarkDisplayMode property to control how the marks should be displayed in the form layout.

See Also