Freigeben über


DataGridView.Border Property

Definition

Gets a Border that represents the border of the DataGridView.

public:
 property Microsoft::Office::Interop::Excel::Border ^ Border { Microsoft::Office::Interop::Excel::Border ^ get(); };
public Microsoft.Office.Interop.Excel.Border Border { get; }
member this.Border : Microsoft.Office.Interop.Excel.Border
Public ReadOnly Property Border As Border

Property Value

A Border that represents the border of the DataGridView.

Examples

For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.Border. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Border property.

Applies to