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

RibbonEditItemBase.Value Property

Gets or sets the item‘s associated value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

[DefaultValue(null)]
public object Value { get; set; }

Property Value

Type Default Description
Object *null*

An Object that is the item’s value.

Remarks

The format of the Value property depends on the processed ribbon item type. The table below lists the ribbon items with the value formats.

Item Class Name Value Format
RibbonCheckBoxItem true if the item is checked; otherwise false
RibbonComboBoxItem An item text, or string representation of the item value
RibbonDateEditItem A date object specifying the item value
RibbonSpinEditItem A number specifying the item value
RibbonTextBoxItem A string specifying the item value
See Also