DataGridColumnStyle.DataGridTableStyle 属性

定义

获取列的 DataGridTableStyle

public:
 virtual property System::Windows::Forms::DataGridTableStyle ^ DataGridTableStyle { System::Windows::Forms::DataGridTableStyle ^ get(); };
[System.ComponentModel.Browsable(false)]
public virtual System.Windows.Forms.DataGridTableStyle DataGridTableStyle { get; }
[<System.ComponentModel.Browsable(false)>]
member this.DataGridTableStyle : System.Windows.Forms.DataGridTableStyle
Public Overridable ReadOnly Property DataGridTableStyle As DataGridTableStyle

属性值

DataGridTableStyle

包含当前 DataGridTableStyleDataGridColumnStyle

属性

示例

下面的代码示例打印MappingNameDataGridTableStyle包含 a DataGridColumnStyle.

Private Sub PrintTableMappingName _
(ByVal myColumnStyle As DataGridColumnStyle)
    Console.WriteLine _
    (myColumnStyle.DataGridTableStyle.MappingName)
End Sub

适用于

另请参阅