Modifica

Condividi tramite


RibbonControlLength.Equals Method

Definition

Determines whether an object is equal to the current RibbonControlLength.

Overloads

Equals(Object)

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

Equals(RibbonControlLength)

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

Equals(Object)

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

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 to the current instance.

Returns

true if the specified object is a RibbonControlLength with the same value and sizing mode as the current RibbonControlLength; otherwise, false.

Applies to

Equals(RibbonControlLength)

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

public:
 virtual bool Equals(System::Windows::Controls::Ribbon::RibbonControlLength other);
public bool Equals (System.Windows.Controls.Ribbon.RibbonControlLength other);
override this.Equals : System.Windows.Controls.Ribbon.RibbonControlLength -> bool
Public Function Equals (other As RibbonControlLength) As Boolean

Parameters

other
RibbonControlLength

The RibbonControlLength to compare to the current instance.

Returns

true if the specified object is a RibbonControlLength with the same value and sizing mode as the current RibbonControlLength; otherwise, false.

Implements

Applies to