Skip to main content

TcxGridChartController.CustomizationForm Property

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

Declaration

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