TableControl Element
Defines a table format for a view.
Schema
- ViewDefinitions Element
- View Element
- TableControl Element
Syntax
<TableControl>
<AutoSize/>
<HideTableHeaders/>
<TableHeaders>...</TableHeaders>
<TableRowEntries>...</TableRowEntries>
</TableControl>
Attributes and Elements
The following sections describe attributes, child elements, and parent element of the TableControl
element. You must specify the rows of the table. All other child elements are optional.
Attributes
None.
Child Elements
Element | Description |
---|---|
AutoSize Element for TableControl | Optional element. Specifies whether the column size and the number of columns are adjusted based on the size of the data. |
HideTableHeaders Element for TableControl | Optional element. Indicates whether the header of the table is not displayed. |
TableHeaders Element for TableControl | Required element. Defines the labels, the widths, and the alignment of the data for the columns of the table view. |
TableRowEntries Element for TableControl | Optional element. Provides the definitions of the table view. |
Parent Elements
Element | Description |
---|---|
View Element | Defines a view that is used to display the members of one or more objects. |
Remarks
For more information about the components of a table view, see Creating a Table View.
Example
This example shows a TableControl
element that is used to display the properties of the System.Serviceprocess.Servicecontroller
object.
<View>
<Name>service</Name>
<ViewSelectedBy>
<TypeName>System.ServiceProcess.ServiceController</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>...</TableHeaders>
<TableRowEntries>...</TableRowEntries>
</TableControl>
</View>
See Also
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk