Provides shared hyperlink interaction handling for inline visuals hosted by document UI layers.
Definition
Namespace:Telerik.WinForms.Documents.UI.UIProviders
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public abstract class HyperlinkUIProviderBase : IUIProvider
Inheritance: objectHyperlinkUIProviderBase
Derived Classes:
Implements:
Constructors
protected HyperlinkUIProviderBase()
Properties
Gets the rectangle the layer uses to determine whether this provider intersects the current viewport.
public abstract RectangleF BoundingRectangle { get; }
Implements:
Gets or sets the layer to which this provider's visual elements are attached.
public IUILayer ContainingLayer { get; set; }
Implements:
Gets the document inline represented by the provider and used for hyperlink navigation.
public abstract Inline HyperlinkInline { get; }
Gets whether the layer should discard this provider and obtain a current one on its next update.
public abstract bool IsInvalidated { get; }
Implements:
Gets whether the associated document element has been removed.
public abstract bool IsRemoved { get; }
Implements:
Gets the framework element that receives hyperlink pointer interaction.
public abstract FrameworkElement UIElement { get; }
Methods
Positions the provider's visual elements using the current layout and view offset.
public abstract void Arrange(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Implements:
Gets the visual elements that represent the associated inline in the layer.
public abstract IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The presenter and viewport information for the update.
Returns:IEnumerable<UIElement>
The visual elements to host in the layer.
Implements:
Attaches pointer handlers that follow the document's hyperlink navigation mode and updates the tooltip when a format is configured.
protected void RegisterHyperlinkHandlers(UIElement uiElement)
The visual that should respond to hyperlink interaction.
Detaches hyperlink handlers and releases the provider's visual resources.
public abstract void ReleaseElements()
Implements:
Detaches the hyperlink pointer handlers previously attached to a visual.
protected void UnregisterHyperlinkHandlers(UIElement uiElement)
The visual from which to remove the handlers.
Refreshes the provider's existing visual elements for a new layer context.
public abstract void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Implements: