Back to Devexpress

LayoutControl.RenameSelectedItem() Method

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-835baf61.md

latest1.9 KB
Original Source

LayoutControl.RenameSelectedItem() Method

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public void RenameSelectedItem()
vb
Public Sub 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

Selected

LayoutControl Class

LayoutControl Members

DevExpress.XtraLayout Namespace