Skip to main content

LayoutUpgradeEventArgs.NewHiddenItems Property

Returns an array of items that exist in the current control but do not exist in the layout being loaded. These items are hidden. This property is in effect for the LayoutControl.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public object[] NewHiddenItems { get; }

Property Value

Type Description
Object[]

An array of items that exist in the current control but do not exist in the layout being loaded.

Remarks

For the LayoutControl, the NewHiddenItems property returns an array of layout items that exist in the current control but do not exist in the layout being loaded. These items are hidden and can be accessed by end-users from the LayoutControl’s Customization form.

By handling the LayoutUpgrage event, you can make certain hidden items visible. For instance, use the BaseLayoutItem.RestoreFromCustomization method to display a hidden item.

See Also