iOS Guides | Samples

UIKit.UIOffset Structure

A position offset.

See Also: UIOffset

Syntax

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 5, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public struct UIOffset

Remarks

Represents a position offset. Positive values are to the right and down.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.UIOffset are listed below.

See Also: ValueType

Public Constructors

Public Fields

Horizontalnfloat. The horizontal offset.
Verticalnfloat. The vertical offset.
static readonly
ZeroUIOffset.

Public Methods

override
Equals(Object) : Boolean
Whether this has the same value as obj.
override
GetHashCode() : Int32
The hash code for this UIOffset.

Public Operators

static
Equality(UIOffset, UIOffset)Whether left is equal to right.
static
Inequality(UIOffset, UIOffset)Whether left is not equal to right.