CGXControl::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.
CGXControl::AddUserAttributes registers the following user attributes:
- GX_IDS_UA_VALID_MSG - Validation: warning message
- GX_IDS_UA_VALID_MAX - Validation: maximum value
- GX_IDS_UA_VALID_MIN - Validation: minimum value
See Also
CGXAbstractControlFactory::RegisterAllUserAttributes CGXStylesMap::AddUserAttribute