Gets or sets the AutomaticDialogEnum object that indicates
whether the synonym dialog box will be used and the language that should be used to display it.
Namespace:
C1.Win.C1ThesaurusAssembly: C1.Win.C1Thesaurus.2 (in C1.Win.C1Thesaurus.2.dll)
Syntax
C# |
---|
[BrowsableAttribute(true)] [DefaultValueAttribute(AutomaticDialogEnum.EnglishDialog)] public AutomaticDialogEnum AutomaticDialog { get; set; } |
Visual Basic (Declaration) |
---|
<BrowsableAttribute(True)> _ <DefaultValueAttribute(AutomaticDialogEnum.EnglishDialog)> _ Public Property AutomaticDialog As AutomaticDialogEnum |
Remarks
The default value is EnglishDialog.
Examples
To use the Spanish language when the synonym box is displayed, use the following code:
- Visual Basic

Private Sub btnThesaurus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnThesaurus.Click TextBox1.SelectedText = Me.C1Thesaurus1.CheckWord(TextBox1.SelectedText) Me.C1Thesaurus1.AutomaticDialog = C1.Win.C1Thesaurus.AutomaticDialogEnum.SpanishDialog End Sub |
- C#

privatevoid btnThesaurus_Click(object sender, EventArgs e) { textBox1.SelectedText = this.c1Thesaurus1.CheckWord(textBox1.SelectedText); this.c1Thesaurus1.AutomaticDialog = C1.Win.C1Thesaurus.AutomaticDialogEnum.SpanishDialog; } |