ClassShapeAnchorBase
Base class for inline anchors that contain floating shapes with absolute positioning, text wrapping, and layout configuration.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Shapes
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public abstract class ShapeAnchorBase : InlineBase
Inheritance: objectDocumentElementBaseInlineBaseShapeAnchorBase
Derived Classes:
Inherited Members
Properties
AllowOverlap
Gets or sets whether this shape can overlap other floating shapes.
Declaration
public bool AllowOverlap { get; set; }
Property Value
The allow overlap value.
HorizontalPosition
Gets or sets the horizontal positioning configuration defining the shape's placement along the horizontal axis.
Declaration
public HorizontalPosition HorizontalPosition { get; set; }
Property Value
The horizontal position.
IsBehindDocument
Gets or sets whether the shape is displayed behind text content (true) or in front of it (false).
Declaration
public bool IsBehindDocument { get; set; }
Property Value
The is behind document.
IsLocked
Gets or sets whether the anchor's position and properties are locked against modification.
Declaration
public bool IsLocked { get; set; }
Property Value
The value indicating if the anchor can be modified at runtime..
LayoutInCell
Gets or sets whether the shape's layout is calculated relative to the containing table cell when positioned inside a table.
Declaration
public bool LayoutInCell { get; set; }
Property Value
True if the layout of the shape should be calculated relative to the cell that is holding the shape.
Margin
Gets or sets the spacing around the shape that separates it from surrounding text.
Declaration
public Padding Margin { get; set; }
Property Value
The margin.
VerticalPosition
Gets or sets the vertical positioning configuration defining the shape's placement along the vertical axis.
Declaration
public VerticalPosition VerticalPosition { get; set; }
Property Value
The vertical position.
Wrapping
Gets or sets how text wraps around the shape (square, tight, through, top and bottom, none).
Declaration
public ShapeWrapping Wrapping { get; set; }
Property Value
The wrapping.
Methods
ClonePropertiesFrom(ShapeAnchorBase)
Creates deep copy of the element properties of the fromShapeAnchor and sets them to this instance.
Declaration
protected void ClonePropertiesFrom(ShapeAnchorBase fromShapeAnchor)
Parameters
fromShapeAnchor
The shape anchor to clone property elements from.