Class CellValueFormatResult
Contains the formatted output of a cell value, including text segments, color, culture, and conditional formatting information.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class CellValueFormatResult
Constructors
CellValueFormatResult(IEnumerable<CellValueFormatResultItem>)
Initializes a new instance of the CellValueFormatResult class.
Declaration
public CellValueFormatResult(IEnumerable<CellValueFormatResultItem> infos)
Parameters
|
System.Collections.Generic.IEnumerable<CellValueFormatResultItem>
infos
The infos. |
CellValueFormatResult(IEnumerable<CellValueFormatResultItem>, Nullable<Color>, Predicate<Double>, CultureInfo)
Initializes a new instance of the CellValueFormatResult class.
Declaration
public CellValueFormatResult(IEnumerable<CellValueFormatResultItem> infos, Color? foreground, Predicate<double> condition, CultureInfo culture)
Parameters
|
System.Collections.Generic.IEnumerable<CellValueFormatResultItem>
infos
The infos. |
|
System.Nullable<System.Windows.Media.Color>
foreground
The foreground. |
|
System.Predicate<System.Double>
condition
The condition. |
|
System.Globalization.CultureInfo
culture
The culture. |
Properties
Condition
Conditional predicate that determines whether this format applies to a numeric value.
Declaration
public Predicate<double> Condition { get; }
Property Value
|
System.Predicate<System.Double>
The condition. |
Culture
Culture used to format the cell value.
Declaration
public CultureInfo Culture { get; }
Property Value
|
System.Globalization.CultureInfo
The culture. |
Foreground
Foreground color applied to the formatted value, if specified by the format string.
Declaration
public Color? Foreground { get; }
Property Value
|
System.Nullable<System.Windows.Media.Color>
The foreground. |
Infos
Collection of formatted text segments, each with its own formatting attributes.
Declaration
public ReadOnlyCollection<CellValueFormatResultItem> Infos { get; }
Property Value
|
System.Collections.ObjectModel.ReadOnlyCollection<CellValueFormatResultItem>
The infos. |
InfosText
Concatenated text from all format result items, including transparent segments.
Declaration
public string InfosText { get; }
Property Value
|
System.String
The infos text. |
VisibleInfosText
Concatenated text from all visible (non-transparent) format result items.
Declaration
public string VisibleInfosText { get; }
Property Value
|
System.String
The visible infos text. |