Class HorizontalPosition
Specifies horizontal shape positioning.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Shapes
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class HorizontalPosition
Constructors
HorizontalPosition()
HorizontalPosition(HorizontalRelativeFrom, Double)
Initializes a new instance of the HorizontalPosition class.
Declaration
public HorizontalPosition(HorizontalRelativeFrom relativeFrom, double offset)
Parameters
HorizontalRelativeFrom
relativeFrom
The relative from. |
System.Double
offset
The offset. |
HorizontalPosition(HorizontalRelativeFrom, RelativeHorizontalAlignment)
Initializes a new instance of the HorizontalPosition class.
Declaration
public HorizontalPosition(HorizontalRelativeFrom relativeFrom, RelativeHorizontalAlignment alignment)
Parameters
HorizontalRelativeFrom
relativeFrom
The relative from. |
RelativeHorizontalAlignment
alignment
The alignment. |
Properties
Alignment
Gets or sets the alignment to be used if the position type is alignment.
Declaration
public RelativeHorizontalAlignment Alignment { get; set; }
Property Value
RelativeHorizontalAlignment
The alignment. |
Offset
Gets or sets the offset to be used if the position type is offset.
Declaration
public double Offset { get; set; }
Property Value
System.Double
The offset. |
RelativeFrom
Gets or sets the relative horizontal positioning base.
Declaration
public HorizontalRelativeFrom RelativeFrom { get; set; }
Property Value
HorizontalRelativeFrom
The horizontal relative from value. |
ValueType
Gets or sets the type of the positioning.
Declaration
public PositionValueType ValueType { get; set; }
Property Value
PositionValueType
The type of the positioning. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
System.Boolean
True if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |