net9.0-windows10.0.22621
namespace System.Windows.Forms
{
    [ComplexBindingProperties("DataSource", "DataMember")]
    [DefaultEvent("CellContentClick")]
    [DefaultMember("Item")]
    [Designer("System.Windows.Forms.Design.DataGridViewDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [Docking(DockingBehavior.Ask)]
    [Editor("System.Windows.Forms.Design.DataGridViewComponentEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(ComponentEditor))]
    public class DataGridView : Control, ISupportInitialize
    {
        [Localizable(true)]
        public int ColumnHeadersHeight { get; set; }
    }
}
NetFx Compat Lab
7.3 %
Reference this API
5.8 %
Get property
5.3 %
Set property
nuget.org
0.1 %
Reference this API
0.1 %
Get property
0.1 %
Set property
Upgrade Planner
0.2 %
Reference this API
0.1 %
Get property
0.2 %
Set property
.NET 5.06.07.08.09.0
.NET Core 3.03.1
.NET Framework 2.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Windows 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621
Information specific to net9.0-windows10.0.22621
Assembly

System.Windows.Forms , Version=9.0.0.0, PublicKeyToken=b77a5c561934e089

Referencing

Your project needs to set <UseWindowsForms>True</UseWindowsForms>.

Platform Restrictions

The property getter is only supported on the following platforms:

  • Windows >= 6.1

The property setter is only supported on the following platforms:

  • Windows >= 6.1
  • Built-in API
  • Package-provided API

10/31/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙