TX Text Control .NET Server

StaticFilesPath Property

Property|Introduced in 23.0
Not found
No package of this release declares this member on this type or on a class it derives from.
Namespace
TXTextControl.Web.MVC
Package
TXTextControl.Web as TXTextControl.Web.DocumentEditor.dll from nuget.org, the private NuGet feed or Text Control Offline Packages

Description

Specifies or returns the path for static files. Is /TXTextControl.Web/ by default.

Syntax

No package of this release declares this member. The declaration below is the reference's, and code that uses it does not compile.

public string StaticFilesPath { get; set; }

Examples

StaticFilesPath belonged to the older server-control surface. In the current ASP.NET Core integration, use TextControlSettings.APIRoute for the corresponding editor configuration.

textControlSettings.APIRoute = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControlSettings.APIRoute))
{
    Console.WriteLine($"APIRoute: {textControlSettings.APIRoute}");
}