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