RibbonTabDataFields.ContextTabCategoryNameField Property
Gets or sets the name of a data field (or an xml element’s attribute) which provides tab context categories.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue("CategoryName")]
public virtual string ContextTabCategoryNameField { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | "CategoryName" | A String value that specifies the name of the required data source field. |
Remarks
The ContextTabCategoryNameField property is in effect if the ASPxRibbon control is bound to a data source.
Use the ContextTabCategoryNameField property to specify the bound data source’s data field (or an xml element’s attribute) which stores tab context categories. The ContextTabCategoryNameField property maps the RibbonTab.ContextTabCategory property to the specified data field’s values. If the property is empty, the current ribbon tab does not belong to a context category.