DataGrid.GridLineStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the line style of the grid.
public:
property System::Windows::Forms::DataGridLineStyle GridLineStyle { System::Windows::Forms::DataGridLineStyle get(); void set(System::Windows::Forms::DataGridLineStyle value); };
public System.Windows.Forms.DataGridLineStyle GridLineStyle { get; set; }
member this.GridLineStyle : System.Windows.Forms.DataGridLineStyle with get, set
Public Property GridLineStyle As DataGridLineStyle
Property Value
One of the DataGridLineStyle values. The default is Solid
.
Examples
The following code example changes the GridLineStyle property to show no lines.
DataGrid1.GridLineStyle = DataGridLineStyle.None
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.