<< Return to Main Index

< Return to Class Index

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:

See Also

CGXAbstractControlFactory::RegisterAllUserAttributes CGXStylesMap::AddUserAttribute

CGXControl

Class Overview | Class Members