Skip to main content
A newer version of this page is available. .
Tab

RibbonItemDataFields.OptionGroupNameField Property

Gets or sets the name of a data field (or xml element attribute) which provides option group names for option button items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("OptionGroupName")]
public virtual string OptionGroupNameField { get; set; }

Property Value

Type Default Description
String "OptionGroupName"

A string value that specifies the name of the required data source field.

Remarks

The OptionGroupNameField property is in effect if the ASPxRibbon control is bound to a data source.

Use the OptionGroupNameField property to specify the bound data source’s data field (or an xml element’s attribute) which stores option group names for option button items. The OptionGroupNameField property maps the RibbonOptionButtonItem.OptionGroupName property of RibbonOptionButtonItem objects to the specified data field’s values.

See Also