Class
FloatingBlockVerticalPosition

Describes the vertical position of a FloatingBlock.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class FloatingBlockVerticalPosition

Inheritance: objectFloatingBlockVerticalPosition

Constructors

FloatingBlockVerticalPosition()

Initializes a new instance of the FloatingBlockVerticalPosition class.

Declaration

cs-api-definition
public FloatingBlockVerticalPosition()

FloatingBlockVerticalPosition(VerticalRelativeFrom, RadVerticalAlignment)

Initializes a new instance of the FloatingBlockVerticalPosition class.

Declaration

cs-api-definition
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, RadVerticalAlignment alignment)

Parameters

relativeFrom

VerticalRelativeFrom

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

alignment

RadVerticalAlignment

The alignment.

FloatingBlockVerticalPosition(VerticalRelativeFrom, double)

Initializes a new instance of the FloatingBlockVerticalPosition class.

Declaration

cs-api-definition
public FloatingBlockVerticalPosition(VerticalRelativeFrom relativeFrom, double offset)

Parameters

relativeFrom

VerticalRelativeFrom

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

offset

double

The offset.

Properties

Alignment

Gets or sets the alignment.

Declaration

cs-api-definition
[XamlSerializable]
public RadVerticalAlignment Alignment { get; set; }

Property Value

RadVerticalAlignment

The alignment.

Offset

Gets or sets the offset.

Declaration

cs-api-definition
[XamlSerializable]
public double Offset { get; set; }

Property Value

double

The offset.

RelativeFrom

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

Declaration

cs-api-definition
[XamlSerializable]
public VerticalRelativeFrom RelativeFrom { get; set; }

Property Value

VerticalRelativeFrom

The VerticalRelativeFrom value.

ValueType

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

Declaration

cs-api-definition
[XamlSerializable]
public PositionValueType ValueType { get; set; }

Property Value

PositionValueType

The type of the value.