Invokes the built-in dialog box for setting the language of the selected text.
Introduced: X10.
public DialogResult LanguageDialog();
The return value can be one of the following values:
This example shows how to interact with the Language
textControl1.Text = "TXTextControl.TextControl.LanguageDialog";
TXTextControl.Selection _sel = new TXTextControl.Selection(0,40);
textControl1.Selection = _sel;
if (textControl1.LanguageDialog() == DialogResult.OK)
{
MessageBox.Show("the selected language could be set");
}
else {
MessageBox.Show("the selected language could NOT be set");
}