[]
Determines whether the specified object is equal to the current Style.
public override bool Equals(object obj)
Type | Name | Description |
---|---|---|
object | obj |
Type | Description |
---|---|
bool | A bool value. |
Style style1 = new Style { BackgroundColor = "Black" };
Style style2 = new Style { BackgroundColor = "White" };
bool result = style1.Equals(style2); // false