HyperLinkEdit.Text Property
Gets or sets the text representing the command for the hyperlink editor.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
[DXCategory("Appearance")]
[Bindable(true)]
[Browsable(true)]
public override string Text { get; set; }
Property Value
Type | Description |
---|---|
String | A string representing the command for the hyperlink editor. |
Remarks
The Text specifies the command executed when activating the hyperlink and this occurs by:
- clicking or double-click the editor’s contents depending on the RepositoryItemHyperLinkEdit.SingleClick value
- pressing the shortcut specified by RepositoryItemHyperLinkEdit.StartKey
- calling the HyperLinkEdit.ShowBrowser method without parameters
The Text property matches the value of the editor’s BaseEdit.EditValue property. Assigning a string to Text modifies BaseEdit.EditValue and vice versa.
The display text for the hyperlink editor is controlled by the RepositoryItemHyperLinkEdit.Caption property. If this is set to an empty string, the display text is identified by the Text property. Otherwise, the editor displays the value of the RepositoryItemHyperLinkEdit.Caption property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Text property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.