StaticFilesPath Property
- 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.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
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; }Public Property StaticFilesPath() As StringExamples
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}");
}textControlSettings.APIRoute = "Quarterly report"
If Not String.IsNullOrWhiteSpace(textControlSettings.APIRoute) Then
Console.WriteLine($"APIRoute: {textControlSettings.APIRoute}")
End If