Edit

Bagikan melalui


Table.Columns Property

Definition

Gets a TableColumnCollection object that contains the columns hosted by the table.

public:
 property System::Windows::Documents::TableColumnCollection ^ Columns { System::Windows::Documents::TableColumnCollection ^ get(); };
public System.Windows.Documents.TableColumnCollection Columns { get; }
member this.Columns : System.Windows.Documents.TableColumnCollection
Public ReadOnly Property Columns As TableColumnCollection

Property Value

A TableColumnCollection object that contains the columns (represented by TableColumn objects) hosted by the table. Note that this number might not be the actual number of columns rendered in the table. It is the TableCell objects in a table that determine how many columns are actually rendered.

This property has no default value.

Remarks

The TableColumn objects returned by this property can, in conjunction with the TableCell objects in the column, be used to define layout of columns but they do not determine the actual number of columns rendered. It is the TableCell objects in a table that determine how many columns are actually rendered. For example, if you define 3 columns but only have table cells for 2 columns, only 2 columns will be rendered.

Applies to