Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridChartController.CustomizationForm Property

Provides access to the customization form associated with the View controller.

#Declaration

Delphi
property CustomizationForm: TcxGridChartCustomizationForm read;

#Property Value

Type
TcxGridChartCustomizationForm

#Remarks

When the customization form is not displayed, this property returns nil.

Use the View’s Controller.Customization property to toggle the visibility of the customization form.

The TcxGridChartCustomizationForm class is a TForm descendant. To get the dimensions and position of the form, you can use the members inherited from TForm such as the BoundsRect or CustomizationFormBounds property.

The following code demonstrates how to open the customization form and make it translucent:

var
  AController: TcxGridChartController;
begin
  if Grid.FocusedView is TcxGridChartView then
  begin
    AController := TcxGridChartController(Grid.FocusedView.Controller);
    AController.Customization := True;
    AController.CustomizationForm.AlphaBlendValue := 200;
    AController.CustomizationForm.AlphaBlend := True;
  end;
end;

Note

All form properties except for CustomizationFormBounds can only be set only when the form is open.

See Also