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
Initializes a new instance of the CellValueFormatResult class.
public CellValueFormatResult(IEnumerable<CellValueFormatResultItem> infos, Color? foreground, Predicate<double> condition, CultureInfo culture)
The infos.
foregroundColor?The foreground.
conditionPredicate<double>The condition.
cultureCultureInfoThe culture.
Initializes a new instance of the CellValueFormatResult class.
public CellValueFormatResult(IEnumerable<CellValueFormatResultItem> infos)
The infos.
Properties
Conditional predicate that determines whether this format applies to a numeric value.
public Predicate<double> Condition { get; }
The condition.
Culture used to format the cell value.
public CultureInfo Culture { get; }
The culture.
Foreground
Color?
Foreground color applied to the formatted value, if specified by the format string.
public Color? Foreground { get; }
The foreground.
Collection of formatted text segments, each with its own formatting attributes.
public ReadOnlyCollection<CellValueFormatResultItem> Infos { get; }
The infos.
Concatenated text from all format result items, including transparent segments.
public string InfosText { get; }
The infos text.
Concatenated text from all visible (non-transparent) format result items.
public string VisibleInfosText { get; }
The visible infos text.