UIBarItem Class
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.
[Foundation.Register("UIBarItem", true)]
public class UIBarItem : Foundation.NSObject, Foundation.INSCoding, IDisposable, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance
[<Foundation.Register("UIBarItem", true)>]
type UIBarItem = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface IUIAccessibilityIdentification
interface IUIAppearance
- Inheritance
- Derived
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| UIBarItem() |
Creates a new UIBarItem with default values. |
| UIBarItem(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| UIBarItem(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| UIBarItem(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityActivationPoint | |
| AccessibilityAttributedHint | |
| AccessibilityAttributedLabel | |
| AccessibilityAttributedUserInputLabels | |
| AccessibilityAttributedValue | |
| AccessibilityDirectTouchOptions | |
| AccessibilityElementsHidden | |
| AccessibilityExpandedStatus | |
| AccessibilityFrame | |
| AccessibilityHeaderElements | |
| AccessibilityHint | |
| AccessibilityIdentifier |
Uniquely identifies |
| AccessibilityLabel | |
| AccessibilityLanguage | |
| AccessibilityNavigationStyle | |
| AccessibilityPath | |
| AccessibilityRespondsToUserInteraction | |
| AccessibilityTextualContext | |
| AccessibilityTraits | |
| AccessibilityUserInputLabels | |
| AccessibilityValue | |
| AccessibilityViewIsModal | |
| AnnouncementDidFinishNotification |
Notification constant for AnnouncementDidFinish |
| AnnouncementNotification |
Gets the notification posted by an application that an announcement requires assistive technology. |
| Appearance |
Strongly-typed property that returns the UIAppearance class for this class. |
| AssistiveTechnologyKey |
Notification constant for AssistiveTechnologyKey |
| AssistiveTouchStatusDidChangeNotification |
Notification constant for AssistiveTouchStatusDidChange |
| BoldTextStatusDidChangeNotification |
Notification constant for BoldTextStatusDidChange |
| ButtonShapesEnabledStatusDidChangeNotification |
Notification constant for ButtonShapesEnabledStatusDidChange |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| ClosedCaptioningStatusDidChangeNotification |
Notification constant for ClosedCaptioningStatusDidChange |
| DarkerSystemColorsStatusDidChangeNotification |
Notification constant for DarkerSystemColorsStatusDidChange |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| ElementFocusedNotification |
Notification constant for ElementFocused |
| Enabled |
Whether this UIBarItem is enabled. |
| FocusedElementKey |
Notification constant for FocusedElementKey |
| GrayscaleStatusDidChangeNotification |
Notification constant for GrayscaleStatusDidChange |
| GuidedAccessStatusDidChangeNotification |
Notification constant for GuidedAccessStatusDidChange |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| HearingDevicePairedEarDidChangeNotification |
Notification constant for HearingDevicePairedEarDidChange |
| Image | |
| ImageInsets | |
| InvertColorsStatusDidChangeNotification |
Notification constant for InvertColorsStatusDidChange |
| IsAccessibilityElement | |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| LandscapeImagePhone | |
| LandscapeImagePhoneInsets | |
| LargeContentSizeImage | |
| LargeContentSizeImageInsets | |
| LayoutChangedNotification |
Gets the notification posted by an application that the layout of a screen has changed. |
| MonoAudioStatusDidChangeNotification |
Notification constant for MonoAudioStatusDidChange |
| NotificationSwitchControlIdentifier |
Notification constant for NotificationSwitchContr |
| NotificationVoiceOverIdentifier |
Notification constant for NotificationVoiceOv |
| OnOffSwitchLabelsDidChangeNotification |
Notification constant for OnOffSwitchLabelsDidChange |
| PageScrolledNotification |
Gets the notification posted by an application that a scroll action has finished. |
| PauseAssistiveTechnologyNotification |
Pauses assistive technology notifications. |
| PrefersCrossFadeTransitionsStatusDidChangeNotification |
Notification constant for PrefersCrossFadeTransitionsStatusDidChange |
| ReduceMotionStatusDidChangeNotification |
Notification constant for ReduceMotionStatusDidChange |
| ReduceTransparencyStatusDidChangeNotification |
Notification constant for ReduceTransparencyStatusDidChange |
| ResumeAssistiveTechnologyNotification |
Resumes assistive technology notifications. |
| RetainCount | (Inherited from NSObject) |
| ScreenChangedNotification |
Gets the notification posted by an application that a new view appears that includes a major portion of the screen. |
| Self | (Inherited from NSObject) |
| ShakeToUndoDidChangeNotification |
Notification constant for ShakeToUndoDidChange |
| ShouldDifferentiateWithoutColorDidChangeNotification |
Notification constant for ShouldDifferentiateWithoutColorDidChange |
| ShouldGroupAccessibilityChildren | |
| SpeakScreenStatusDidChangeNotification |
Notification constant for SpeakScreenStatusDidChange |
| SpeakSelectionStatusDidChangeNotification |
Notification constant for SpeakSelectionStatusDidChange |
| SpeechAttributeAnnouncementPriority |
Represents the value associated with the constant 'UIAccessibilitySpeechAttributeAnnouncementPriority'. |
| SpeechAttributeIpaNotation |
Returns the IPA notation for the accessibility attributed string. |
| SpeechAttributeLanguage |
Gets a BCP-47 language code. |
| SpeechAttributePitch |
Gets the value from 0.0 to 2.0 that determines the pitch for a spoken string. |
| SpeechAttributePunctuation |
Gets a value to be interpreted as a |
| SpeechAttributeQueueAnnouncement |
Key for option that spoken text interrupt existing spoken content. |
| SpeechAttributeSpellOut |
Represents the value associated with the constant 'UIAccessibilitySpeechAttributeSpellOut'. |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| SwitchControlStatusDidChangeNotification |
Notification constant for SwitchControlStatusDidChange |
| Tag | |
| TextAttributeContext |
Represents the value associated with the constant 'UIAccessibilityTextAttributeContext'. |
| TextAttributeCustom |
Key for option that custom attributes be applied to the accessibility text. |
| TextAttributeHeadingLevel |
Key for option of the accessibility text's heading level. |
| Title | |
| TraitAdjustable |
Obsolete.
Gets a trait that allows continuous adjustment of an accessibility element through a range of values. |
| TraitAllowsDirectInteraction |
Obsolete.
Gets a trait that allows direct touch interaction for users. |
| TraitButton |
Obsolete.
Gets a trait that indicates that |
| TraitCausesPageTurn |
Obsolete.
Gets a trait that indicates that |
| TraitHeader |
Obsolete.
Gets a trait that indicates that |
| TraitImage |
Obsolete.
Gets a trait that indicates that |
| TraitKeyboardKey |
Obsolete.
Gets a trait that indicates that |
| TraitLink |
Obsolete.
Gets a trait that indicates that |
| TraitNone |
Obsolete.
Gets a trait that indicates that |
| TraitNotEnabled |
Obsolete.
Gets a trait that indicates that |
| TraitPlaysSound |
Obsolete.
Gets a trait that indicates that |
| TraitSearchField |
Obsolete.
Gets a trait that indicates that |
| TraitSelected |
Obsolete.
Gets a trait that indicates that |
| TraitStartsMediaSession |
Obsolete.
Gets a trait that indicates that |
| TraitStaticText |
Obsolete.
Gets a trait that indicates that |
| TraitSummaryElement |
Obsolete.
Gets a trait that provides summary information when an application starts. |
| TraitTabBar |
Obsolete.
Represents the value associated with the constant 'UIAccessibilityTraitTabBar'. |
| TraitUpdatesFrequently |
Obsolete.
Gets a trait that indicates that |
| UnfocusedElementKey |
Notification constant for UnfocusedElementKey |
| VideoAutoplayStatusDidChangeNotification |
Notification constant for VideoAutoplayStatusDidChange |
| VoiceOverStatusChanged |
Developers should not use this deprecated property. Developers should use 'VoiceOverStatusDidChangeNotification' instead. |
| VoiceOverStatusDidChangeNotification |
Notification constant for VoiceOverStatusDidChange |
| Zone | (Inherited from NSObject) |