Class
CellValueFormatResultItem

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:

cs-api-definition
public class CellValueFormatResultItem

Inheritance: objectCellValueFormatResultItem

Constructors

CellValueFormatResultItem(string, bool, bool, bool)

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

Declaration

cs-api-definition
public CellValueFormatResultItem(string text, bool isTransparent, bool shouldExpand, bool applyFormat)

Parameters

text

string

The text.

isTransparent

bool

The is transparent.

shouldExpand

bool

The should expand.

applyFormat

bool

The apply format.

Properties

ApplyFormat

Indicates whether formatting should be applied to this segment.

Declaration

cs-api-definition
public bool ApplyFormat { get; }

Property Value

bool

The apply format.

IsTransparent

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

Declaration

cs-api-definition
public bool IsTransparent { get; }

Property Value

bool

The is transparent.

ShouldExpand

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

Declaration

cs-api-definition
public bool ShouldExpand { get; }

Property Value

bool

The should expand.

Text

Formatted text content of this segment.

Declaration

cs-api-definition
public string Text { get; }

Property Value

string

The text.