Class Table

Class Table

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)

Represents a table in Project

public class Table

Inheritance

objectTable

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

Table()

Initializes a new instance of the Aspose.Tasks.Table class.

public Table()

Properties

AdjustHeaderRowHeight

Gets or sets a value indicating whether the header row height of the table can be adjusted.

public bool AdjustHeaderRowHeight { get; set; }

Property Value

bool

DateFormat

Gets or sets the date format of the table.

public DateFormat DateFormat { get; set; }

Property Value

DateFormat

Index

Gets the index of a Table object in the Tables containing object.

[Obsolete("This member is obsolete and will be removed after release 25.7.")]
public int Index { get; }

Property Value

int

LockFirstColumn

Gets or sets a value indicating whether the first column of a table is locked or editable.

public bool LockFirstColumn { get; set; }

Property Value

bool

Name

Gets or sets the name of a Table object.

public string Name { get; set; }

Property Value

string

RowHeight

Gets or sets the row height in a table, where the row height is the number of lines of text.

public int RowHeight { get; set; }

Property Value

int

ShowAddNewColumn

Gets or sets a value indicating whether to show ‘Add New Column’ interface. Supported by MSP 2010 version and later.

public bool ShowAddNewColumn { get; set; }

Property Value

bool

ShowInMenu

Gets or sets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon.

public bool ShowInMenu { get; set; }

Property Value

bool

TableFields

Gets a TableFields collection representing the fields in the table.

public TableFieldCollection TableFields { get; }

Property Value

TableFieldCollection

TableType

Gets or sets the table type for the specified table.

public ItemType TableType { get; set; }

Property Value

ItemType

Uid

Gets the unique identifier of a table.

public int Uid { get; }

Property Value

int

Methods

Equals(object)

Returns a value indicating whether this instance is equal to a specified object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

True if the specified object is a Table that has the same UID value as this instance; otherwise, false.

GetHashCode()

Returns a hash code for this Table.

public override int GetHashCode()

Returns

int

Returns a hash code value for this object.