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.v24.1.dll
NuGet Package: DevExpress.Wpf.Reporting
Declaration
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