DataGrid.GridLineStyle Propriedade
Definição
Obtém ou define o estilo de linha da grade.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
Valor da propriedade
Um dos valores de DataGridLineStyle.One of the DataGridLineStyle values. O padrão é Solid.The default is Solid.
Exemplos
O exemplo de código a seguir altera a GridLineStyle propriedade para não mostrar nenhuma linha.The following code example changes the GridLineStyle property to show no lines.
DataGrid1.GridLineStyle = DataGridLineStyle.None