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.v14.2.dll

#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

If a layout item's editor is read-only (see DataLayoutItem.IsActuallyReadOnly), the IsRequired setting is ignored, and the layout item's label is painted normal, not bold.

See Also