Class
FloatingBlockHorizontalPosition

Describes the horizontal position of a FloatingBlock.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class FloatingBlockHorizontalPosition

Inheritance: objectFloatingBlockHorizontalPosition

Constructors

FloatingBlockHorizontalPosition()

Initializes a new instance of the FloatingBlockHorizontalPosition class.

Declaration

cs-api-definition
public FloatingBlockHorizontalPosition()

FloatingBlockHorizontalPosition(HorizontalRelativeFrom, RadHorizontalAlignment)

Initializes a new instance of the FloatingBlockHorizontalPosition class.

Declaration

cs-api-definition
public FloatingBlockHorizontalPosition(HorizontalRelativeFrom relativeFrom, RadHorizontalAlignment alignment)

Parameters

relativeFrom

HorizontalRelativeFrom

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

alignment

RadHorizontalAlignment

The alignment.

FloatingBlockHorizontalPosition(HorizontalRelativeFrom, double)

Initializes a new instance of the FloatingBlockHorizontalPosition class.

Declaration

cs-api-definition
public FloatingBlockHorizontalPosition(HorizontalRelativeFrom relativeFrom, double offset)

Parameters

relativeFrom

HorizontalRelativeFrom

The horizontal 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 RadHorizontalAlignment Alignment { get; set; }

Property Value

RadHorizontalAlignment

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 horizontal object or edge the position should be relative from.

Declaration

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

Property Value

HorizontalRelativeFrom

The HorizontalRelativeFrom 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.