Provides the shared layout-box and formatting-change tracking used by formatting-symbol and tab-leader visuals.
Definition
Namespace:Telerik.WinForms.Documents.UI.UIProviders
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public abstract class FormattingSymbolUIProviderBase : IUIProvider
Inheritance: objectFormattingSymbolUIProviderBase
Derived Classes:
Implements:
Constructors
protected FormattingSymbolUIProviderBase()
Properties
Gets or sets the paragraph whose relevant formatting changes can invalidate the visual.
protected Paragraph AssociatedParagraph { get; set; }
Gets or sets the span whose formatting changes can invalidate the visual; changing it updates the observed span.
protected Span AssociatedSpan { get; set; }
Gets the layout bounds of the formatting-symbol box represented by this provider.
public RectangleF BoundingRectangle { get; }
Implements:
Gets or sets the layer that hosts this provider's visual marker.
public IUILayer ContainingLayer { get; set; }
Implements:
Gets the layer-update context most recently supplied when creating the provider's visual.
public UILayerUpdateContext CurrentUpdateContext { get; protected set; }
Gets or sets the formatting-symbol layout box represented by this provider.
public FormattingSymbolLayoutBox FormattingSymbolBox { get; protected set; }
Gets whether observed formatting changes require the provider's visual to be recreated.
public virtual bool IsInvalidated { get; }
Implements:
Gets or sets the invalidation state set by observed formatting changes or derived-provider checks.
protected bool IsInvalidatedFlag { get; set; }
Methods
Positions the provider's visual elements within the current view.
public abstract void Arrange(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Implements:
Creates or retrieves the UI elements representing the formatting symbol.
public abstract IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The current layer context.
Returns:IEnumerable<UIElement>
The UI elements to host in the containing layer.
Implements:
Releases any visual elements created by the provider.
public abstract void ReleaseElements()
Implements:
Does nothing in the base implementation; providers can override it to refresh their visual.
public virtual void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Implements: