ClassFloatingBlockVerticalPosition
Describes the vertical position of a FloatingBlock.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class FloatingBlockVerticalPosition
Inheritance: objectFloatingBlockVerticalPosition
Constructors
FloatingBlockVerticalPosition()
Initializes a new instance of the FloatingBlockVerticalPosition class.
Declaration
public FloatingBlockVerticalPosition()
FloatingBlockVerticalPosition(VerticalRelativeFrom, RadVerticalAlignment)
Initializes a new instance of the FloatingBlockVerticalPosition class.
Declaration
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, RadVerticalAlignment alignment)
Parameters
relativeFrom
The vertical object or edge the position should be relative from.
alignment
The alignment.
FloatingBlockVerticalPosition(VerticalRelativeFrom, double)
Initializes a new instance of the FloatingBlockVerticalPosition class.
Declaration
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, double offset)
Parameters
relativeFrom
The vertical object or edge the position should be relative from.
offset
The offset.
Properties
Alignment
Gets or sets the alignment.
Declaration
[XamlSerializable]
public RadVerticalAlignment Alignment { get; set; }
Property Value
The alignment.
Offset
Gets or sets the offset.
Declaration
[XamlSerializable]
public double Offset { get; set; }
Property Value
The offset.
RelativeFrom
Determines the vertical object or edge the position should be relative from.
Declaration
[XamlSerializable]
public VerticalRelativeFrom RelativeFrom { get; set; }
Property Value
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
The type of the value.