System.Windows.Forms.DataGridViewColumn.DividerWidth Property

Gets or sets the width, in pixels, of the column divider.

Syntax

[System.ComponentModel.DefaultValue(0)]
public int DividerWidth { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is useful to provide a visual boundary between frozen columns and columns that can scroll. The extra edge is part of the current column, although it will take on the foreground color of the associated System.Windows.Forms.DataGridView. The extra edge does not extend the area in which users can double-click to automatically resize a column. To resize a column, the user must double-click on the boundary between the divider and the adjacent column.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0