ColumnState(String, Boolean, Double, Int32, Boolean) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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。