New to Telerik UI for WPFStart a free 30-day trial

Represents a base class for hyperlink UI providers in the RadRichTextBox. This class provides functionality to manage hyperlinks within the document's UI context.

Definition

Namespace:Telerik.Windows.Documents.UI.UIProviders

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public abstract class HyperlinkUIProviderBase : IUIProvider

Inheritance: objectHyperlinkUIProviderBase

Derived Classes: DrawingUIProviderHyperlinkUIProvider

Implements: IUIProvider

Constructors

C#
protected HyperlinkUIProviderBase()

Properties

Gets the bounding rectangle of the hyperlink UI element.

C#
public abstract RectangleF BoundingRectangle { get; }

Implements: IUIProvider.BoundingRectangle

Gets the layer that contains the hyperlink UI elements.

C#
public IUILayer ContainingLayer { get; set; }

Implements: IUIProvider.ContainingLayer

Gets the current update context for the Hyperlink UI Provider.

C#
public abstract UILayerUpdateContext CurrentUpdateContext { get; }

Represents the hyperlink inline element within the Hyperlink UI provider.

C#
public abstract Inline HyperlinkInline { get; }

Gets a value indicating whether the hyperlink UI provider has been invalidated.

C#
public abstract bool IsInvalidated { get; }

Implements: IUIProvider.IsInvalidated

Gets a value indicating whether the hyperlink has been removed.

C#
public abstract bool IsRemoved { get; }

Implements: IUIProvider.IsRemoved

UIElement

FrameworkElement

Gets the UI element associated with the Hyperlink UI Provider.

C#
public abstract FrameworkElement UIElement { get; }

Methods

Arranges the UI elements for the hyperlink provider, updating the specified UI layer context.

C#
public abstract void Arrange(UILayerUpdateContext uILayerUpdateContext)
Parameters:uILayerUpdateContextUILayerUpdateContext

The context that contains information about how the UI layer should be updated.

Implements: IUIProvider.Arrange(UILayerUpdateContext)

C#
protected string GetToolTipContent()
Returns:

string

Retrieves the user interface elements associated with the hyperlink provider.

C#
public abstract IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
Parameters:contextUILayerUpdateContext

The context of the UI layer update that contains information needed to generate the UI elements.

Returns:

IEnumerable<UIElement>

A collection of UI elements that represent the hyperlinks in the document.

Implements: IUIProvider.GetUIElements(UILayerUpdateContext)

C#
protected void RegisterHyperlinkHandlers(UIElement uiElement)
Parameters:uiElementUIElement

Releases the elements managed by the HyperlinkUIProviderBase class.

C#
public abstract void ReleaseElements()

Implements: IUIProvider.ReleaseElements()

C#
protected void UnregisterHyperlinkHandlers(UIElement uiElement)
Parameters:uiElementUIElement

Updates the user interface for the hyperlink provider based on the specified update context.

C#
public abstract void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
Parameters:uILayerUpdateContextUILayerUpdateContext

The context that contains information about the UI layer update.

Implements: IUIProvider.UpdateUI(UILayerUpdateContext)