Share via


Font.Equals Method

Definition

Overloads

Equals(IFont)

Determines whether the specified font is equal to the current font.

Equals(Object)

Determines whether the specified object is equal to the current font.

Equals(IFont)

Source:
Font.cs
Source:
Font.cs
Source:
Font.cs

Determines whether the specified font is equal to the current font.

public:
 virtual bool Equals(Microsoft::Maui::Graphics::IFont ^ other);
public bool Equals(Microsoft.Maui.Graphics.IFont other);
override this.Equals : Microsoft.Maui.Graphics.IFont -> bool
Public Function Equals (other As IFont) As Boolean

Parameters

other
IFont

The font to compare with the current font.

Returns

true if the specified font is equal to the current font; otherwise, false.

Implements

Applies to

Equals(Object)

Source:
Font.cs
Source:
Font.cs
Source:
Font.cs

Determines whether the specified object is equal to the current font.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals(object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare with the current font.

Returns

true if the specified object is equal to the current font; otherwise, false.

Applies to