Gets or sets the width of the column.
Assembly: PresentationFramework (in PresentationFramework.dll)
String representation of a Double value. This is interpreted as a device-independent unit (1/96th inch) measurement. Strings need not explicitly include decimal points. For instance a value of 1 is acceptable.
A double value as described above, followed by one of the following unit declaration strings: px, in, cm, pt.
px (default) is device-independent units (1/96th inch per unit)
in is inches; 1in==96px
cm is centimeters; 1cm==(96/2.54) px
pt is points; 1pt==(96/72) px
Enables autosizing behavior. See Remarks.
The following example shows how to set theproperty.
GridViewColumn gvc1 = new GridViewColumn(); gvc1.DisplayMemberBinding = new Binding("FirstName"); gvc1.Header = "FirstName"; gvc1.Width = 100;
Available since 3.0