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

Describes the horizontal position of a FloatingBlock.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class FloatingBlockHorizontalPosition

Inheritance: objectFloatingBlockHorizontalPosition

Constructors

Initializes a new instance of the FloatingBlockHorizontalPosition class.

C#
public FloatingBlockHorizontalPosition()

Initializes a new instance of the FloatingBlockHorizontalPosition class.

C#
public FloatingBlockHorizontalPosition(HorizontalRelativeFrom relativeFrom, double offset)
Parameters:relativeFromHorizontalRelativeFrom

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

offsetdouble

The offset.

Initializes a new instance of the FloatingBlockHorizontalPosition class.

C#
public FloatingBlockHorizontalPosition(HorizontalRelativeFrom relativeFrom, RadHorizontalAlignment alignment)
Parameters:relativeFromHorizontalRelativeFrom

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

alignmentRadHorizontalAlignment

The alignment.

Properties

Gets or sets the alignment.

C#
[XamlSerializable]
public RadHorizontalAlignment 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 horizontal object or edge the position should be relative from.

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

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