New to Telerik UI for WinForms? Start a free 30-day trial

Creates and positions the leader visual associated with a tab stop that has a non-empty leader.

Definition

Constructors

Initializes a provider for a formatting-symbol layout box associated with a tab stop.

C#
public TabLeaderSymbolUIProvider(FormattingSymbolLayoutBox formattingSymbolLayoutBox)
Parameters:formattingSymbolLayoutBoxFormattingSymbolLayoutBox

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.

C#
public override bool IsInvalidated { get; }

Overrides: FormattingSymbolUIProviderBase.IsInvalidated

Gets the stored formatting-symbol visibility value compared by the invalidation check. The current implementation does not update this property from its default value.

C#
public bool ShowFormattingSymbolsLastEvaluatedValue { get; }

Gets the tab-stop leader captured when the tab-leader visual was created.

C#
public TabStopLeader TabStopLeaderLastEvaluatedValue { get; }

Gets the tab-stop position captured when the tab-leader visual was created.

C#
public double TabStopPositionLastEvaluatedValue { get; }

Gets the tab-box width captured when the tab-leader visual was created.

C#
public double TabStopWidthLastEvaluatedValue { get; }

Gets the pooled text block used to render the tab leader, if one was created.

C#
public IRadTextBlock TabSymbolTextBlock { get; }

Methods

Positions the leader text block at the tab box's origin relative to the current view.

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

The current layer context.

Overrides: FormattingSymbolUIProviderBase.Arrange(UILayerUpdateContext)

Creates a leader text block when the tab stop is active and returns its UI element, if present.

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

The current layer context.

Returns:

IEnumerable<UIElement>

The tab-leader UI element, or an empty sequence when no visual is created.

Overrides: FormattingSymbolUIProviderBase.GetUIElements(UILayerUpdateContext)

Clears the observed span and paragraph and returns the tab-leader text block to the object pool.

C#
public override void ReleaseElements()

Overrides: FormattingSymbolUIProviderBase.ReleaseElements()