Class
InlineBoxPositionHandler

Handles the positioning of inline boxes in Telerik documents.

Definition

Namespace:Telerik.Windows.Documents

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class InlineBoxPositionHandler : PositionHandler

Inheritance: objectPositionHandlerInlineBoxPositionHandler

Derived Classes: SpanBoxPositionHandler

Inherited Members PositionHandler.Equals(object)PositionHandler.GetHashCode()PositionHandler.Box

Constructors

InlineBoxPositionHandler(InlineBoxPositionHandler)

Declaration

cs-api-definition
public InlineBoxPositionHandler(InlineBoxPositionHandler toCopy)

Parameters

toCopy

InlineBoxPositionHandler

InlineBoxPositionHandler(InlineLayoutBox)

Declaration

cs-api-definition
public InlineBoxPositionHandler(InlineLayoutBox box)

Parameters

box

InlineLayoutBox

Properties

CanMoveToNext

Determines whether the specified position can be moved to the next inline box.

Declaration

cs-api-definition
public override bool CanMoveToNext { get; }

Property Value

bool

Overrides PositionHandler.CanMoveToNext

CanMoveToPrevious

Determines whether the specified position can move to the previous inline box.

Declaration

cs-api-definition
public override bool CanMoveToPrevious { get; }

Property Value

bool

Overrides PositionHandler.CanMoveToPrevious

CurrentInline

Gets the current inline box position handler.

Declaration

cs-api-definition
public InlineLayoutBox CurrentInline { get; }

Property Value

InlineLayoutBox

The current InlineBoxPositionHandler instance.

Location

Represents the location of an inline box within a document.

Declaration

cs-api-definition
public override PointF Location { get; }

Property Value

PointF

Overrides PositionHandler.Location

Methods

Clone()

Creates a copy of the current InlineBoxPositionHandler instance.

Declaration

cs-api-definition
public override PositionHandler Clone()

Returns

PositionHandler

A new instance of InlineBoxPositionHandler that is a clone of the current instance.

Overrides PositionHandler.Clone()

GetParentHandler()

Retrieves the parent inline box position handler associated with the current instance.

Declaration

cs-api-definition
public override PositionHandler GetParentHandler()

Returns

PositionHandler

The parent InlineBoxPositionHandler if one exists; otherwise, null.

Overrides PositionHandler.GetParentHandler()

MoveToFirst()

Moves the position to the first inline box within the current context.

Declaration

cs-api-definition
public override void MoveToFirst()

Overrides PositionHandler.MoveToFirst()

MoveToLast()

Moves the inline box position to the last available position.

Declaration

cs-api-definition
public override void MoveToLast()

Overrides PositionHandler.MoveToLast()

MoveToNext()

Moves to the next inline box position in the document.

Declaration

cs-api-definition
public override void MoveToNext()

Overrides PositionHandler.MoveToNext()

MoveToPrevious()

Moves the position to the previous inline box within the document.

Declaration

cs-api-definition
public override void MoveToPrevious()

Overrides PositionHandler.MoveToPrevious()

ToString()

Converts the current instance of the InlineBoxPositionHandler class to its string representation.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current instance.

Overrides object.ToString()