Skip to main content
A newer version of this page is available. .

LayoutItem.IsRequired Property

Gets or sets whether the current item’s label is painted bold, indicating to an end-user that the current field is required. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

Declaration

public bool IsRequired { get; set; }

Property Value

Type Description
Boolean

true, if the current item’s label is painted bold, indicating to an end-user that the current field is required; otherwise, false.

Remarks

For the DataLayoutItem, if the associated editor is read-only (see DataLayoutItem.IsActuallyReadOnly), the IsRequired setting is ignored, and the layout item’s label is not painted bold.

See Also