Back to Devexpress

CustomizationFormShowingEventArgs.ParentControl Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-customizationformshowingeventargs-35f7bd45.md

latest2.9 KB
Original Source

CustomizationFormShowingEventArgs.ParentControl Property

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

Declaration

csharp
public Control ParentControl { get; set; }
vb
Public Property ParentControl As Control

Property Value

TypeDescription
Control

A Control descendant (pivot grid) which owns the Customization Form.

|

Remarks

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

csharp
// 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

vb
' Set the control that owns the Customization Form.
e.ParentControl = splitContainerControl1.Panel2

See Also

CustomizationFormShowingEventArgs Class

CustomizationFormShowingEventArgs Members

DevExpress.XtraPivotGrid Namespace