DataGridView.DisplayedColumnCount(Boolean) DataGridView.DisplayedColumnCount(Boolean) DataGridView.DisplayedColumnCount(Boolean) DataGridView.DisplayedColumnCount(Boolean) Method

Definition

Returns the number of columns displayed to the user.

public:
 int DisplayedColumnCount(bool includePartialColumns);
public int DisplayedColumnCount (bool includePartialColumns);
member this.DisplayedColumnCount : bool -> int
Public Function DisplayedColumnCount (includePartialColumns As Boolean) As Integer

Parameters

includePartialColumns
Boolean Boolean Boolean Boolean

true to include partial columns in the displayed column count; otherwise, false.

Returns

The number of columns displayed to the user.

Applies to

See also