Share via


ColumnState(String, Boolean, Double, Int32, Boolean) Constructor

Definition

Create a ColumnState with the indicated attributes.

 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)

Parameters

name
String

The name of the column that this state applies to.

isVisible
Boolean

The visibility of the column.

width
Double

The width of the column in pixels.

sortPriority
Int32

The sort priority for the column.

descendingSort
Boolean

true if a descending sort should be used for the column.

Applies to