Location Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Defines the starting location of the dialog if the StartPosition property is set to TXSpell.DialogStartPosition.Manual. The default value is null
Syntax
public Point? Location { get; set; }Public Property Location As Point?Examples
The following example uses ShowDialogSettings.Location to configure location as part of the show dialog settings workflow. The configured value is checked before the workflow continues.
showDialogSettings.Location = new System.Windows.Point(20, 20);
if (showDialogSettings.Location != null)
{
Console.WriteLine("Show Dialog Settings: Location is available.");
}showDialogSettings.Location = New System.Windows.Point(20, 20)
If showDialogSettings.Location IsNot Nothing Then
Console.WriteLine("Show Dialog Settings: Location is available.")
End If