Class FloatingBlockVerticalPosition
Describes the vertical position of a FloatingBlock.
Inheritance
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class FloatingBlockVerticalPosition : Object
Constructors
FloatingBlockVerticalPosition()
Initializes a new instance of the FloatingBlockVerticalPosition class.
Declaration
public FloatingBlockVerticalPosition()
FloatingBlockVerticalPosition(VerticalRelativeFrom, Double)
Initializes a new instance of the FloatingBlockVerticalPosition class.
Declaration
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, double offset)
Parameters
VerticalRelativeFrom
relativeFrom
The vertical object or edge the position should be relative from. |
System.Double
offset
The offset. |
FloatingBlockVerticalPosition(VerticalRelativeFrom, RadVerticalAlignment)
Initializes a new instance of the FloatingBlockVerticalPosition class.
Declaration
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, RadVerticalAlignment alignment)
Parameters
VerticalRelativeFrom
relativeFrom
The vertical object or edge the position should be relative from. |
RadVerticalAlignment
alignment
The alignment. |
Properties
Alignment
Gets or sets the alignment.
Declaration
[XamlSerializable]
public RadVerticalAlignment Alignment { get; set; }
Property Value
RadVerticalAlignment
The alignment. |
Offset
Gets or sets the offset.
Declaration
[XamlSerializable]
public double Offset { get; set; }
Property Value
System.Double
The offset. |
RelativeFrom
Determines the vertical object or edge the position should be relative from.
Declaration
[XamlSerializable]
public VerticalRelativeFrom RelativeFrom { get; set; }
Property Value
VerticalRelativeFrom
The VerticalRelativeFrom value. |
ValueType
Determines whether the position should be moved with a specific offset or aligned to other elements.
Declaration
[XamlSerializable]
public PositionValueType ValueType { get; set; }
Property Value
PositionValueType
The type of the value. |