Back to Devexpress

ReportLocalizationBehavior Class

xtrareports-devexpress-dot-aiintegration-dot-winforms-dot-reporting-e060a395.md

latest3.1 KB
Original Source

ReportLocalizationBehavior Class

An AI-powered Localization functionality that translates all localizable property values to the selected language.

Namespace : DevExpress.AIIntegration.WinForms.Reporting

Assembly : DevExpress.AIIntegration.WinForms.Reporting.v25.2.dll

NuGet Package : DevExpress.AIIntegration.WinForms.Reporting

Declaration

csharp
public class ReportLocalizationBehavior :
    ReportDesignerBehaviorBase
vb
Public Class ReportLocalizationBehavior
    Inherits ReportDesignerBehaviorBase

The following members return ReportLocalizationBehavior objects:

Remarks

The following code registers ReportLocalizationBehavior and attaches it to the WinForms Report Designer control:

csharp
using DevExpress.AIIntegration.WinForms.Reporting;
// ...
public partial class Form1 : Form {
    public Form1() {
        InitializeComponent();
        behaviorManager1.Attach<ReportLocalizationBehavior>(reportDesigner1, behavior => { });
    }
}
vb
Imports DevExpress.AIIntegration.WinForms.Reporting
' ...
Partial Public Class Form1
  Inherits Form

  Public Sub New()
    InitializeComponent()
    behaviorManager1.Attach(Of ReportLocalizationBehavior)(reportDesigner1, Sub(behavior)
    End Sub)
  End Sub
End Class

Review the following help topic for more information on how to use this functionality in the WinForms Report Designer: Localize Reports in the WinForms Report Designer.

Inheritance

Object DevExpress.Utils.MVVM.BehaviorBase DevExpress.Utils.Behaviors.Behavior DevExpress.Utils.Behaviors.Behavior<DevExpress.AIIntegration.WinForms.Reporting.Internal.IReportDesignerBehaviorSource> DevExpress.AIIntegration.WinForms.Reporting.Internal.ReportDesignerBehaviorBase ReportLocalizationBehavior

See Also

ReportLocalizationBehavior Members

DevExpress.AIIntegration.WinForms.Reporting Namespace