New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class PercentValue : IAbsoluteRangeValue, IRangeValue

Inheritance: objectPercentValue

Implements: IAbsoluteRangeValueIRangeValue

Constructors

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

C#
public PercentValue(double percent)
Parameters:percentdouble

Properties

The value type, always Percent for this range value.

C#
public ValueType Type { get; }

Implements: IRangeValue.Type

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

C#
public double Value { get; }

Implements: IAbsoluteRangeValue.Value