New to Telerik UI for WinFormsStart a free 30-day trial

Represents base class for line UI providers.

Definition

Namespace:Telerik.WinForms.Documents.UI.UIProviders

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public abstract class LineUIProviderBase : IUIProvider

Inheritance: objectLineUIProviderBase

Derived Classes: LineNumberingUIProvider

Implements: IUIProvider

Constructors

Creating a new instance of the LineUIProviderBase class.

C#
public LineUIProviderBase(ParagraphLineInfo info)
Parameters:infoParagraphLineInfo

The paragraph line info.

Fields

C#
protected IRadTextBlock mainTextBlock
C#
protected List<IRadTextBlock> radTextBlocks
C#
protected bool shouldCheckForRevisionChanges

Properties

Gets the line bounding rectangle.

C#
public abstract RectangleF BoundingRectangle { get; }

Implements: IUIProvider.BoundingRectangle

Gets or sets the containing UI layer.

C#
public IUILayer ContainingLayer { get; set; }

Implements: IUIProvider.ContainingLayer

C#
protected UILayerUpdateContext CurrentUpdateContext { get; set; }

Gets the value indicating whether the line is invalidated.

C#
public bool IsInvalidated { get; protected set; }

Implements: IUIProvider.IsInvalidated

Gets the value indicating whether the line is removed.

C#
public bool IsRemoved { get; }

Implements: IUIProvider.IsRemoved

C#
protected InlineLayoutBox LeftMostBox { get; }

Gets the paragraph line info.

C#
public ParagraphLineInfo ParagraphLineInfo { get; }

Methods

Arranges the line.

C#
public abstract void Arrange(UILayerUpdateContext uiLayerUpdateContext)
Parameters:uiLayerUpdateContextUILayerUpdateContext

The UI layer update context.

Implements: IUIProvider.Arrange(UILayerUpdateContext)

C#
protected void ClearMainTextBlockProperties()
C#
protected abstract void CreateUIElements()
C#
protected abstract void DetachInvalidateEvents()

Gets the collection of UI elements.

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

The UI layer update context.

Returns:

IEnumerable<UIElement>

Implements: IUIProvider.GetUIElements(UILayerUpdateContext)

Releases the elements.

C#
public virtual void ReleaseElements()

Implements: IUIProvider.ReleaseElements()

Updates the UI.

C#
public void UpdateUI(UILayerUpdateContext uiLayerUpdateContext)
Parameters:uiLayerUpdateContextUILayerUpdateContext

The UI layer update context.

Implements: IUIProvider.UpdateUI(UILayerUpdateContext)