Creates and positions the visual marker for a formatting-symbol layout box.
Definition
Namespace:Telerik.WinForms.Documents.UI.UIProviders
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class FormattingSymbolUIProvider : FormattingSymbolUIProviderBase, IUIProvider
Inheritance: objectFormattingSymbolUIProviderBaseFormattingSymbolUIProvider
Implements:
Inherited Members
Constructors
Initializes a provider for the specified formatting-symbol layout box.
public FormattingSymbolUIProvider(FormattingSymbolLayoutBox symbolBox)
The layout box whose formatting symbol should be rendered.
Properties
Gets the pooled text block that renders the formatting-symbol marker.
public IRadTextBlock FormattingSymbolTextBlock { get; }
Gets whether the marker must be recreated because formatting or its associated span or paragraph changed. Section-break markers are always treated as invalidated.
public override bool IsInvalidated { get; }
Overrides:
Methods
Positions the marker relative to its layout box and view offset, centering and clipping tab markers as needed.
public override void Arrange(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Overrides:
Lazily creates the marker text block and returns its UI element.
public override IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The current layer context.
Returns:IEnumerable<UIElement>
The UI element representing the formatting symbol.
Overrides:
Clears transient visual transforms and clipping, then returns the text block to the context's object pool.
public override void ReleaseElements()
Overrides: