Class VerticalPosition
Specifies vertical shape positioning.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Shapes
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class VerticalPosition
Constructors
VerticalPosition()
VerticalPosition(VerticalRelativeFrom, Double)
Initializes a new instance of the VerticalPosition class.
Declaration
public VerticalPosition(VerticalRelativeFrom relativeFrom, double offset)
Parameters
VerticalRelativeFrom
relativeFrom
The relative from. |
System.Double
offset
The offset. |
VerticalPosition(VerticalRelativeFrom, RelativeVerticalAlignment)
Initializes a new instance of the VerticalPosition class.
Declaration
public VerticalPosition(VerticalRelativeFrom relativeFrom, RelativeVerticalAlignment alignment)
Parameters
VerticalRelativeFrom
relativeFrom
The relative from. |
RelativeVerticalAlignment
alignment
The alignment. |
Properties
Alignment
Gets or sets the alignment to be used if the position type is alignment.
Declaration
public RelativeVerticalAlignment Alignment { get; set; }
Property Value
RelativeVerticalAlignment
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 VerticalRelativeFrom RelativeFrom { get; set; }
Property Value
VerticalRelativeFrom
The vertical 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. |