Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

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