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