DataGridViewAdvancedBorderStyle.Bottom Właściwość
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Pobiera lub ustawia styl dla dolnej krawędzi komórki.
public:
property System::Windows::Forms::DataGridViewAdvancedCellBorderStyle Bottom { System::Windows::Forms::DataGridViewAdvancedCellBorderStyle get(); void set(System::Windows::Forms::DataGridViewAdvancedCellBorderStyle value); };
public System.Windows.Forms.DataGridViewAdvancedCellBorderStyle Bottom { get; set; }
member this.Bottom : System.Windows.Forms.DataGridViewAdvancedCellBorderStyle with get, set
Public Property Bottom As DataGridViewAdvancedCellBorderStyle
Wartość właściwości
Jedna z DataGridViewAdvancedCellBorderStyle wartości.
Wyjątki
Określona wartość podczas ustawiania tej właściwości nie jest prawidłowymi DataGridViewAdvancedCellBorderStyle wartościami.
Określona wartość podczas ustawiania tej właściwości to NotSet.
Przykłady
Poniższy przykład kodu ilustruje użycie tej właściwości. Ten przykład jest częścią większego przykładu dostępnego w przeglądzie DataGridViewAdvancedBorderStyle klasy.
public override DataGridViewAdvancedBorderStyle AdjustedTopLeftHeaderBorderStyle
{
get
{
DataGridViewAdvancedBorderStyle newStyle =
new DataGridViewAdvancedBorderStyle();
newStyle.Top = DataGridViewAdvancedCellBorderStyle.None;
newStyle.Left = DataGridViewAdvancedCellBorderStyle.None;
newStyle.Bottom = DataGridViewAdvancedCellBorderStyle.Outset;
newStyle.Right = DataGridViewAdvancedCellBorderStyle.OutsetDouble;
return newStyle;
}
}
Public Overrides ReadOnly Property AdjustedTopLeftHeaderBorderStyle() _
As DataGridViewAdvancedBorderStyle
Get
Dim newStyle As New DataGridViewAdvancedBorderStyle()
With newStyle
.Top = DataGridViewAdvancedCellBorderStyle.None
.Left = DataGridViewAdvancedCellBorderStyle.None
.Bottom = DataGridViewAdvancedCellBorderStyle.Outset
.Right = DataGridViewAdvancedCellBorderStyle.OutsetDouble
End With
Return newStyle
End Get
End Property