Creates and positions the leader visual associated with a tab stop that has a non-empty leader.
Definition
Namespace:Telerik.WinForms.Documents.UI.UIProviders
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class TabLeaderSymbolUIProvider : FormattingSymbolUIProviderBase, IUIProvider
Inheritance: objectFormattingSymbolUIProviderBaseTabLeaderSymbolUIProvider
Implements:
Inherited Members
Constructors
Initializes a provider for a formatting-symbol layout box associated with a tab stop.
public TabLeaderSymbolUIProvider(FormattingSymbolLayoutBox formattingSymbolLayoutBox)
The tab layout box whose leader should be rendered.
Properties
Gets whether changes to associated formatting, tab-stop settings, tab width, or formatting-symbol visibility require recreation. The visibility comparison uses ShowFormattingSymbolsLastEvaluatedValue, which this implementation does not update.
public override bool IsInvalidated { get; }
Overrides:
Gets the stored formatting-symbol visibility value compared by the invalidation check. The current implementation does not update this property from its default value.
public bool ShowFormattingSymbolsLastEvaluatedValue { get; }
Gets the tab-stop leader captured when the tab-leader visual was created.
public TabStopLeader TabStopLeaderLastEvaluatedValue { get; }
Gets the tab-stop position captured when the tab-leader visual was created.
public double TabStopPositionLastEvaluatedValue { get; }
Gets the tab-box width captured when the tab-leader visual was created.
public double TabStopWidthLastEvaluatedValue { get; }
Gets the pooled text block used to render the tab leader, if one was created.
public IRadTextBlock TabSymbolTextBlock { get; }
Methods
Positions the leader text block at the tab box's origin relative to the current view.
public override void Arrange(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Overrides:
Creates a leader text block when the tab stop is active and returns its UI element, if present.
public override IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The current layer context.
Returns:IEnumerable<UIElement>
The tab-leader UI element, or an empty sequence when no visual is created.
Overrides:
Clears the observed span and paragraph and returns the tab-leader text block to the object pool.
public override void ReleaseElements()
Overrides: