TableRowHeight Struct
Represents a table row height.
public struct TableRowHeight : IEquatable<TableRowHeight>
Public Structure TableRowHeight
Implements IEquatable(Of TableRowHeight)
Implements
Constructors
TableRowHeight(Double, TableRowHeightRule)
Initializes a new instance of the TableRowHeight struct.
public TableRowHeight(double value, TableRowHeightRule rule)
Public Sub New(value As Double, rule As TableRowHeightRule)
Parameters
value
- System.Double
The table row height value.
The table row height rule.
Properties
Rule
Gets the table row height rule.
public readonly TableRowHeightRule Rule { get; }
Public ReadOnly Property Rule As TableRowHeightRule
Property Value
The table row height rule.
Value
Gets the table row height value.
Property Value
- System.Double
The table row height value.
Methods
Equals(TableRowHeight)
Determines whether the other
TableRowHeight is equal to this TableRowHeight instance.
public bool Equals(TableRowHeight other)
Public Function Equals(other As TableRowHeight) As Boolean
Parameters
other
- TableRowHeight
The other table row height to compare with this table row height instance.
Returns
- System.Boolean
true if the other
TableRowHeight is equal to this TableRowHeight instance; otherwise, false.
Equals(Object)
Determines whether the specified System.Object is equal to this TableRowHeight instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
- System.Object
The System.Object to compare with this table row height instance.
Returns
- System.Boolean
true if the specified System.Object is a TableRowHeight and is equal to this TableRowHeight instance; otherwise, false.
Overrides
GetHashCode()
Returns a hash code for this TableRowHeight instance.
Returns
- System.Int32
An integer value that specifies a hash value for this TableRowHeight instance.
Overrides
ToString()
Returns a System.String that represents this TableRowHeight instance.
Returns
- System.String
A System.String that represents this TableRowHeight instance.
Overrides
Operators
Equality(TableRowHeight, TableRowHeight)
Determines whether first
and second
TableRowHeights are equal.
public static bool operator ==(TableRowHeight first, TableRowHeight second)
Public Shared Operator =(first As TableRowHeight, second As TableRowHeight) As Boolean
Parameters
first
- TableRowHeight
The first table row height.
second
- TableRowHeight
The second table row height.
Returns
- System.Boolean
true if first
and second
table row heights are equal; otherwise, false.
Inequality(TableRowHeight, TableRowHeight)
Determines whether first
and second
TableRowHeights are not equal.
public static bool operator !=(TableRowHeight first, TableRowHeight second)
Public Shared Operator <>(first As TableRowHeight, second As TableRowHeight) As Boolean
Parameters
first
- TableRowHeight
The first table row height.
second
- TableRowHeight
The second table row height.
Returns
- System.Boolean
true if first
and second
table row heights are not equal; otherwise, false.