ShowEditButton Property
- Namespace
TXTextControl.DocumentServer. Web
- Package
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWeb. DocumentViewer. dll
Description
Specifies whether the edit button is shown or not.
Syntax
public bool ShowEditButton { get; set; }Public Property ShowEditButton As BooleanExamples
DocumentServer.Web.DocumentViewer.ShowEditButton belongs to the legacy Web Forms viewer. In the current ASP.NET Core viewer, configure the server-rendered component through DocumentViewerSettings.IsSelectionActivated; interactive page state and styling are handled by the viewer client.
documentViewerSettings.IsSelectionActivated = true;
if (documentViewerSettings.IsSelectionActivated)
{
Console.WriteLine("Is Selection Activated is enabled for Document Viewer Settings.");
}documentViewerSettings.IsSelectionActivated = True
If documentViewerSettings.IsSelectionActivated Then
Console.WriteLine("Is Selection Activated is enabled for Document Viewer Settings.")
End If