TX Text Control .NET Server

ShowEditButton Property

Property|Introduced in 23.0
Namespace
TXTextControl.DocumentServer.Web
Package
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.Web.DocumentViewer.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies whether the edit button is shown or not.

Syntax

public bool ShowEditButton { get; set; }

Examples

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.");
}