Bearbeiten

Freigeben über


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

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