ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Style Class / Equals Method
An System.Object to compare with the current Style.
Example

In This Topic
    Equals Method (Style)
    In This Topic
    Determines whether the specified object is equal to the current Style.
    Syntax
    'Declaration
     
    Public Overrides Function Equals( _
       ByVal obj As Object _
    ) As Boolean
    public override bool Equals( 
       object obj
    )

    Parameters

    obj
    An System.Object to compare with the current Style.

    Return Value

    A System.Boolean value. true if the specified object is equal to the current Style; otherwise, false.
    Example
    Style style1 = new Style { BackgroundColor = "Black" };
    Style style2 = new Style { BackgroundColor = "White" };
    bool result = style1.Equals(style2); // false
    See Also