Share via


DataGridView.Placement Property

Definition

Gets or sets an object that indicates the way the DataGridView is attached to the cells below it.

public:
 property System::Object ^ Placement { System::Object ^ get(); void set(System::Object ^ value); };
public object Placement { get; set; }
member this.Placement : obj with get, set
Public Property Placement As Object

Property Value

One of the following XlPlacement values: xlFreeFloating. xlMovexlMoveAndSize.

Examples

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

Applies to