New to Telerik UI for WinFormsStart a free 30-day trial

Describes the vertical position of a FloatingBlock.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class FloatingBlockVerticalPosition

Inheritance: objectFloatingBlockVerticalPosition

Constructors

Initializes a new instance of the FloatingBlockVerticalPosition class.

C#
public FloatingBlockVerticalPosition()

Initializes a new instance of the FloatingBlockVerticalPosition class.

C#
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, double offset)
Parameters:relativeFromVerticalRelativeFrom

The vertical object or edge the position should be relative from.

offsetdouble

The offset.

Initializes a new instance of the FloatingBlockVerticalPosition class.

C#
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, RadVerticalAlignment alignment)
Parameters:relativeFromVerticalRelativeFrom

The vertical object or edge the position should be relative from.

alignmentRadVerticalAlignment

The alignment.

Properties

Gets or sets the alignment.

C#
[XamlSerializable]
public RadVerticalAlignment Alignment { get; set; }
Property Value:

The alignment.

Gets or sets the offset.

C#
[XamlSerializable]
public double Offset { get; set; }
Property Value:

The offset.

Determines the vertical object or edge the position should be relative from.

C#
[XamlSerializable]
public VerticalRelativeFrom RelativeFrom { get; set; }
Property Value:

The VerticalRelativeFrom value.

Determines whether the position should be moved with a specific offset or aligned to other elements.

C#
[XamlSerializable]
public PositionValueType ValueType { get; set; }
Property Value:

The type of the value.