combit List & Label 30 - .NET Help
combit.Reporting.Web.WebReportViewer Namespace / WebReportViewerController Class / OnCssPatch Method


In This Topic
    OnCssPatch Method
    In This Topic
    This virtual method can be overridden to inject custom CSS into the viewer space. The styles will be applied to the "cmbtCustomCSSInput" class (every selector will automatically be prefixed with ".cmbtCustomCSSInput").
    Syntax
    'Declaration
     
    
    Public Overridable Function OnCssPatch() As List(Of String)
    public virtual List<string> OnCssPatch()
    public:
    virtual List<String^>^ OnCssPatch(); 

    Return Value

    List of string with one entry per selector. Example: "textarea { color:blue; }"
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

    See Also