CGXSpinEdit::AddUserAttributes
static void AddUserAttributes(CGXStylesMap* stylesMap);
stylesMap
Points to the styles-map object.
Remarks
Call this static method to register user attributes with the styles-map. Registered user attributes will be displayed in the CGXStyleSheet and can be modified by the user with the style sheet.
If you don’t want the attributes to be visible in the CGXStyleSheet, you should not call AddUserAttributes. You will still be able to use user attributes in your grid. They will only be hidden from the user in the CGXStyleSheet.
CGXSpinEdit::AddUserAttributes registers the following user attributes:
- GX_IDS_UA_SPINBOUND_MIN - Lower bound for value.
- GX_IDS_UA_SPINBOUND_MAX - Higher bound for value.
- GX_IDS_UA_SPINBOUND_WRAP - Wrap the value when it exceeds the bound with user attribute.
- GX_IDS_UA_SPINEDIT_START - Start spin (The cell’s content will be set to this value when the user presses an arrow key on an empty cell).
See Also
CGXAbstractControlFactory::RegisterAllUserAttributes CGXStylesMap::AddUserAttribute