Skip to main content
All docs
V25.1
  • TranslateBehavior(Type, Nullable<Single>, IEnumerable<LanguageInfo>) Constructor

    Initializes a new instance of the TranslateBehavior class with specified settings.

    Namespace: DevExpress.AIIntegration.WinForms

    Assembly: DevExpress.AIIntegration.WinForms.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.WinForms

    Declaration

    public TranslateBehavior(
        Type behaviorSourceType,
        float? temperature = null,
        IEnumerable<LanguageInfo> languages = null
    )

    Parameters

    Name Type Description
    behaviorSourceType Type

    The type of target control to which the behavior is attached.

    Optional Parameters

    Name Type Default Description
    temperature Nullable<Single> null

    A number between 0 and 1 (or 0 and 2) depending on the AI behavior and model.

    languages IEnumerable<DevExpress.AIIntegration.WinForms.LanguageInfo> null

    The collection of target languages for text translation.

    See Also