Back to Devexpress

LayoutItem.IsRequired Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-layoutitem-1d0a115d.md

latest1.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public bool IsRequired { get; set; }
vb
Public Property IsRequired As Boolean

Property Value

TypeDescription
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

IsActuallyReadOnly

IsActuallyRequired

LayoutItem Class

LayoutItem Members

DevExpress.Xpf.LayoutControl Namespace