Represents a single position at an inline layout box without tracking an offset inside its text.
Definition
Namespace:Telerik.WinForms.Documents
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class InlineBoxPositionHandler : PositionHandler
Inheritance: objectPositionHandlerInlineBoxPositionHandler
Derived Classes:
Inherited Members
Constructors
Creates a handler for the same inline layout box as another handler.
public InlineBoxPositionHandler(InlineBoxPositionHandler toCopy)
The handler whose inline layout box is reused.
Initializes a handler for the specified inline layout box.
public InlineBoxPositionHandler(InlineLayoutBox box)
The inline layout box represented by the position.
Properties
Gets false because this handler represents one position and does not track an inline offset.
public override bool CanMoveToNext { get; }
Overrides:
Gets false because this handler represents one position and does not track an inline offset.
public override bool CanMoveToPrevious { get; }
Overrides:
Gets the inline layout box represented by this position.
public InlineLayoutBox CurrentInline { get; }
Methods
Creates a copy of this handler's current navigation state.
public override PositionHandler Clone()
A position handler representing the copied state.
Overrides:
Creates a word-level handler for this inline box.
public override PositionHandler GetParentHandler()
A WordPositionHandler rooted at this box.
Overrides:
Not supported because this handler represents a single position.
public override void MoveToFirst()
The operation is not supported by this handler.
Overrides:
Leaves the handler at its only position.
public override void MoveToLast()
Overrides:
Not supported because this handler represents a single position.
public override void MoveToNext()
The operation is not supported by this handler.
Overrides:
Not supported because this handler represents a single position.
public override void MoveToPrevious()
The operation is not supported by this handler.
Overrides:
Returns the associated inline's string representation when available.
public override string ToString()
The associated inline's string representation, or the base representation when no inline is available.
Overrides: