[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IOutlineColumn

Interface IOutlineColumn

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Represents the outline column for the worksheet.

public interface IOutlineColumn

Properties

CollapseIndicator

Gets or sets the collapse indicator image.

ImageSource CollapseIndicator { get; set; }

Property Value

ImageSource

ColumnIndex

Gets or sets the column index, the column is displayed as a tree structure.

int ColumnIndex { get; set; }

Property Value

int

ExpandIndicator

Gets or sets the expand indicator image.

ImageSource ExpandIndicator { get; set; }

Property Value

ImageSource

Images

Gets the images by level.

IList<ImageSource> Images { get; }

Property Value

System.Collections.Generic.IList<T><ImageSource>

MaxLevel

Gets or sets the the max row level.The default value is 10.

int MaxLevel { get; set; }

Property Value

int

ShowCheckBox

Gets or sets whether to display the checkbox.

bool ShowCheckBox { get; set; }

Property Value

bool

ShowImage

Gets or sets whether to display the images.

bool ShowImage { get; set; }

Property Value

bool

ShowIndicator

Gets or sets whether to display the indicator.

bool ShowIndicator { get; set; }

Property Value

bool

Methods

GetCheckStatus(int)

Gets the check status of the row.

bool GetCheckStatus(int row)

Parameters

row int

The index of the row.

Returns

bool

Whether the specified row is checked.

GetCollapsed(int)

Gets the collapsed of the row.

bool GetCollapsed(int row)

Parameters

row int

The index of the row to get collapsed.

Returns

bool

Whether the specified row is collapsed.

Refresh()

Refreshes the outline column.

void Refresh()

SetCheckStatus(int, bool)

Sets the check status of the row.

void SetCheckStatus(int row, bool checkStatus)

Parameters

row int

The index of the row.

checkStatus bool

The check status of the row.

SetCollapsed(int, bool)

Sets the collapsed of the row.

void SetCollapsed(int row, bool collapsed)

Parameters

row int

The index of the row.

collapsed bool

The collapsed of the row.