IAdmListItemStyle
The IAdmListItemStyle provides information about visual style of an item in the IAdmListItems list.
Inheritance: IUnknown
Properties
-
Property
-
Description
-
TextColor
-
Gets or sets the color of the list item text.
-
BackgroundColor
-
Gets or sets a color of the list item background.
-
FontStyle
-
Gets or sets the font style of the list item text.
Details
TextColor
Gets or sets the color of the list item text.
- Type:
- int
- Access:
- Read/Write
Remarks
The color is specified as an int value with AARRGGBB byte-ordering, where each byte represents a color component. The most significant byte, represented by AA, is the alpha component value. This byte must be always 0. The bytes represented by RR, GG, and BB are the red, green, and blue color components respectively.
Examples
- Red - 255
- Yellow - 65535
- Magenta - 16711935
- Set the property value to -1 to use the default color.
BackgroundColor
Gets or sets a color of the list item background.
- Type:
- int
- Access:
- Read/Write
Remarks
The color is specified as an int value with AARRGGBB byte-ordering, where each byte represents a color component. The most significant byte, represented by AA, is the alpha component value. This byte must be always 0. The bytes represented by RR, GG, and BB are the red, green, and blue color components respectively.
Examples
- Red - 255
- Yellow - 65535
- Magenta - 16711935
- Set the property value to -1 to use the default color.
FontStyle
Gets or sets the font style of the list item text.
- Type:
- ADM_LISTITEMFONTSTYLES_ENUM
- Access:
- Read/Write
Remarks
The property can be set to a combination of font styles.
Requirements
Minimum required version: 2018.1