windowsforms-devexpress-dot-xtrapivotgrid-dot-customizationformshowingeventargs-35f7bd45.md
Gets or sets the control to which the Customization Form belongs.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.XtraPivotGrid.v25.2.dll
NuGet Package : DevExpress.Win.PivotGrid
public Control ParentControl { get; set; }
Public Property ParentControl As Control
| Type | Description |
|---|---|
| Control |
A Control descendant (pivot grid) which owns the Customization Form.
|
Note
If a ParentControl is assigned to the Customization Form, the PivotGridControl.CustomizationFormBounds property is ignored.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ParentControl property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-pivot-display-the-customization-form-near-the-pivotgrid/CS/StandaloneCustForm/Form1.cs#L21
// Set the control that owns the Customization Form.
e.ParentControl = splitContainerControl1.Panel2;
winforms-pivot-display-the-customization-form-near-the-pivotgrid/VB/StandaloneCustForm/Form1.vb#L23
' Set the control that owns the Customization Form.
e.ParentControl = splitContainerControl1.Panel2
See Also
CustomizationFormShowingEventArgs Class