Detail  
 
The Top Dog Textbox Component is used to display the description field of the Sample Data item with the greatest number of hits or votes received across the whole of the Sample Data set associated with a specific Pollstar100 Application. Whether the displayed Sample Data item description relates to hits or votes may be determined either by the designer or the end-user via the View Controls. The designer can provide a static text string that will be prepended to the dynamic total information by using the Text Property or the ViewType Text Properties.  
 
 
 
 
 
Custom XML Tag  
 
Use the following XML tag to define custom Properties for the Top Dog Textbox Component within your Custom XML file:  
 
 
<TopDog />  
 
 
 
 
 
 
Common Properties  
 
The Top Dog Textbox Component inherits the following common Textbox Properties:  
 
Component Visibility Properties  
Location Properties  
Margins Properties  
Text Properties  
Text Rotation Properties  
Image Properties  
Opacity Properties  
 
 
 
 
Specialised Properties

The Top Dog Textbox Component also inherits the following specialised Properties:
 
ViewType Text  
Use these Properties to override the default Text Property value and provide specific text strings dependent upon the View Type.  
 
HTML Text  
Use this Property to specify whether the text data is plain-text or supports HTML format.  
 
CSS File  
Use this Property to specify the location of an external CSS File used to format this Components' text data.  
 
 
 
 
Default Property Values  
 
The following default Property values are defined for the Top Dog Textbox Component:
 
 
Property Name
Default Value
Visible
true
X
undefined
Y
undefined
Width
undefined
Height
undefined
Margins
0, 0, 0, 0
Text
top dog ~
TextFont
Times New Roman
TextHTML
true
TextAlign
left
TextColour
0
TextSize
12
TextItalic
false
TextBold
false
TextUnderline
false
TextBorder
false
TextRotation
0
CSSFile
undefined
VotesViewText
undefined
HitsViewText
undefined
RatingsViewText
undefined
Image
default
Opacity
100
BorderRadius
0
BorderColour
0
BorderWeight
0
Colours
undefined