iOS Guides | Samples

MonoTouch.UIKit.UISemanticContentAttribute Enumeration

Describes a view's contents so that the app dev can control if it should be flipped between left-to-right and right-to-left layouts.

Syntax

[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UISemanticContentAttribute

Members

Member NameDescription
ForceLeftToRightForces the contents to be laid out left to right.
ForceRightToLeftForces the contents to be laid out right to left.
PlaybackIndicates a view that contains playback controls, which are not left-right flipped.
SpatialIndicates a view that contains directional controls, which are not left-right flipped.
UnspecifiedIndicates a default left-right view that is flipped when necessary.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UISemanticContentAttribute are listed below.

See Also: Enum

Public Fields

ForceLeftToRightUISemanticContentAttribute. Forces the contents to be laid out left to right.
ForceRightToLeftUISemanticContentAttribute. Forces the contents to be laid out right to left.
PlaybackUISemanticContentAttribute. Indicates a view that contains playback controls, which are not left-right flipped.
SpatialUISemanticContentAttribute. Indicates a view that contains directional controls, which are not left-right flipped.
UnspecifiedUISemanticContentAttribute. Indicates a default left-right view that is flipped when necessary.