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

Handles the positioning of inline boxes in Telerik documents.

Definition

Namespace:Telerik.Windows.Documents

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class InlineBoxPositionHandler : PositionHandler

Inheritance: objectPositionHandlerInlineBoxPositionHandler

Derived Classes: SpanBoxPositionHandler

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

Constructors

C#
public InlineBoxPositionHandler(InlineBoxPositionHandler toCopy)
Parameters:toCopyInlineBoxPositionHandler
C#
public InlineBoxPositionHandler(InlineLayoutBox box)
Parameters:boxInlineLayoutBox

Properties

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

C#
public override bool CanMoveToNext { get; }

Overrides: PositionHandler.CanMoveToNext

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

C#
public override bool CanMoveToPrevious { get; }

Overrides: PositionHandler.CanMoveToPrevious

Gets the current inline box position handler.

C#
public InlineLayoutBox CurrentInline { get; }
Property Value:

The current InlineBoxPositionHandler instance.

Represents the location of an inline box within a document.

C#
public override PointF Location { get; }

Overrides: PositionHandler.Location

Methods

Creates a copy of the current InlineBoxPositionHandler instance.

C#
public override PositionHandler Clone()
Returns:

PositionHandler

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

Overrides: PositionHandler.Clone()

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

C#
public override PositionHandler GetParentHandler()
Returns:

PositionHandler

The parent InlineBoxPositionHandler if one exists; otherwise, null.

Overrides: PositionHandler.GetParentHandler()

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

C#
public override void MoveToFirst()

Overrides: PositionHandler.MoveToFirst()

Moves the inline box position to the last available position.

C#
public override void MoveToLast()

Overrides: PositionHandler.MoveToLast()

Moves to the next inline box position in the document.

C#
public override void MoveToNext()

Overrides: PositionHandler.MoveToNext()

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

C#
public override void MoveToPrevious()

Overrides: PositionHandler.MoveToPrevious()

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

C#
public override string ToString()
Returns:

string

A string that represents the current instance.

Overrides: object.ToString()