Class
PercentValue

Specifies a percentage-based threshold for conditional formatting, where the value is calculated as a percentage of the range span.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class PercentValue : IAbsoluteRangeValue, IRangeValue

Inheritance: objectPercentValue

Implements: IAbsoluteRangeValueIRangeValue

Constructors

PercentValue(double)

Initializes a new instance with the specified percentage value between 0 and 100.

Declaration

cs-api-definition
public PercentValue(double percent)

Parameters

percent

double

Properties

Type

The value type, always Percent for this range value.

Declaration

cs-api-definition
public ValueType Type { get; }

Property Value

ValueType

Implements IRangeValue.Type

Value

The percentage value (0-100) used to calculate the threshold relative to the minimum and maximum of the range.

Declaration

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

Property Value

double

Implements IAbsoluteRangeValue.Value