Class
RangePropertyValue<T>

Property value queried from a cell range, indicating whether the value is uniform or mixed (indeterminate) across the range.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Type Parameters:

T

The type of the property value.

Syntax:

cs-api-definition
public class RangePropertyValue<T>

Inheritance: objectRangePropertyValue<T>

Properties

IsIndeterminate

Gets whether the property has different values across the range (true if mixed, false if uniform).

Declaration

cs-api-definition
public bool IsIndeterminate { get; }

Property Value

bool

The value indicating whether the property value is indeterminate.

Value

Gets the property value when IsIndeterminate is false, or a default/representative value when true.

Declaration

cs-api-definition
public T Value { get; }

Property Value

T

The value.

Methods

Equals(object)

Compares the value and indeterminate flag, returning true if both match the specified object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

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

Overrides object.Equals(object)

GetHashCode()

Computes a hash code from the value and indeterminate flag.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()