ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Report Class / Themes Property
Example

In This Topic
    Themes Property (Report)
    In This Topic
    Gets the all themes associated with the report.
    Syntax
    'Declaration
     
    Public ReadOnly Property Themes As ExpressionInfoCollection
    public ExpressionInfoCollection Themes {get;}

    Property Value

    A Collection object containing the themes URIs associated with the report.
    Example
    or using an expression
    Report.Themes.Add("path/to/your/theme.rdlx-theme");
    Report.Themes.Add("=IIF(Parameters!Theme.Value = \"Black\", \"black.rdlx-theme\",\"white.rdlx-theme\")");
    See Also