ASPxClientRibbonItem.GetValue Method
Returns the item value.
#Declaration
GetValue(): any
#Returns
Type | Description |
---|---|
any | An Object that is the item value. |
#Remarks
Use the GetValue method to access the item value. To specify the value, use the ASPxClientRibbonItem.SetValue method.
The type of value returned by the GetValue method depends on the processed ribbon item type. The table below lists the ribbon items with the returned values.
Editor Name | Server-Side Class | Return Value |
---|---|---|
Button | null | |
Check Box |
| |
Color Button | 16-bit RGB hexadecimal representation of a color in a string format, e. Or the Ribbon | |
Combo Box | A string representation of the item value | |
Date Edit | A date object specifying the item value | |
Drop-Down Button | null | |
Drop-Down Toggle Button |
| |
Drop-Down Gallery | Depends on the Ribbon | |
Gallery Bar | Depends on the Ribbon | |
Option Button |
| |
Spin Edit | A number specifying the item value | |
Template Item | null | |
Text Box | A string representation of the item value | |
Toggle Button |
|