iOS Guides | Samples

MonoTouch.UIKit.UIBarMetrics Enumeration

Enumerates layout bar metrics.

Syntax

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

Remarks

Members

Member NameDescription
CompactMetrics for the phone idiom.
CompactPromptDefault metrics for bars with prompts on the phone idiom.
DefaultThe default metrics for the device.
DefaultPromptDefault metrics for the device for bars with the prompt property, e.g., UINavigationBar and UISearchBar.
LandscapePhoneMetrics for landscape orientation for the phone idiom.
LandscapePhonePromptMetrics for landscape orientation for the phone idiom, for bar with the prompt property.

Requirements

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

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

See Also: Enum

Public Fields

CompactUIBarMetrics. Metrics for the phone idiom.
CompactPromptUIBarMetrics. Default metrics for bars with prompts on the phone idiom.
DefaultUIBarMetrics. The default metrics for the device.
DefaultPromptUIBarMetrics. Default metrics for the device for bars with the prompt property, e.g., UINavigationBar and UISearchBar.
LandscapePhoneUIBarMetrics. Metrics for landscape orientation for the phone idiom.
LandscapePhonePromptUIBarMetrics. Metrics for landscape orientation for the phone idiom, for bar with the prompt property.