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