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

In This Topic
    InheritStyleSheet Property
    In This Topic
    Gets or sets a value indicating whether the subreport inherits the containing report's style sheet.
    Syntax
    'Declaration
     
    Public Property InheritStyleSheet As Boolean
    public bool InheritStyleSheet {get; set;}

    Property Value

    A System.Boolean value where true indicates that the subreport inherits the containing report's style sheet; otherwise false. Default is true.
    Example
    Subreport subreport = new Subreport();
    subreport.InheritStyleSheet = false;
    See Also