Freigeben über


UIDatePicker Class

Definition

A UIControl that displays a date picker control.

[Foundation.Register("UIDatePicker", true)]
public class UIDatePicker : UIKit.UIControl
[<Foundation.Register("UIDatePicker", true)>]
type UIDatePicker = class
    inherit UIControl
Inheritance
Attributes

Remarks

The UIDatePicker control consists of a number of rotating wheels that allow the application user to select a date.

The UIDatePicker control can be configured for different modes (including a countdown mode) by setting Mode.

Constructors

Name Description
UIDatePicker()

Creates a new UIDatePicker with default values.

UIDatePicker(CGRect)
UIDatePicker(NativeHandle)

A constructor used when creating managed representations of unmanaged objects. Called by the runtime.

UIDatePicker(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

UIDatePicker(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

Properties

Name Description
AccessibilityActivationPoint (Inherited from UIView)
AccessibilityAssistiveTechnologyFocusedIdentifiers (Inherited from UIResponder)
AccessibilityAttributedHint (Inherited from UIView)
AccessibilityAttributedLabel (Inherited from UIView)
AccessibilityAttributedUserInputLabels (Inherited from UIView)
AccessibilityAttributedValue (Inherited from UIView)
AccessibilityCustomActions (Inherited from UIResponder)
AccessibilityDirectTouchOptions (Inherited from UIView)
AccessibilityDragSourceDescriptors (Inherited from UIResponder)
AccessibilityDropPointDescriptors (Inherited from UIResponder)
AccessibilityElementsHidden (Inherited from UIView)
AccessibilityExpandedStatus (Inherited from UIView)
AccessibilityFrame (Inherited from UIView)
AccessibilityHint (Inherited from UIView)
AccessibilityIdentifier

Uniquely identifies this for the purposes of accessibility.

(Inherited from UIView)
AccessibilityIgnoresInvertColors (Inherited from UIView)
AccessibilityLabel (Inherited from UIView)
AccessibilityLanguage (Inherited from UIView)
AccessibilityNavigationStyle (Inherited from UIView)
AccessibilityPath (Inherited from UIView)
AccessibilityRespondsToUserInteraction (Inherited from UIView)
AccessibilityTextualContext (Inherited from UIView)
AccessibilityTraits (Inherited from UIView)
AccessibilityUserInputLabels (Inherited from UIView)
AccessibilityValue (Inherited from UIView)
AccessibilityViewIsModal (Inherited from UIView)
ActivityItemsConfiguration (Inherited from UIResponder)
AlignmentRectInsets (Inherited from UIView)
AllControlEvents (Inherited from UIControl)
AllTargets (Inherited from UIControl)
Alpha (Inherited from UIView)
AnchorPoint (Inherited from UIView)
Appearance

Strongly-typed property that returns the UIAppearance class for this class.

AppliedContentSizeCategoryLimitsDescription (Inherited from UIView)
AutoresizingMask (Inherited from UIView)
AutosizesSubviews (Inherited from UIView)
BackgroundColor

The color used for the background.

(Inherited from UIView)
BottomAnchor (Inherited from UIView)
Bounds (Inherited from UIView)
Calendar
CanBecomeFirstResponder (Inherited from UIResponder)
CanBecomeFocused (Inherited from UIView)
CanResignFirstResponder (Inherited from UIResponder)
Center (Inherited from UIView)
CenterXAnchor (Inherited from UIView)
CenterYAnchor (Inherited from UIView)
Class (Inherited from NSObject)
ClassHandle

The Objective-C class handle for this class.

ClearsContextBeforeDrawing (Inherited from UIView)
ClipsToBounds (Inherited from UIView)
CollisionBoundingPath

Returns the closed path that is used for collision detection.

(Inherited from UIView)
CollisionBoundsType

Returns a value that tells how collision bounds are specified.

(Inherited from UIView)
Constraints (Inherited from UIView)
ContentMode (Inherited from UIView)
ContentScaleFactor (Inherited from UIView)
ContentStretch (Inherited from UIView)
ContextMenuInteraction (Inherited from UIControl)
ContextMenuInteractionEnabled (Inherited from UIControl)
CoordinateSpace

Gets the coordinate space implemenation.

(Inherited from UIView)
CornerConfiguration (Inherited from UIView)
CountDownDuration
Date
DatePickerStyle
DebugDescription (Inherited from NSObject)
Description (Inherited from NSObject)
DirectionalLayoutMargins (Inherited from UIView)
EditingInteractionConfiguration (Inherited from UIResponder)
EffectiveContentHorizontalAlignment (Inherited from UIControl)
EffectiveUserInterfaceLayoutDirection (Inherited from UIView)
Enabled

Whether this UIControl is enabled.

(Inherited from UIControl)
ExclusiveTouch

Restricts the event delivery to this view.

(Inherited from UIView)
FirstBaselineAnchor (Inherited from UIView)
Focused

Whether the UIView is the focused view.

(Inherited from UIView)
FocusEffect (Inherited from UIView)
FocusGroupIdentifier (Inherited from UIView)
FocusGroupPriority (Inherited from UIView)
FocusItemContainer

Gets the container that manages focus information for child focus items.

(Inherited from UIView)
FocusItemDeferralMode (Inherited from UIView)
Frame (Inherited from UIView)
GestureRecognizers (Inherited from UIView)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
HasAmbiguousLayout (Inherited from UIView)
HeightAnchor (Inherited from UIView)
Hidden

Specifies whether the UIView displays or not.

(Inherited from UIView)
Highlighted

Whether this UIControl is highlighted.

(Inherited from UIControl)
HorizontalAlignment (Inherited from UIControl)
HoverStyle (Inherited from UIView)
InputAccessoryView (Inherited from UIResponder)
InputAccessoryViewController (Inherited from UIResponder)
InputAssistantItem (Inherited from UIResponder)
InputView (Inherited from UIResponder)
InputViewController (Inherited from UIResponder)
InsetsLayoutMarginsFromSafeArea (Inherited from UIView)
Interactions (Inherited from UIView)
IntrinsicContentSize (Inherited from UIView)
IsAccessibilityElement (Inherited from UIView)
IsDirectBinding (Inherited from NSObject)
IsFirstResponder (Inherited from UIResponder)
IsProxy (Inherited from NSObject)
IsTransparentFocusItem (Inherited from UIView)
KeyboardLayoutGuide (Inherited from UIView)
KeyCommands (Inherited from UIResponder)
LargeContentImage (Inherited from UIView)
LargeContentImageInsets (Inherited from UIView)
LargeContentTitle (Inherited from UIView)
LastBaselineAnchor (Inherited from UIView)
Layer (Inherited from UIView)
LayoutGuides (Inherited from UIView)
LayoutMargins (Inherited from UIView)
LayoutMarginsGuide (Inherited from UIView)
LeadingAnchor (Inherited from UIView)
LeftAnchor (Inherited from UIView)
Locale
MaskView (Inherited from UIView)
MaximumContentSizeCategory (Inherited from UIView)
MaximumDate
MinimumContentSizeCategory (Inherited from UIView)
MinimumDate
MinuteInterval
Mode
MotionEffects (Inherited from UIView)
MultipleTouchEnabled

Controls whether the UIView can handle multitouch events.

(Inherited from UIView)
NextResponder (Inherited from UIResponder)
Opaque

Determines whether the view is opaque or not.

(Inherited from UIView)
OverrideUserInterfaceStyle (Inherited from UIView)
ParentFocusEnvironment

Gets the parent focus environment.

(Inherited from UIView)
PasteConfiguration

The UIPasteConfiguration supported by this object.

(Inherited from UIResponder)
PreferredDatePickerStyle
PreferredFocusedView

If not null, indicates the child UIView that should receive focus by default.

(Inherited from UIView)
PreferredFocusEnvironments

Gets the list of focus environments, ordered by priority, that the environment prefers when updating the focus.

(Inherited from UIView)
PreservesSuperviewLayoutMargins (Inherited from UIView)
ReadableContentGuide (Inherited from UIView)
RestorationIdentifier (Inherited from UIView)
RetainCount (Inherited from NSObject)
RightAnchor (Inherited from UIView)
RoundsToMinuteInterval
SafeAreaInsets (Inherited from UIView)
SafeAreaLayoutGuide (Inherited from UIView)
ScalesLargeContentImage (Inherited from UIView)
Selected

Whether this UIControl is selected.

(Inherited from UIControl)
Self (Inherited from NSObject)
SemanticContentAttribute (Inherited from UIView)
ShouldGroupAccessibilityChildren (Inherited from UIView)
ShowsLargeContentViewer (Inherited from UIView)
ShowsMenuAsPrimaryAction (Inherited from UIControl)
State (Inherited from UIControl)
Subviews (Inherited from UIView)
Superclass (Inherited from NSObject)
SuperHandle

Handle used to represent the methods in the base class for this NSObject.

(Inherited from NSObject)
Superview (Inherited from UIView)
SymbolAnimationEnabled (Inherited from UIControl)
Tag (Inherited from UIView)
TextInputContextIdentifier (Inherited from UIResponder)
TextInputMode (Inherited from UIResponder)
TimeZone
TintAdjustmentMode (Inherited from UIView)
TintColor

The color used for tinting.

(Inherited from UIView)
ToolTip (Inherited from UIControl)
ToolTipInteraction (Inherited from UIControl)
TopAnchor (Inherited from UIView)
TouchBar (Inherited from UIResponder)
TouchInside

Whether a touch is inside this UIControl. Read-only.

(Inherited from UIControl)
Tracking

Whether this UIControl is tracking touches related to an event. Read-only.

(Inherited from UIControl)
TrailingAnchor (Inherited from UIView)
TraitCollection

Gets the trait collection that describes the environment.

(Inherited from UIView)
TraitOverrides (Inherited from UIView)
Transform (Inherited from UIView)
Transform3D (Inherited from UIView)
TranslatesAutoresizingMaskIntoConstraints (Inherited from UIView)
UndoManager (Inherited from UIResponder)
UserActivity (Inherited from UIResponder)
UserInteractionEnabled

Determines whether input events are processed by this view.

(Inherited from UIView)
VerticalAlignment (Inherited from UIControl)
ViewForBaselineLayout (Inherited from UIView)
ViewForFirstBaselineLayout (Inherited from UIView)
ViewForLastBaselineLayout (Inherited from UIView)
ViewPrintFormatter (Inherited from UIView)
WidthAnchor (Inherited from UIView)
Window (Inherited from UIView)
Zone (Inherited from NSObject)

Methods

Name Description
AccessibilityActivate() (Inherited from UIView)
AccessibilityDecrement() (Inherited from UIResponder)
AccessibilityElementDidBecomeFocused() (Inherited from UIResponder)
AccessibilityElementDidLoseFocus() (Inherited from UIResponder)
AccessibilityElementIsFocused() (Inherited from UIResponder)
AccessibilityIncrement() (Inherited from UIResponder)
AccessibilityPerformEscape() (Inherited from UIResponder)
AccessibilityPerformMagicTap() (Inherited from UIResponder)
AccessibilityScroll(UIAccessibilityScrollDirection) (Inherited from UIResponder)
ActionForLayer(CALayer, String) (Inherited from UIView)
Add(UIView)

This is an alias for AddSubview(UIView), but uses the Add pattern as it allows C# 3.0 constructs to add subviews after creating the object.

(Inherited from UIView)
AddAction(UIAction, UIControlEvent) (Inherited from UIControl)
AddConstraint(NSLayoutConstraint) (Inherited from UIView)
AddConstraints(NSLayoutConstraint[]) (Inherited from UIView)
AddGestureRecognizer(UIGestureRecognizer) (Inherited from UIView)
AddInteraction(IUIInteraction) (Inherited from UIView)
AddLayoutGuide(UILayoutGuide) (Inherited from UIView)
AddMotionEffect(UIMotionEffect) (Inherited from UIView)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) (Inherited from NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) (Inherited from NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddSubview(UIView) (Inherited from UIView)
AddSubviews(UIView[])

Convenience routine to add various views to a UIView.

(Inherited from UIView)
AddTarget(EventHandler, UIControlEvent)

Adds an event handler for the specified set of events.

(Inherited from UIControl)
AddTarget(NSObject, Selector, UIControlEvent) (Inherited from UIControl)
AlignCenter(NSObject) (Inherited from UIResponder)
AlignJustified(NSObject) (Inherited from UIResponder)
AlignLeft(NSObject) (Inherited from UIResponder)
AlignmentRectForFrame(CGRect) (Inherited from UIView)
AlignRight(NSObject) (Inherited from UIResponder)
AppearanceWhenContainedIn(Type[])

Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.

AwakeFromNib() (Inherited from NSObject)
BecomeFirstResponder() (Inherited from UIResponder)
BeginInvokeOnMainThread(Action) (Inherited from NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
BeginTracking(UITouch, UIEvent) (Inherited from UIControl)
BringSubviewToFront(UIView) (Inherited from UIView)
BuildMenu(IUIMenuBuilder) (Inherited from UIResponder)
CancelTracking(UIEvent) (Inherited from UIControl)
CanPaste(NSItemProvider[])

Returns true if the responder can paste from the specified item providers.

(Inherited from UIResponder)
CanPerform(Selector, NSObject) (Inherited from UIResponder)
Capture(Boolean)

Performs a screen-capture of the UIView.

(Inherited from UIView)
CaptureTextFromCamera(NSObject) (Inherited from UIResponder)
ConformsToProtocol(NativeHandle) (Inherited from NSObject)
ContentCompressionResistancePriority(UILayoutConstraintAxis) (Inherited from UIView)
ContentHuggingPriority(UILayoutConstraintAxis) (Inherited from UIView)
ContinueTracking(UITouch, UIEvent) (Inherited from UIControl)
ConvertPointFromCoordinateSpace(CGPoint, IUICoordinateSpace) (Inherited from UIView)
ConvertPointFromView(CGPoint, UIView) (Inherited from UIView)
ConvertPointToCoordinateSpace(CGPoint, IUICoordinateSpace) (Inherited from UIView)
ConvertPointToView(CGPoint, UIView) (Inherited from UIView)
ConvertRectFromCoordinateSpace(CGRect, IUICoordinateSpace) (Inherited from UIView)
ConvertRectFromView(CGRect, UIView) (Inherited from UIView)
ConvertRectToCoordinateSpace(CGRect, IUICoordinateSpace) (Inherited from UIView)
ConvertRectToView(CGRect, UIView) (Inherited from UIView)
Copy() (Inherited from NSObject)
Copy(NSObject) (Inherited from UIResponder)
CreateTouchBar() (Inherited from UIResponder)
Cut(NSObject) (Inherited from UIResponder)
DangerousAutorelease()

Calls the 'autorelease' selector on this object.

(Inherited from NSObject)
DangerousRelease()

Calls the 'release' selector on this object.

(Inherited from NSObject)
DangerousRetain()

Calls the 'retain' selector on this object.

(Inherited from NSObject)
DecodeRestorableState(NSCoder) (Inherited from UIView)
DecreaseSize(NSObject) (Inherited from UIResponder)
Delete(NSObject) (Inherited from UIResponder)
DidChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
DidChangeValue(String) (Inherited from NSObject)
DidHintFocusMovement(UIFocusMovementHint)

Called when a focus change may soon happen.

(Inherited from UIView)
DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator)

Delegate method called shortly after focus has changed to a new UIView.

(Inherited from UIView)
DisplayLayer(CALayer) (Inherited from UIView)
Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean) (Inherited from UIView)
DoesNotRecognizeSelector(Selector) (Inherited from NSObject)
Draw(CGRect) (Inherited from UIView)
DrawLayer(CALayer, CGContext) (Inherited from UIView)
DrawRect(CGRect, UIViewPrintFormatter) (Inherited from UIView)
DrawViewHierarchy(CGRect, Boolean) (Inherited from UIView)
Duplicate(NSObject) (Inherited from UIResponder)
EncodeRestorableState(NSCoder) (Inherited from UIView)
EncodeTo(NSCoder)

Encodes the state of the object using the provided encoder.

(Inherited from UIView)
EndTracking(UITouch, UIEvent) (Inherited from UIControl)
EnumerateEventHandlers(UIControlEnumerateEventsIteratorHandler) (Inherited from UIControl)
Equals(NSObject) (Inherited from NSObject)
Equals(Object) (Inherited from NSObject)
ExchangeSubview(IntPtr, IntPtr)

This method exchanges the indices of two UIViews within the Subviews array.

(Inherited from UIView)
ExerciseAmbiguityInLayout() (Inherited from UIView)
Export(NSObject) (Inherited from UIResponder)
Find(NSObject) (Inherited from UIResponder)
FindAndReplace(NSObject) (Inherited from UIResponder)
FindNext(NSObject) (Inherited from UIResponder)
FindPrevious(NSObject) (Inherited from UIResponder)
FrameForAlignmentRect(CGRect) (Inherited from UIView)
GestureRecognizerShouldBegin(UIGestureRecognizer) (Inherited from UIView)
GetActions(NSObject, UIControlEvent) (Inherited from UIControl)
GetAppearance(UITraitCollection, Type[])

Obtains the appearance proxy UIDatePicker.UIDatePickerAppearance for UIDatePicker.

GetAppearance(UITraitCollection)

Obtains the appearance proxy UIDatePicker.UIDatePickerAppearance for UIDatePicker.

GetAppearance<T>()

Obtains the appearance proxy UIDatePicker.UIDatePickerAppearance for the subclass of UIDatePicker.

GetAppearance<T>(UITraitCollection, Type[])

Obtains the appearance proxy UIDatePicker.UIDatePickerAppearance for the subclass of UIDatePicker.

GetAppearance<T>(UITraitCollection)

Obtains the appearance proxy UIDatePicker.UIDatePickerAppearance for the subclass of UIDatePicker.

GetConfigurationForMenu(UIContextMenuInteraction, CGPoint) (Inherited from UIControl)
GetConstraintsAffectingLayout(UILayoutConstraintAxis) (Inherited from UIView)
GetDictionaryOfValuesFromKeys(NSString[]) (Inherited from NSObject)
GetDirectionalEdgeInsets(UIViewLayoutRegion) (Inherited from UIView)
GetDismissalPreview(UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying) (Inherited from UIControl)
GetEdgeInsets(UIViewLayoutRegion) (Inherited from UIView)
GetEnumerator()

Returns an enumerator that lists all of the subviews in this view

(Inherited from UIView)
GetFocusItems(CGRect)

Returns a list of all the child focus items within the specified rectangle.

(Inherited from UIView)
GetFrame(UIView) (Inherited from UIView)
GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetHighlightPreview(UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying) (Inherited from UIControl)
GetLayoutGuide(UIViewLayoutRegion) (Inherited from UIView)
GetMenuAttachmentPoint(UIContextMenuConfiguration) (Inherited from UIControl)
GetMethodForSelector(Selector) (Inherited from NSObject)
GetNativeHash() (Inherited from NSObject)
GetPreviewForDismissingMenu(UIContextMenuInteraction, UIContextMenuConfiguration) (Inherited from UIControl)
GetPreviewForHighlightingMenu(UIContextMenuInteraction, UIContextMenuConfiguration) (Inherited from UIControl)
GetProvider(UIDeferredMenuElement) (Inherited from UIResponder)
GetTargetForAction(Selector, NSObject) (Inherited from UIResponder)
HitTest(CGPoint, UIEvent) (Inherited from UIView)
IncreaseSize(NSObject) (Inherited from UIResponder)
Init() (Inherited from NSObject)
InitializeHandle(NativeHandle, String) (Inherited from NSObject)
InitializeHandle(NativeHandle) (Inherited from NSObject)
InsertSubview(UIView, IntPtr)

Inserts the specified subview at the specified location as a subview of this view.

(Inherited from UIView)
InsertSubviewAbove(UIView, UIView) (Inherited from UIView)
InsertSubviewBelow(UIView, UIView) (Inherited from UIView)
InvalidateIntrinsicContentSize() (Inherited from UIView)
Invoke(Action, Double) (Inherited from NSObject)
Invoke(Action, TimeSpan) (Inherited from NSObject)
InvokeOnMainThread(Action) (Inherited from NSObject)
InvokeOnMainThread(Selector, NSObject)

Invokes synchrously the specified code on the main UI thread.

(Inherited from NSObject)
IsDescendantOfView(UIView) (Inherited from UIView)
IsEqual(NSObject) (Inherited from NSObject)
IsKindOfClass(Class) (Inherited from NSObject)
IsMemberOfClass(Class) (Inherited from NSObject)
LayoutIfNeeded() (Inherited from UIView)
LayoutMarginsDidChange() (Inherited from UIView)
LayoutSublayersOfLayer(CALayer) (Inherited from UIView)
LayoutSubviews() (Inherited from UIView)
MakeTextWritingDirectionLeftToRight(NSObject) (Inherited from UIResponder)
MakeTextWritingDirectionRightToLeft(NSObject) (Inherited from UIResponder)
MarkDirty()

Promotes a regular peer object (IsDirectBinding is true) into a toggleref object.

(Inherited from NSObject)
MotionBegan(UIEventSubtype, UIEvent) (Inherited from UIResponder)
MotionCancelled(UIEventSubtype, UIEvent) (Inherited from UIResponder)
MotionEnded(UIEventSubtype, UIEvent) (Inherited from UIResponder)
Move(NSObject) (Inherited from UIResponder)
MovedToSuperview() (Inherited from UIView)
MovedToWindow() (Inherited from UIView)
MutableCopy() (Inherited from NSObject)
NeedsUpdateConstraints() (Inherited from UIView)
NewFromPasteboard(NSObject) (Inherited from UIResponder)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (Inherited from NSObject)
Paste(NSItemProvider[])

Performs the paste.

(Inherited from UIResponder)
Paste(NSObject) (Inherited from UIResponder)
PasteAndGo(NSObject) (Inherited from UIResponder)
PasteAndMatchStyle(NSObject) (Inherited from UIResponder)
PasteAndSearch(NSObject) (Inherited from UIResponder)
PerformClose(NSObject) (Inherited from UIResponder)
PerformPrimaryAction() (Inherited from UIControl)
PerformSelector(Selector, NSObject, Double, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSObject, Double) (Inherited from NSObject)
PerformSelector(Selector, NSObject, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (Inherited from NSObject)
PerformSelector(Selector) (Inherited from NSObject)
PointInside(CGPoint, UIEvent) (Inherited from UIView)
PrepareForInterfaceBuilder() (Inherited from NSObject)
PressesBegan(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
PressesCancelled(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
PressesChanged(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
PressesEnded(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
Print(NSObject) (Inherited from UIResponder)
RegisterForTraitChanges(Action<IUITraitEnvironment,UITraitCollection>, Type[])

Registers a callback handler that will be executed when one of the specified traits changes.

(Inherited from UIView)
RegisterForTraitChanges(Class[], Action<IUITraitEnvironment,UITraitCollection>) (Inherited from UIView)
RegisterForTraitChanges(Class[], NSObject, Selector) (Inherited from UIView)
RegisterForTraitChanges(Class[], Selector) (Inherited from UIView)
RegisterForTraitChanges(IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
Obsolete.
(Inherited from UIView)
RegisterForTraitChanges(IUITraitDefinition[], NSObject, Selector)
Obsolete.
(Inherited from UIView)
RegisterForTraitChanges(IUITraitDefinition[], Selector)
Obsolete.
(Inherited from UIView)
RegisterForTraitChanges(Type[], Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when one of the specified traits changes.

(Inherited from UIView)
RegisterForTraitChanges(Type[], NSObject, Selector)

Registers a selector that will be called on the specified object when any of the specified traits changes.

(Inherited from UIView)
RegisterForTraitChanges(Type[], Selector)

Registers a selector that will be called on the current object when any of the specified traits changes.

(Inherited from UIView)
RegisterForTraitChanges<T>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when the specified trait changes.

(Inherited from UIView)
RegisterForTraitChanges<T1,T2,T3,T4>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when any of the specified traits changes.

(Inherited from UIView)
RegisterForTraitChanges<T1,T2,T3>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when any of the specified traits changes.

(Inherited from UIView)
RegisterForTraitChanges<T1,T2>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when any of the specified traits changes.

(Inherited from UIView)
ReloadInputViews() (Inherited from UIResponder)
RemoteControlReceived(UIEvent) (Inherited from UIResponder)
RemoveAction(String, UIControlEvent) (Inherited from UIControl)
RemoveAction(UIAction, UIControlEvent) (Inherited from UIControl)
RemoveConstraint(NSLayoutConstraint) (Inherited from UIView)
RemoveConstraints(NSLayoutConstraint[]) (Inherited from UIView)
RemoveFromSuperview() (Inherited from UIView)
RemoveGestureRecognizer(UIGestureRecognizer) (Inherited from UIView)
RemoveInteraction(IUIInteraction) (Inherited from UIView)
RemoveLayoutGuide(UILayoutGuide) (Inherited from UIView)
RemoveMotionEffect(UIMotionEffect) (Inherited from UIView)
RemoveObserver(NSObject, NSString, IntPtr) (Inherited from NSObject)
RemoveObserver(NSObject, NSString) (Inherited from NSObject)
RemoveObserver(NSObject, String, IntPtr) (Inherited from NSObject)
RemoveObserver(NSObject, String) (Inherited from NSObject)
RemoveTarget(EventHandler, UIControlEvent)

Removes a previously installed event handler for the specified event list.

(Inherited from UIControl)
RemoveTarget(NSObject, Selector, UIControlEvent) (Inherited from UIControl)
Rename(NSObject) (Inherited from UIResponder)
ResignFirstResponder() (Inherited from UIResponder)
ResizableSnapshotView(CGRect, Boolean, UIEdgeInsets) (Inherited from UIView)
RespondsToSelector(Selector) (Inherited from NSObject)
RestoreUserActivityState(NSUserActivity) (Inherited from UIResponder)
SafeAreaInsetsDidChange() (Inherited from UIView)
Select(NSObject) (Inherited from UIResponder)
SelectAll(NSObject) (Inherited from UIResponder)
SendAction(Selector, NSObject, UIEvent) (Inherited from UIControl)
SendAction(UIAction) (Inherited from UIControl)
SendActionForControlEvents(UIControlEvent) (Inherited from UIControl)
SendSubviewToBack(UIView) (Inherited from UIView)
SetContentCompressionResistancePriority(Single, UILayoutConstraintAxis) (Inherited from UIView)
SetContentHuggingPriority(Single, UILayoutConstraintAxis) (Inherited from UIView)
SetDate(NSDate, Boolean)
SetEffectiveRadius(UIRectCorner) (Inherited from UIView)
SetNeedsDisplay() (Inherited from UIView)
SetNeedsDisplayInRect(CGRect) (Inherited from UIView)
SetNeedsFocusUpdate()

When this is the active focus environment, requests a focus update, which can potentially change the PreferredFocusedView. (See also UpdateFocusIfNeeded().)

(Inherited from UIView)
SetNeedsLayout() (Inherited from UIView)
SetNeedsUpdateConstraints() (Inherited from UIView)
SetNeedsUpdateProperties() (Inherited from UIView)
SetNilValueForKey(NSString) (Inherited from NSObject)
SetValueForKey(NSObject, NSString) (Inherited from NSObject)
SetValueForKeyPath(NativeHandle, NSString) (Inherited from NSObject)
SetValueForKeyPath(NSObject, NSString) (Inherited from NSObject)
SetValueForUndefinedKey(NSObject, NSString) (Inherited from NSObject)
SetValuesForKeysWithDictionary(NSDictionary) (Inherited from NSObject)
ShouldUpdateFocus(UIFocusUpdateContext)

Called prior to the current object either losing or receiving focus. If either focus environment returns false, the focus update is canceled.

(Inherited from UIView)
ShowWritingTools(NSObject) (Inherited from UIResponder)
SizeThatFits(CGSize) (Inherited from UIView)
SizeToFit() (Inherited from UIView)
SnapshotView(Boolean) (Inherited from UIView)
SubviewAdded(UIView) (Inherited from UIView)
SystemLayoutSizeFittingSize(CGSize, Single, Single) (Inherited from UIView)
SystemLayoutSizeFittingSize(CGSize) (Inherited from UIView)
TintColorDidChange() (Inherited from UIView)
ToggleBoldface(NSObject) (Inherited from UIResponder)
ToggleInspector(NSObject) (Inherited from UIResponder)
ToggleItalics(NSObject) (Inherited from UIResponder)
ToggleSidebar(NSObject) (Inherited from UIResponder)
ToggleUnderline(NSObject) (Inherited from UIResponder)
ToString()

Returns a string representation of the value of the current instance.

(Inherited from NSObject)
TouchesBegan(NSSet, UIEvent) (Inherited from UIResponder)
TouchesCancelled(NSSet, UIEvent) (Inherited from UIResponder)
TouchesEnded(NSSet, UIEvent) (Inherited from UIResponder)
TouchesEstimatedPropertiesUpdated(NSSet) (Inherited from UIResponder)
TouchesMoved(NSSet, UIEvent) (Inherited from UIResponder)
TraitCollectionDidChange(UITraitCollection)

The trait collection that describes the environmnent changed.

(Inherited from UIView)
UnregisterForTraitChanges(IUITraitChangeRegistration) (Inherited from UIView)
UpdateConstraints() (Inherited from UIView)
UpdateConstraintsIfNeeded() (Inherited from UIView)
UpdateFocusIfNeeded()

If any focus environment has a pending update, this method forces an immediate focus update. Unlike SetNeedsFocusUpdate(), this method may be called by any IUIFocusEnvironment, whether it currently contains focus or not.

(Inherited from UIView)
UpdateProperties() (Inherited from UIView)
UpdatePropertiesIfNeeded() (Inherited from UIView)
UpdateTextAttributes(UITextAttributesConversionHandler) (Inherited from UIResponder)
UpdateTraitsIfNeeded() (Inherited from UIView)
UpdateUserActivityState(NSUserActivity) (Inherited from UIResponder)
UseSelectionForFind(NSObject) (Inherited from UIResponder)
ValidateCommand(UICommand) (Inherited from UIResponder)
ValueForKey(NSString) (Inherited from NSObject)
ValueForKeyPath(NSString) (Inherited from NSObject)
ValueForUndefinedKey(NSString) (Inherited from NSObject)
ViewWithTag(IntPtr)

Returns the UIView identified by the tag. May return null.

(Inherited from UIView)
WillChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
WillChangeValue(String) (Inherited from NSObject)
WillDisplayMenu(UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating) (Inherited from UIControl)
WillDrawLayer(CALayer)

Method that is called when layer is about to be drawn.

(Inherited from UIView)
WillEnd(UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating) (Inherited from UIControl)
WillMoveToSuperview(UIView) (Inherited from UIView)
WillMoveToWindow(UIWindow) (Inherited from UIView)
WillPerformPreviewAction(UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionCommitAnimating) (Inherited from UIControl)
WillRemoveSubview(UIView) (Inherited from UIView)

Events

Name Description
AllEditingEvents

Raised on any editing events produced.

(Inherited from UIControl)
AllEvents

Raised for any event produced.

(Inherited from UIControl)
AllTouchEvents

Raised for any touch event produced.

(Inherited from UIControl)
EditingChanged

The component changed.

(Inherited from UIControl)
EditingDidBegin

Raised when editing has started.

(Inherited from UIControl)
EditingDidEnd

Raised when editing ended.

(Inherited from UIControl)
EditingDidEndOnExit

Raised on didEndOnexit

(Inherited from UIControl)
PrimaryActionTriggered

Event associated with the most-likely behavior of the UIControl.

(Inherited from UIControl)
TouchCancel

The touch event has been canceled.

(Inherited from UIControl)
TouchDown

Raised when the user touches the control.

(Inherited from UIControl)
TouchDownRepeat

Raised when the user double taps the control.

(Inherited from UIControl)
TouchDragEnter

Raised on TouchDragEnter events.

(Inherited from UIControl)
TouchDragExit

Raised on TouchDragExit events.

(Inherited from UIControl)
TouchDragInside

Raised oN TouchDragInside events.

(Inherited from UIControl)
TouchDragOutside

Raised on TouchDragOutside events.

(Inherited from UIControl)
TouchUpInside

Raised on TouchUpInside events.

(Inherited from UIControl)
TouchUpOutside

Raised on TouchUpOutside events.

(Inherited from UIControl)
ValueChanged

The value has changed.

(Inherited from UIControl)

Extension Methods

Name Description
BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)
BrowserAccessibilityInsertTextAtCursor(NSObject, String)
GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)
GetAccessibilityLineRangeForPosition(NSObject, IntPtr)
GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)
GetBrowserAccessibilityAttributedValue(NSObject, NSRange)
GetBrowserAccessibilityContainerType(NSObject)
GetBrowserAccessibilityCurrentStatus(NSObject)
GetBrowserAccessibilityHasDomFocus(NSObject)
GetBrowserAccessibilityIsRequired(NSObject)
GetBrowserAccessibilityPressedState(NSObject)
GetBrowserAccessibilityRoleDescription(NSObject)
GetBrowserAccessibilitySelectedTextRange(NSObject)
GetBrowserAccessibilitySortDirection(NSObject)
GetBrowserAccessibilityValue(NSObject, NSRange)
SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)
SetBrowserAccessibilityCurrentStatus(NSObject, String)
SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)
SetBrowserAccessibilityIsRequired(NSObject, Boolean)
SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)
SetBrowserAccessibilityRoleDescription(NSObject, String)
SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)
SetBrowserAccessibilitySortDirection(NSObject, String)
ActionForLayer(ICALayerDelegate, CALayer, String)
DisplayLayer(ICALayerDelegate, CALayer)
DrawLayer(ICALayerDelegate, CALayer, CGContext)
LayoutSublayersOfLayer(ICALayerDelegate, CALayer)
WillDrawLayer(ICALayerDelegate, CALayer)

Method that is called when layer is about to be drawn.

ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)
GetDebugDescription(INSObjectProtocol)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
GetPencilKitResponderState(UIResponder)
GetAccessibilityCustomRotors(NSObject)

Gets the array of UIAccessibilityCustomRotor objects appropriate for this object.

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

Sets the array of UIAccessibilityCustomRotor objects appropriate for this object.

AccessibilityHitTest(NSObject, CGPoint, UIEvent)
GetAccessibilityNextTextNavigationElement(NSObject)
GetAccessibilityNextTextNavigationElementBlock(NSObject)
GetAccessibilityPreviousTextNavigationElement(NSObject)
GetAccessibilityPreviousTextNavigationElementBlock(NSObject)
SetAccessibilityNextTextNavigationElement(NSObject, NSObject)
SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)
SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
GetAccessibilityTextInputResponder(NSObject)
GetAccessibilityTextInputResponderHandler(NSObject)
SetAccessibilityTextInputResponder(NSObject, IUITextInput)
SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)
GetDismissalPreview(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying)
GetHighlightPreview(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying)
GetPreviewForDismissingMenu(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration)
GetPreviewForHighlightingMenu(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration)
WillDisplayMenu(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating)
WillEnd(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating)
WillPerformPreviewAction(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionCommitAnimating)
GetCollisionBoundingPath(IUIDynamicItem)

Returns the closed path that is used for collision detection.

GetCollisionBoundsType(IUIDynamicItem)

Returns a value that tells how collision bounds are specified.

GetFocusGroupIdentifier(IUIFocusEnvironment)
GetPreferredFocusedView(IUIFocusEnvironment)

If not null, indicates the child UIView that should receive focus by default.

DidHintFocusMovement(IUIFocusItem, UIFocusMovementHint)

Called when a focus change may soon happen.

GetFocusEffect(IUIFocusItem)
GetFocusGroupPriority(IUIFocusItem)
GetFocusItemDeferralMode(IUIFocusItem)
GetIsTransparentFocusItem(IUIFocusItem)
CanPaste(IUIPasteConfigurationSupporting, NSItemProvider[])

Returns true if the responder can paste from the specified item providers.

Paste(IUIPasteConfigurationSupporting, NSItemProvider[])

Performs the paste.

GetFrame(IUIPopoverPresentationControllerSourceItem, UIView)
AlignCenter(IUIResponderStandardEditActions, NSObject)
AlignJustified(IUIResponderStandardEditActions, NSObject)
AlignLeft(IUIResponderStandardEditActions, NSObject)
AlignRight(IUIResponderStandardEditActions, NSObject)
Copy(IUIResponderStandardEditActions, NSObject)
Cut(IUIResponderStandardEditActions, NSObject)
DecreaseSize(IUIResponderStandardEditActions, NSObject)
Delete(IUIResponderStandardEditActions, NSObject)
Duplicate(IUIResponderStandardEditActions, NSObject)
Export(IUIResponderStandardEditActions, NSObject)
Find(IUIResponderStandardEditActions, NSObject)
FindAndReplace(IUIResponderStandardEditActions, NSObject)
FindNext(IUIResponderStandardEditActions, NSObject)
FindPrevious(IUIResponderStandardEditActions, NSObject)
IncreaseSize(IUIResponderStandardEditActions, NSObject)
MakeTextWritingDirectionLeftToRight(IUIResponderStandardEditActions, NSObject)
MakeTextWritingDirectionRightToLeft(IUIResponderStandardEditActions, NSObject)
Move(IUIResponderStandardEditActions, NSObject)
NewFromPasteboard(IUIResponderStandardEditActions, NSObject)
Paste(IUIResponderStandardEditActions, NSObject)
PasteAndGo(IUIResponderStandardEditActions, NSObject)
PasteAndMatchStyle(IUIResponderStandardEditActions, NSObject)
PasteAndSearch(IUIResponderStandardEditActions, NSObject)
PerformClose(IUIResponderStandardEditActions, NSObject)
Print(IUIResponderStandardEditActions, NSObject)
Rename(IUIResponderStandardEditActions, NSObject)
Select(IUIResponderStandardEditActions, NSObject)
SelectAll(IUIResponderStandardEditActions, NSObject)
ShowWritingTools(IUIResponderStandardEditActions, NSObject)
ToggleBoldface(IUIResponderStandardEditActions, NSObject)
ToggleInspector(IUIResponderStandardEditActions, NSObject)
ToggleItalics(IUIResponderStandardEditActions, NSObject)
ToggleSidebar(IUIResponderStandardEditActions, NSObject)
ToggleUnderline(IUIResponderStandardEditActions, NSObject)
UpdateTextAttributes(IUIResponderStandardEditActions, UITextAttributesConversionHandler)
UseSelectionForFind(IUIResponderStandardEditActions, NSObject)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Selector)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
EndEditing(UIView, Boolean)

Applies to

See also