ClassHyperlinkUIProviderBase
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:
public abstract class HyperlinkUIProviderBase : IUIProvider
Inheritance: objectHyperlinkUIProviderBase
Derived Classes:
Implements:
Constructors
HyperlinkUIProviderBase()
Declaration
protected HyperlinkUIProviderBase()
Properties
BoundingRectangle
Gets the bounding rectangle of the hyperlink UI element.
Declaration
public abstract RectangleF BoundingRectangle { get; }
Property Value
Implements
ContainingLayer
Gets the layer that contains the hyperlink UI elements.
Declaration
public IUILayer ContainingLayer { get; set; }
Property Value
Implements
HyperlinkInline
Represents the hyperlink inline element within the Hyperlink UI provider.
IsInvalidated
Gets a value indicating whether the hyperlink UI provider has been invalidated.
Declaration
public abstract bool IsInvalidated { get; }
Property Value
Implements
IsRemoved
Gets a value indicating whether the hyperlink has been removed.
Declaration
public abstract bool IsRemoved { get; }
Property Value
Implements
UIElement
Gets the UI element associated with the Hyperlink UI Provider.
Declaration
public abstract FrameworkElement UIElement { get; }
Property Value
FrameworkElement
Methods
Arrange(UILayerUpdateContext)
Arranges the UI elements for the hyperlink provider, updating the specified UI layer context.
Declaration
public abstract void Arrange(UILayerUpdateContext uILayerUpdateContext)
Parameters
uILayerUpdateContext
The context that contains information about how the UI layer should be updated.
Implements
GetUIElements(UILayerUpdateContext)
Retrieves the user interface elements associated with the hyperlink provider.
Declaration
public abstract IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
Parameters
context
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
RegisterHyperlinkHandlers(UIElement)
Declaration
protected void RegisterHyperlinkHandlers(UIElement uiElement)
Parameters
uiElement
UIElement
ReleaseElements()
Releases the elements managed by the HyperlinkUIProviderBase class.
Declaration
public abstract void ReleaseElements()
Implements
UnregisterHyperlinkHandlers(UIElement)
Declaration
protected void UnregisterHyperlinkHandlers(UIElement uiElement)
Parameters
uiElement
UIElement
UpdateUI(UILayerUpdateContext)
Updates the user interface for the hyperlink provider based on the specified update context.
Declaration
public abstract void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
Parameters
uILayerUpdateContext
The context that contains information about the UI layer update.
Implements