RichEditControlCompatibility.LoadHyperlinkAsField Property
Gets or sets whether to keep importing document hyperlinks when importing document fields is forbidden.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to import hyperlinks; otherwise, false. |
Remarks
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 the InitializeComponent method call to correct this behavior and allow the RichEditControl to load hyperlinks when field loading 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.