Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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

See Also