DialogLocation Property
- Namespace
TXTextControl.Windows. Forms
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the location of the dialog where the Sidebar is placed, if the Sidebar.IsPinned property is set to false. To place the dialog into the center of the top most control, the property value must be set to System.Drawing.Point.Empty. The default value is System.Drawing.Point.Empty.
Syntax
public Point DialogLocation { get; set; }Public Property DialogLocation As PointExamples
The following example uses Sidebar.DialogLocation to configure dialog location as part of the sidebar workflow. The change is then applied to the active document or user interface.
sidebar.DialogLocation = new System.Drawing.Point(20, 20);
sidebar.Update();sidebar.DialogLocation = New System.Drawing.Point(20, 20)
sidebar.Update()