Height Property
- Namespace
TXTextControl.Web. MVC
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
Gets or sets the height of the control in the browser in percent, pixels or any other valid CSS length unit.
Syntax
public string Height { get; set; }Public Property Height As StringExamples
In the current ASP.NET Core integration, Height is configured through TextControlSettings. The following example sets it while creating the editor configuration.
textControlSettings.Height = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControlSettings.Height))
{
Console.WriteLine($"Height: {textControlSettings.Height}");
}textControlSettings.Height = "Quarterly report"
If Not String.IsNullOrWhiteSpace(textControlSettings.Height) Then
Console.WriteLine($"Height: {textControlSettings.Height}")
End If