Skip to main content

ASPxClientHtmlEditorInsertLinkCommandArguments.text Property

Specifiies the text of the target link.

Declaration

text: string

Property Value

Type Description
string

A string value specifying the text of the target link.

Remarks

// Inserting a new hyperlink to the current cursor position
var args = new ASPxClientHtmlEditorInsertLinkCommandArguments(htmlEditor);
args.target = "_blank";
args.text = "Visit our website";
args.title = "DevExpress";
args.url = "https://www.devexpress.com";
htmlEditor.ExecuteCommand(ASPxClientCommandConsts.INSERTLINK_COMMAND, args);
See Also