Share via


RibbonControlLength.Equality Operator

Compares two RibbonControlLength structures for equality.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    length1 As RibbonControlLength, _
    length2 As RibbonControlLength _
) As Boolean
public static bool operator ==(
    RibbonControlLength length1,
    RibbonControlLength length2
)
public:
static bool operator ==(
    RibbonControlLength length1, 
    RibbonControlLength length2
)
static let inline (=)
        length1:RibbonControlLength * 
        length2:RibbonControlLength  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the two RibbonControlLength instances have the same value and sizing mode; otherwise, false.

.NET Framework Security

See Also

Reference

RibbonControlLength Structure

Microsoft.Windows.Controls.Ribbon Namespace