ClassHyperlinkUIProvider
Provides UI-related functionalities for managing and displaying hyperlinks within the document viewer.
Definition
Namespace:Telerik.Windows.Documents.UI.UIProviders
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class HyperlinkUIProvider : HyperlinkUIProviderBase, IUIProvider
Inheritance: objectHyperlinkUIProviderBaseHyperlinkUIProvider
Implements:
Inherited Members
Constructors
HyperlinkUIProvider(SpanLayoutBox)
Declaration
public HyperlinkUIProvider(SpanLayoutBox spanBox)
Parameters
spanBox
Properties
BoundingRectangle
Gets the bounding rectangle for the hyperlink UI provider.
Declaration
public override RectangleF BoundingRectangle { get; }
Property Value
Overrides
CurrentUpdateContext
Gets the current update context for the Hyperlink UI Provider.
Declaration
public UILayerUpdateContext CurrentUpdateContext { get; }
Property Value
HyperlinkInline
Represents the inline element for hyperlinks in the UI provider.
Declaration
public override Inline HyperlinkInline { get; }
Property Value
Overrides
HyperlinkTextBlock
Represents a text block that displays a hyperlink within the user interface.
Declaration
public IRadTextBlock HyperlinkTextBlock { get; }
Property Value
IsInvalidated
Gets a value indicating whether the Hyperlink UI provider is invalidated.
Declaration
public override bool IsInvalidated { get; }
Property Value
Overrides
IsRemoved
Gets a value indicating whether the hyperlink has been removed.
SpanBox
Represents a user interface provider for hyperlink operations, specifically managing the span box component of hyperlinks.
UIElement
Represents the UI element associated with the Hyperlink user interface provider.
Declaration
public override FrameworkElement UIElement { get; }
Property Value
FrameworkElement
Overrides
Methods
Arrange(UILayerUpdateContext)
Arranges the UI elements for the hyperlink provider based on the specified update context.
Declaration
public override void Arrange(UILayerUpdateContext uILayerUpdateContext)
Parameters
uILayerUpdateContext
Overrides
GetUIElements(UILayerUpdateContext)
Retrieves the UI elements associated with hyperlinks in the specified update context.
Declaration
public override IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
Parameters
context
The update context that provides information about the current UI layer state.
Returns
IEnumerable<UIElement>
A collection of UI elements representing the hyperlinks.
Overrides
ReleaseElements()
Releases the elements associated with the Hyperlink UI provider, freeing any resources used.
Declaration
public override void ReleaseElements()
Overrides
UpdateUI(UILayerUpdateContext)
Updates the user interface for the hyperlink provider based on the specified context.
Declaration
public override void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
Parameters
uILayerUpdateContext
Overrides