Freigeben über


DataGridView.ShapeRange Property

Definition

Gets a ShapeRange object that represents the DataGridView.

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

Property Value

A ShapeRange object that represents the DataGridView.

Examples

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

Applies to