ColumnState(String, Boolean, Double, Int32, Boolean) 建構函式

定義

ColumnState Create 具有指示屬性的 。

 ColumnState(std::wstring const & name, bool isVisible, double width, int sortPriority = 0, bool descendingSort = false);
public ColumnState (string name, bool isVisible, double width, int sortPriority = 0, bool descendingSort = false);
new Microsoft.VisualStudio.Shell.TableControl.ColumnState : string * bool * double * int * bool -> Microsoft.VisualStudio.Shell.TableControl.ColumnState
Public Sub New (name As String, isVisible As Boolean, width As Double, Optional sortPriority As Integer = 0, Optional descendingSort As Boolean = false)

參數

name
String

這個狀態所套用的數據行名稱。

isVisible
Boolean

數據行的可見性。

width
Double

數據行的寬度,以像素為單位。

sortPriority
Int32

數據行的排序優先順序。

descendingSort
Boolean

如果應該針對數據行使用遞減排序,則為 true。

適用於