Skip to main content
A newer version of this page is available. .

RichEditControlCompatibility.LoadHyperlinkAsField Property

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v18.2.Core.dll

Declaration

public static bool LoadHyperlinkAsField { get; set; }

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 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