A newer version of this page is available. Switch to the current version.

BaseView.Name Property

Gets or sets the View name.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll


public virtual string Name { get; set; }

Property Value

Type Default Description


A String value representing the View name.


At runtime, you can access View objects directly by their names. However, the View accessed will be a pattern View. Please refer to the Pattern and Clone Views topic for details on accessing View clones. Also note that the Name property of clone Views will return the name of the corresponding pattern View.

The Name property can be used at runtime to evaluate an object by its name rather than by the type or programmatic name. Since the property returns a String, it can be evaluated in case-style logic statements (Select statement in Visual Basic, switch statement in C# and C++).

See Also