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

Example: TreeList.Customizing, Customizing.MakeBandPageVisible, Customizing.MakeColumnPageVisible, SimpleCustomizeBox

The following sample shows how to display the customization form. The ShowCustomizationForm method accepts the following parameters:

AIsSimple specifies whether the customization form is in simple mode. If set to True, the form will have only the columns sheet available; otherwise, both the columns and the bands sheets are exposed.

AMakeBandsSheetVisible specifies whether to switch to the bands sheet when the customization form is displayed. Note that this parameter has no effect unless AIsSimple is set to False.

procedure ShowCustomizationForm(AIsSimple, AMakeBandsPageVisible: Boolean);
begin
  cxTreeList.OptionsView.SimpleCustomizeBox := AIsSimple;
  if not AIsSimple then
    begin
      if AMakeBandsSheetVisible then
        cxTreeList.Customizing. AMakeBandsPageVisible
      else
        cxTreeList.Customizing.MakeColumnPageVisible;
    end;
    cxTreeList.Customizing.Visible := True;
end;