All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ReportDesigner.UnregisterControl<T>() Method

Unregisters a control from the Report Designer and removes it from the Toolbox.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v21.2.dll

Declaration

public static void UnregisterControl<T>()
    where T : XRControl

Type Parameters

Name Description
T

The control’s type.

Remarks

The following example demonstrates how to unregister the XRLabel control to remove it from the Report Designer‘s Toolbox.

using DevExpress.Xpf.Reports.UserDesigner;
using DevExpress.XtraReports.UI;
//...

private void Window_Loaded(object sender, RoutedEventArgs e) {
    ReportDesigner.UnregisterControl<XRLabel>();
    reportDesigner.OpenDocument(new XtraReport());
}
See Also