HyperLinkEdit.Text Property
Gets or sets the text representing the command for the hyperlink editor.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#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.