Specifies the CSS style definition used by this control.
[Visual Basic]
Public Property CssBlock As
String
[C#]
public
String CssBlock {get; set;}
Property Value
System.String
The text contains CSS style definition.
This property is read/write.
Remarks
If you want to specify CSS style text, use this property.
If you want to specify CSS styles in an external file, use CssFile property;
You can provide several CSS class styles in this property and use them in control's CssClass properties (E.g., NavigationItem.NormalStyle.CssClass).
Here's a sample of content of this block.
[HTML] <style type="text/css">
a.eo_calendar_style1_title_button
{
width: 21px;
height: 17px;
border-right: #f3f3f3 1px solid;
border-top: #f3f3f3 1px solid;
border-left: #f3f3f3 1px solid;
border-bottom: #f3f3f3 1px solid;
background-color: transparent;
}
a.eo_calendar_style1_title_button:hover
{
width: 21px;
height: 17px;
border-right: #0044ff 1px solid;
border-top: #0044ff 1px solid;
border-left: #0044ff 1px solid;
border-bottom: #0044ff 1px solid;
background-color: #aaaaff
}
</style>
See Also
WebControl Class | EO.Web Namespace