SetCssStyleAtSelection Method
In This Topic
Sets CSS style to the selected tag.
Syntax
'Declaration
Public Sub SetCssStyleAtSelection( _
ByVal As System.String, _
ByVal As System.String, _
Optional ByVal As System.String _
)
public void SetCssStyleAtSelection(
System.string ,
System.string ,
System.string
)
Parameters
- className
-
A css class name to use for the selected tag.
- cssStyleInfo
-
Specifies a css style definition for the tag. If null, then the classname css style
is used. If both classname and cssTyleInfo are specified, the css class is defined.
- tag
-
Tag to which the style should be applied. If 'null' or Empty is applied to the first tag at the selection.
See Also