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

LayoutControl.RenameSelectedItem() Method

In This Article

Activates an edit box that allows an end-user to rename the currently selected layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void RenameSelectedItem()

#Remarks

Layout items can be selected in code via the BaseLayoutItem.Selected property and in customization mode at runtime. Selected items are painted with a different color than regular items.

The RenameSelectedItem method opens an edit box that allows an end-user to rename the currently selected layout item. Calling this method is similar to invoking the Rename command of the Context Menu (in Customization mode).

See Also