Freigeben über


DataGridView.BottomRightCell Property

Definition

Gets a Range object that represents the cell that lies under the lower-right corner of the DataGridView.

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

Property Value

A Range object that represents the cell that lies under the lower-right corner of the DataGridView.

Examples

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

Remarks

The cell returned depends on how many cells the control overlaps and the setting of the Placement property.

Applies to