UIBarMetrics Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates layout bar metrics.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIBarMetrics
type UIBarMetrics =
- Inheritance
-
UIBarMetrics
- Attributes
Fields
Compact | 1 | Metrics for the phone idiom. |
CompactPrompt | 102 | Default metrics for bars with prompts on the phone idiom. |
Default | 0 | The default metrics for the device. |
DefaultPrompt | 101 | Default metrics for the device for bars with the prompt property, e.g., UINavigationBar and UISearchBar. |
LandscapePhone | 1 | Developers should not use this deprecated field. Developers should use 'UIBarMetrics.Compat' instead. |
LandscapePhonePrompt | 102 | Metrics for landscape orientation for the phone idiom, for bar with the prompt property. |