Class FloatingBlock
Defines a block which can be positioned on its own line and wrapped up by the surrounding elements.
Inherited Members
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public abstract class FloatingBlock : AnnotationMarkerBase
Constructors
FloatingBlock()
Properties
AffectsLayout
Gets a value indicating whether the block affects the layout of the document.
Declaration
public bool AffectsLayout { get; }
Property Value
System.Boolean
|
AllowOverlap
Gets or sets a value indicating whether the block can overlap with other blocks.
Declaration
[XamlSerializable]
public bool AllowOverlap { get; set; }
Property Value
System.Boolean
|
BackspaceBehavior
Defines the behavior when the users press the Backspace key to delete the element.
Declaration
public override AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The behavior. |
Overrides
DeleteBehavior
Defines the behavior when the users try to delete the element using the Delete key.
Declaration
public override AnnotationMarkerDeleteBehavior DeleteBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The behavior. |
Overrides
DeleteSelectedBehavior
Defines the behavior when the users try to delete the element while the latter is selected.
Declaration
public override AnnotationMarkerDeleteBehavior DeleteSelectedBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The delete selected behavior. |
Overrides
HorizontalPosition
Gets or sets the horizontal position.
Declaration
[XamlCompositePropertySerializable]
public FloatingBlockHorizontalPosition HorizontalPosition { get; set; }
Property Value
FloatingBlockHorizontalPosition
The horizontal position. |
Exceptions
System.ArgumentNullException
Value cannot be null. |
Margin
Gets or sets the margin.
Declaration
[XamlSerializable]
public Thickness Margin { get; set; }
Property Value
System.Windows.Thickness
The margin. |
Exceptions
System.ArgumentNullException
Value cannot be null. |
SkipPositionBefore
Declaration
public override bool SkipPositionBefore { get; }
Property Value
System.Boolean
|
Overrides
TextWrap
Gets or sets the text wrap determining how the text should be positioned around the floating block.
Declaration
[XamlSerializable]
public TextWrap TextWrap { get; set; }
Property Value
TextWrap
The text wrap. |
VerticalPosition
Gets or sets the vertical position.
Declaration
[XamlCompositePropertySerializable]
public FloatingBlockVerticalPosition VerticalPosition { get; set; }
Property Value
FloatingBlockVerticalPosition
The vertical position. |
Exceptions
System.ArgumentNullException
Value cannot be null. |
WrappingStyle
Gets or sets a value defining how the other elements can be wrapped around the floating block.
Declaration
[XamlSerializable]
public WrappingStyle WrappingStyle { get; set; }
Property Value
WrappingStyle
The wrapping style. |
Methods
CopyContentFromOverride(DocumentElement)
Copies the content of an element into the current instance.
Declaration
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters
DocumentElement
fromElement
From element. |
Overrides
CopyPropertiesFromOverride(DocumentElement)
Copies the properties from another element into the current instance.
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
DocumentElement
fromElement
From element. |
Overrides
CreateLayoutBox(DocumentStructureCollection)
Creates a layout box for the element.
Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
DocumentStructureCollection
documentCollection
The document collection. |
Returns
LayoutBox
|