Skip to main content

BaseLayoutItem.Name Property

Gets or sets the layout item’s name.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public string Name { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the item’s name.


BaseLayoutItem objects are Component descendants and thus, can be directly accessed in code using their names. Therefore, the Name property specifies the string that can be used in code to access the layout item.


To allow a Layout Control’s layout to be customized and serialized you need to ensure that Name properties of the layout items and controls within the layout items are set to unique values. You must set the Name properties to unique values for layout items and controls that are created at runtime. The control’s Name property must be initialized before this control is assigned to the LayoutControlItem.Control property.

See Also