Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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