Represents a delegate that handles the positioning of a container within a document.
Definition
Namespace:Telerik.Windows.Documents
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ContainerPositionHandler : PositionHandler
Inheritance: objectPositionHandlerContainerPositionHandler
Derived Classes:
Inherited Members
Constructors
Fields
protected LayoutBox childPosition
Properties
Determines whether the container can move to the next position in the document.
public override bool CanMoveToNext { get; }
Overrides:
Determines whether the cursor can move to the previous position within the container.
public override bool CanMoveToPrevious { get; }
Overrides:
Methods
Creates a clone of the current instance of the ContainerPositionHandler.
public override PositionHandler Clone()
A new instance of ContainerPositionHandler that is a copy of the current instance.
Overrides:
Retrieves the child position handler associated with the current position.
public virtual PositionHandler GetChildPositionHandler(bool first)
A boolean value indicating whether to include hidden elements in the search for child position handlers.
Returns:A ContainerPositionHandler that represents the child position handler, or null if no such handler exists.
Retrieves the parent container position handler associated with the current handler.
public override PositionHandler GetParentHandler()
The parent ContainerPositionHandler instance, or null if there is no parent handler.
Overrides:
Moves the container position to the first element in the container.
public override void MoveToFirst()
Overrides:
Moves the position of the container to the last element within it.
public override void MoveToLast()
Overrides:
Moves the container position to the next item in the sequence.
public override void MoveToNext()
Overrides:
Moves the current position to the previous container in the document.
public override void MoveToPrevious()
Overrides:
Sets the position of a child layout box within the container.
public void SetChildPosition(LayoutBox position)
The layout box whose position is to be set.