SetCssStyleAtSelectionAsync Method
In This Topic
Sets CSS style to the selected tag asynchronously.
Syntax
'Declaration
Public Function SetCssStyleAtSelectionAsync( _
ByVal As System.String, _
ByVal As System.String, _
Optional ByVal As System.String _
) As System.Threading.Tasks.Task
public System.Threading.Tasks.Task SetCssStyleAtSelectionAsync(
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