Detail

The Vote Control Component is an integral part of the Pollstar100 voting function. The end-user chooses a specific Sample Data item to vote for using the Radio Controls and then submits a vote by clicking on the Vote Control Component.  
 
 
 
 
Custom XML Tag  
 
Use the following XML tag to define custom Properties for the Vote Control Component within your Custom XML file:  
 
 
<VoteControl />  
 
 
 
 
 
 
Common Properties  
 
The Vote Control Component inherits the following common Properties:  
 
Component Visibility Properties  
Use this Property to exclude the Vote Control from the UI.  
 
Location Properties  
Use these Properties to specify the size and location of the Vote Control within the UI.  
 
Margins Properties  
Use these Properties to set the left, right, top and bottom margins within which any text data is displayed.  
 
Text Properties  
Use these Properties in order to set and format text data for the Vote Control.  
 
Image Properties  
Control Image Properties  
Use these Properties in order to define images for the Vote Control.  
 
Opacity Properties  
Use this Property to set the Component image opacity.  
 
 
 
Default Property Values  
 
The following default Property values are defined for the Vote Control Component:
 
 
Property Name
Default Value
Visible
true
X
undefined
Y
undefined
Width
undefined
Height
undefined
Margins
0, 0, 0, 0
Text
vote now!
TextFont
Times New Roman
TextAlign
center
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
 
 
 
 
 
Notes  
 
If you wish to prevent the end-user from being able to vote more than once on a specific Pollstar100 Application then you can do so via the Cookies Related Properties.  
 
 
 
Related Topics  
 
The Votes Panel  
The Radios Panel  
The Votes View Control  
Recustomisation From A Vote Event