Class
LineUIProviderBase

Represents base class for line UI providers.

Definition

Namespace:Telerik.Windows.Documents.UI.UIProviders

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public abstract class LineUIProviderBase : IUIProvider

Inheritance: objectLineUIProviderBase

Derived Classes: LineNumberingUIProviderLineUIProvider

Implements: IUIProvider

Constructors

LineUIProviderBase(ParagraphLineInfo)

Creating a new instance of the LineUIProviderBase class.

Declaration

cs-api-definition
public LineUIProviderBase(ParagraphLineInfo info)

Parameters

info

ParagraphLineInfo

The paragraph line info.

Fields

mainTextBlock

Declaration

cs-api-definition
protected IRadTextBlock mainTextBlock

Field Value

IRadTextBlock

radTextBlocks

Declaration

cs-api-definition
protected List<IRadTextBlock> radTextBlocks

Field Value

List<IRadTextBlock>

shouldCheckForRevisionChanges

Declaration

cs-api-definition
protected bool shouldCheckForRevisionChanges

Field Value

bool

Properties

BoundingRectangle

Gets the line bounding rectangle.

Declaration

cs-api-definition
public abstract RectangleF BoundingRectangle { get; }

Property Value

RectangleF

Implements IUIProvider.BoundingRectangle

ContainingLayer

Gets or sets the containing UI layer.

Declaration

cs-api-definition
public IUILayer ContainingLayer { get; set; }

Property Value

IUILayer

Implements IUIProvider.ContainingLayer

CurrentUpdateContext

Declaration

cs-api-definition
protected UILayerUpdateContext CurrentUpdateContext { get; set; }

Property Value

UILayerUpdateContext

IsInvalidated

Gets the value indicating whether the line is invalidated.

Declaration

cs-api-definition
public bool IsInvalidated { get; protected set; }

Property Value

bool

Implements IUIProvider.IsInvalidated

IsRemoved

Gets the value indicating whether the line is removed.

Declaration

cs-api-definition
public bool IsRemoved { get; }

Property Value

bool

Implements IUIProvider.IsRemoved

LeftMostBox

Declaration

cs-api-definition
protected InlineLayoutBox LeftMostBox { get; }

Property Value

InlineLayoutBox

ParagraphLineInfo

Gets the paragraph line info.

Declaration

cs-api-definition
public ParagraphLineInfo ParagraphLineInfo { get; }

Property Value

ParagraphLineInfo

Methods

Arrange(UILayerUpdateContext)

Arranges the line.

Declaration

cs-api-definition
public abstract void Arrange(UILayerUpdateContext uiLayerUpdateContext)

Parameters

uiLayerUpdateContext

UILayerUpdateContext

The UI layer update context.

Implements IUIProvider.Arrange(UILayerUpdateContext)

ClearMainTextBlockProperties()

Declaration

cs-api-definition
protected void ClearMainTextBlockProperties()

CreateUIElements()

Declaration

cs-api-definition
protected abstract void CreateUIElements()

DetachInvalidateEvents()

Declaration

cs-api-definition
protected abstract void DetachInvalidateEvents()

GetUIElements(UILayerUpdateContext)

Gets the collection of UI elements.

Declaration

cs-api-definition
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)

Parameters

context

UILayerUpdateContext

The UI layer update context.

Returns

IEnumerable<UIElement>

Implements IUIProvider.GetUIElements(UILayerUpdateContext)

ReleaseElements()

Releases the elements.

Declaration

cs-api-definition
public virtual void ReleaseElements()

Implements IUIProvider.ReleaseElements()

UpdateUI(UILayerUpdateContext)

Updates the UI.

Declaration

cs-api-definition
public void UpdateUI(UILayerUpdateContext uiLayerUpdateContext)

Parameters

uiLayerUpdateContext

UILayerUpdateContext

The UI layer update context.

Implements IUIProvider.UpdateUI(UILayerUpdateContext)