.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditControlCompatibility.LoadHyperlinkAsField Property

Gets or sets whether to keep importing document hyperlinks when importing document fields is forbidden.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.1.Core.dll


public static bool LoadHyperlinkAsField { get; set; }
Public Shared Property LoadHyperlinkAsField As Boolean

Property Value

Type Description

true, to import hyperlinks; otherwise, false.


The hyperlink is a specific kind of a document field, therefore the DocumentCapabilitiesOptions.Fields property affects the hyperlink loading process when importing the document. Set the LoadHyperlinkAsField property to false before calling the InitializeComponent method to correct this behavior and allow loading hyperlinks when loading fields is disabled.

The LoadHyperlinkAsField property takes effect depending on DocumentCapabilitiesOptions.Fields and DocumentCapabilitiesOptions.Hyperlinks property values. If the DocumentCapabilitiesOptions.Fields is set to DocumentCapability.Disabled, and the DocumentCapabilitiesOptions.Hyperlinks property is set to DocumentCapability.Enabled, hyperlinks are properly loaded to the control. If both DocumentCapabilitiesOptions.Fields and DocumentCapabilitiesOptions.Hyperlinks properties are disabled, hyperlinks are not loaded.

See Also