In addition to the Pre-defined Column Control Components, designers can also add any number of Generic Column Control Components to a Pollstar100 Application. Since Column Controls act upon columns of Sample Data, it is likely that a designer wishing to provide Generic Panels for displaying additional custom-defined Sample Data fields, may also want to provide associated Column Controls as well.
Custom XML Tag
Use the following XML tag to define a Generic Column Control Component within your Custom XML file:
|
Common Properties
Generic Column Control Components inherit the following common Control Properties:
Component Visibility Properties
Location Properties
Margins Properties
Text Properties
Image Properties
Control Image Properties
Opacity Properties
Specialised Properties
Generic Column Control Components inherit the following specialised Properties:
Unique ID
Use this Property to assign a unique identifier to the generic Component.
Sample Field ID
Use this Property to associate the generic Component with a specific column of Sample Data.
Default Property Values
The following default Property values are defined for Generic Column Control Components:
|
Property Name
|
Default Value
|
|
Visible
|
true
|
|
X
|
undefined
|
|
Y
|
undefined
|
|
Width
|
undefined
|
|
Height
|
undefined
|
|
Margins
|
0, 0, 0, 0
|
|
Text
|
sort me
|
|
VotesViewText
|
undefined
|
|
HitsViewText
|
undefined
|
|
RatingsViewText
|
undefined
|
|
TextFont
|
Times New Roman
|
|
TextAlign
|
left
|
|
TextColour
|
0
|
|
TextSize
|
12
|
|
TextItalic
|
false
|
|
TextBold
|
false
|
|
TextUnderline
|
false
|
|
TextBorder
|
false
|
|
Image
|
default
|
|
ImageUp
|
undefined
|
|
ImageDown
|
undefined
|
|
ImageOver
|
undefined
|
|
Opacity
|
100
|
|
BorderRadius
|
0
|
|
BorderColour
|
0
|
|
BorderWeight
|
1
|
|
Colours
|
undefined
|
|
UniqueID
|
undefined
|
|
SampleFieldID
|
undefined
|
Related Topics
Cookie Related Properties
Using Generic Components To Extend the UI





