TX Text Control .NET for WPF

Major Property

Property|Introduced in 21.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the major version number.

Syntax

public int Major { get; }

Examples

The following example verifies that the installed TX Text Control runtime has the required major version.

VersionInfo versionInfo = textControl.GetVersionInfo();
if (versionInfo.Major < 34)
{
    throw new NotSupportedException("TX Text Control 34 or later is required.");
}

Limitations

Read only.