<< Return to Main Index

< Return to Class Index

CGXCheckBox::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 user attributes GX_IDS_UA_CHECKBOX_CHECKED and GX_IDS_UA_CHECKBOX_UNCHECKED. The default setting is “1” for checked and “0” for unchecked. Other values are treated as undetermined.

See Also

CGXAbstractControlFactory::RegisterAllUserAttributes CGXStylesMap::AddUserAttribute

CGXCheckBox

Class Overview | Class Members