Describes the vertical position of a FloatingBlock.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class FloatingBlockVerticalPosition
Inheritance: objectFloatingBlockVerticalPosition
Constructors
Initializes a new instance of the FloatingBlockVerticalPosition class.
public FloatingBlockVerticalPosition()
Initializes a new instance of the FloatingBlockVerticalPosition class.
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, double offset)
The vertical object or edge the position should be relative from.
offsetdoubleThe offset.
Initializes a new instance of the FloatingBlockVerticalPosition class.
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, RadVerticalAlignment alignment)
The vertical object or edge the position should be relative from.
alignmentRadVerticalAlignmentThe alignment.
Properties
Gets or sets the alignment.
[XamlSerializable]
public RadVerticalAlignment Alignment { get; set; }
The alignment.
Gets or sets the offset.
[XamlSerializable]
public double Offset { get; set; }
The offset.
Determines the vertical object or edge the position should be relative from.
[XamlSerializable]
public VerticalRelativeFrom RelativeFrom { get; set; }
The VerticalRelativeFrom value.
Determines whether the position should be moved with a specific offset or aligned to other elements.
[XamlSerializable]
public PositionValueType ValueType { get; set; }
The type of the value.