<< Return to Main Index

< Return to Class Index

CGXRadioButtonEx::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.

CGXRadioButtonEx::AddUserAttributes registers the user attribute GX_IDS_UA_RADIOBUTTON_ALIGN. Specify "0" for vertical and "1" for horizontal.

If you do not specify this attribute, the radio buttons will be aligned vertical. Other values will also make the radio buttons be aligned vertical.

See Also

CGXAbstractControlFactory::RegisterAllUserAttributes CGXStylesMap::AddUserAttribute

CGXRadioButtonEx

Class Overview | Class Members