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

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