LineUIProviderBase
Represents base class for line UI providers.
Definition
Namespace:Telerik.WinForms.Documents.UI.UIProviders
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public abstract class LineUIProviderBase : IUIProvider
Inheritance: objectLineUIProviderBase
Derived Classes:
Implements:
Constructors
Creating a new instance of the LineUIProviderBase class.
public LineUIProviderBase(ParagraphLineInfo info)
The paragraph line info.
Fields
The provider's primary text block; its content depends on the derived provider.
protected IRadTextBlock mainTextBlock
The text blocks returned by this provider for insertion into its layer.
protected List<IRadTextBlock> radTextBlocks
Indicates whether revision-range membership should be checked on the next invalidation query.
protected bool shouldCheckForRevisionChanges
Properties
Gets the line bounding rectangle.
public abstract RectangleF BoundingRectangle { get; }
Implements:
Gets or sets the containing UI layer.
public IUILayer ContainingLayer { get; set; }
Implements:
Gets the update context most recently supplied to GetUIElements(UILayerUpdateContext) or UpdateUI(UILayerUpdateContext).
protected UILayerUpdateContext CurrentUpdateContext { get; set; }
Gets the value indicating whether the line is invalidated.
public bool IsInvalidated { get; protected set; }
Implements:
Gets the value indicating whether the line is removed.
public bool IsRemoved { get; }
Implements:
Gets the inline box selected as the positioning anchor for the line's visuals.
protected InlineLayoutBox LeftMostBox { get; }
Gets the paragraph line info.
public ParagraphLineInfo ParagraphLineInfo { get; }
Methods
Arranges the line.
public abstract void Arrange(UILayerUpdateContext uiLayerUpdateContext)
The UI layer update context.
Implements:
Releases the main text block's inline runs and clears its line-specific layout dimensions.
protected void ClearMainTextBlockProperties()
Creates the text-block visuals returned by this provider.
protected abstract void CreateUIElements()
Detaches the change handlers attached while creating the provider's visuals.
protected abstract void DetachInvalidateEvents()
Gets the collection of UI elements.
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The UI layer update context.
Returns:IEnumerable<UIElement>
Implements:
Releases the elements.
public virtual void ReleaseElements()
Implements:
Updates the UI.
public void UpdateUI(UILayerUpdateContext uiLayerUpdateContext)
The UI layer update context.
Implements: