Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / SetCssStyleAtSelection Method
A css class name to use for the selected tag.
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 to which the style should be applied. If 'null' or Empty is applied to the first tag at the selection.

In This Topic
    SetCssStyleAtSelection Method
    In This Topic
    Sets CSS style to the selected tag.
    Syntax
    'Declaration
     
    Public Sub SetCssStyleAtSelection( _
       ByVal className As System.String, _
       ByVal cssStyleInfo As System.String, _
       Optional ByVal tag As System.String _
    ) 
    public void SetCssStyleAtSelection( 
       System.string className,
       System.string cssStyleInfo,
       System.string tag
    )

    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