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