RepositoryItemHyperLinkEdit Class
Represents the class which provides settings specific to a HyperLinkEdit control.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v23.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Related API Members
The following members return RepositoryItemHyperLinkEdit objects:
Remarks
The RepositoryItemHyperLinkEdit class provides members specific to a hyperlink editor. You can use properties and events of the class to customize the editor’s look & feel and behavior. To access these settings, see the HyperLinkEdit.Properties property.
For instance, you can specify:
- shortcut to activate hyperlink functionality (the RepositoryItemHyperLinkEdit.StartKey property)
- whether the program activated by the editor should be run minimized, maximized, hidden or normal (see the RepositoryItemHyperLinkEdit.BrowserWindowStyle property)
- caption to represent the command to execute (the RepositoryItemHyperLinkEdit.Caption property)
- text color (the RepositoryItemHyperLinkEdit.LinkColor property)
- whether the command should be activated by single- or double-click (the RepositoryItemHyperLinkEdit.SingleClick property)
- text editing style (the RepositoryItemHyperLinkEdit.TextEditStyle property)
- event handler to control hyperlink command execution (the RepositoryItemHyperLinkEdit.OpenLink event), etc
hyperLinkEdit1.Properties.StartKey = new KeyShortcut(Keys.Alt | Keys.Enter);
hyperLinkEdit1.Properties.BrowserWindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized;
hyperLinkEdit1.Properties.Caption = "DevExpress";
hyperLinkEdit1.Text = "www.devexpress.com";
hyperLinkEdit1.Properties.LinkColor = Color.Purple;
You do not need to create repository items manually unless you have to create inplace editors for container controls (such as XtraGrid).