New to Telerik Document ProcessingStart a free 30-day trial

Represents a single text segment within a formatted cell value, with attributes controlling visibility and expansion behavior.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class CellValueFormatResultItem

Inheritance: objectCellValueFormatResultItem

Constructors

Initializes a new instance of the CellValueFormatResultItem class with specified text and formatting attributes.

C#
public CellValueFormatResultItem(string text, bool isTransparent, bool shouldExpand, bool applyFormat)
Parameters:textstring

The text.

isTransparentbool

The is transparent.

shouldExpandbool

The should expand.

applyFormatbool

The apply format.

Properties

Indicates whether formatting should be applied to this segment.

C#
public bool ApplyFormat { get; }
Property Value:

The apply format.

Indicates whether this segment is transparent and should not be rendered visually.

C#
public bool IsTransparent { get; }
Property Value:

The is transparent.

Indicates whether this segment should expand to fill available horizontal space.

C#
public bool ShouldExpand { get; }
Property Value:

The should expand.

Formatted text content of this segment.

C#
public string Text { get; }
Property Value:

The text.