DataGridLineStyle Sabit listesi
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Dikkat
DataGrid is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use DataGridView instead.
DataGridkılavuz çizgilerinin stilini belirtir.
public enum class DataGridLineStyle
public enum DataGridLineStyle
[System.ComponentModel.Browsable(false)]
[System.Obsolete("`DataGrid` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `DataGridView` instead.", false, DiagnosticId="WFDEV006", UrlFormat="https://aka.ms/winforms-warnings/{0}")]
public enum DataGridLineStyle
type DataGridLineStyle =
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("`DataGrid` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `DataGridView` instead.", false, DiagnosticId="WFDEV006", UrlFormat="https://aka.ms/winforms-warnings/{0}")>]
type DataGridLineStyle =
Public Enum DataGridLineStyle
- Devralma
- Öznitelikler
Alanlar
| Name | Değer | Description |
|---|---|---|
| None | 0 | Hücreler arasında kılavuz çizgisi yok. |
| Solid | 1 | Hücreler arasında düz kılavuz çizgileri. |
Örnekler
Aşağıdaki örnek özelliğini olarak DataGridLineStyle.NoneayarlarGridLineStyle.
private:
void SetGridLineAttributes()
{
dataGrid1->GridLineStyle = DataGridLineStyle::None;
}
private void SetGridLineAttributes()
{
dataGrid1.GridLineStyle = DataGridLineStyle.None;
}
Private Sub SetGridLineAttributes()
dataGrid1.GridLineStyle = DataGridLineStyle.None
End Sub
Açıklamalar
Sınıfının özelliğinin değerini ayarlamak için bu numaralandırmanın GridLineStyle üyelerini System.Windows.Forms.DataGrid kullanın. Varsayılan değer: Solid.