ScrollPosition Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.dll
Description
Determines a position to where the input position is scrolled.
Syntax
public enum InputPosition.ScrollPositionPublic Enum InputPosition.ScrollPositionMembers
| Member | Value | Description |
|---|---|---|
| Left | 1 | Scrolls the input position to the left side of the visible portion of the document. |
| Top | 4 | Scrolls the input position to the top of the visible portion of the document. |
| Right | 2 | Scrolls the input position to the right side of the visible portion of the document. |
| Bottom | 8 | Scrolls the input position to the bottom of the visible portion of the document. |
| Auto | 0 | Not described in the reference. |
Examples
The following example selects the Auto value from the Scroll Position enumeration and uses it as a documented workflow choice.
InputPosition.ScrollPosition value = InputPosition.ScrollPosition.Auto;
Console.WriteLine($"Using Scroll Position: {value}");Dim value As InputPosition.ScrollPosition = InputPosition.ScrollPosition.Auto
Console.WriteLine($"Using Scroll Position: {value}")