Compartilhar via


DataGridView.Shape Property

Definition

Gets the underlying Shape of the DataGridView.

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

Property Value

The underlying Shape of the DataGridView.

Remarks

The Shape property enables you get the exact position of the control on the document.

If the wrapping style of the control is set to In line with text, the Shape property returns null.

Applies to