CGXMaskControl::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.
CGXCheckBox::AddUserAttributes registers the following user attributes:
-
Input mask - GX_IDS_UA_INPUTMASK.
- Prompt character - GX_IDS_UA_INPUTPROMPT.
See Also
CGXAbstractControlFactory::RegisterAllUserAttributes CGXStylesMap::AddUserAttribute