GridView.CustomizationFormBounds Property
Sets the boundaries of the Customization Form. Reading this property may not return the actual boundaries of the Customization Form.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
[Browsable(false)]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public Rectangle CustomizationFormBounds { get; set; }
Property Value
Type | Description |
---|---|
Rectangle | A Rectangle structure representing the Customization Form’s boundaries. |
Remarks
Use the CustomizationFormBounds property to specify the position and size of the Customization Form. The coordinates of the form are relative to the top left corner of the screen. If the Top and Left attributes of the CustomizationFormBounds are set to (0, 0) the Customization Form will be displayed on the form’s bottom right corner.
By default, the CustomizationFormBounds property is set to Size(X=0, Y=0, Width=0, Height=0). This displays the Customization Form at the bottom right corner of the main form with the automatically calculated size.
The CustomizationFormBounds property is not updated when opening and then moving the Customization Form. The property will be updated with the new boundaries when closing the Customization Form.
To get the actual boundaries of the Customization Form (when it’s visible), use the Bounds property of the GridView.CustomizationForm object.