语言

UITableViewCell 类

定义

[Foundation.Register("UITableViewCell", true)]
public class UITableViewCell : UIKit.UIView, IDisposable, UIKit.IUIGestureRecognizerDelegate
[<Foundation.Register("UITableViewCell", true)>]
type UITableViewCell = class
    inherit UIView
    interface INSCoding
    interface INativeObject
    interface IDisposable
    interface IUIGestureRecognizerDelegate
继承
UITableViewCell
特性
实现

构造函数

名称 说明
UITableViewCell()

UITableViewCell使用默认值创建新项。

UITableViewCell(CGRect)
UITableViewCell(NativeHandle)

创建非托管对象的托管表示形式时使用的构造函数。 由运行时调用。

UITableViewCell(NSCoder)

一个构造函数,用于从存储在 unarchiver 对象中的数据初始化对象。

UITableViewCell(NSObjectFlag)

要调用派生类的构造函数,以跳过初始化,并仅分配对象。

UITableViewCell(UITableViewCellStyle, NSString)
UITableViewCell(UITableViewCellStyle, String)

创建具有给定样式和重用标识符的表单元格。

属性

名称 说明
AccessibilityActivationPoint (继承自 UIView)
AccessibilityAssistiveTechnologyFocusedIdentifiers (继承自 UIResponder)
AccessibilityAttributedHint (继承自 UIView)
AccessibilityAttributedLabel (继承自 UIView)
AccessibilityAttributedUserInputLabels (继承自 UIView)
AccessibilityAttributedValue (继承自 UIView)
AccessibilityCustomActions (继承自 UIResponder)
AccessibilityDirectTouchOptions (继承自 UIView)
AccessibilityDragSourceDescriptors (继承自 UIResponder)
AccessibilityDropPointDescriptors (继承自 UIResponder)
AccessibilityElementsHidden (继承自 UIView)
AccessibilityExpandedStatus (继承自 UIView)
AccessibilityFrame (继承自 UIView)
AccessibilityHeaderElements (继承自 UIView)
AccessibilityHint (继承自 UIView)
AccessibilityIdentifier

为了辅助功能,唯一标识 this 。

(继承自 UIView)
AccessibilityIgnoresInvertColors (继承自 UIView)
AccessibilityLabel (继承自 UIView)
AccessibilityLanguage (继承自 UIView)
AccessibilityNavigationStyle (继承自 UIView)
AccessibilityPath (继承自 UIView)
AccessibilityRespondsToUserInteraction (继承自 UIView)
AccessibilityTextualContext (继承自 UIView)
AccessibilityTraits (继承自 UIView)
AccessibilityUserInputLabels (继承自 UIView)
AccessibilityValue (继承自 UIView)
AccessibilityViewIsModal (继承自 UIView)
Accessory
AccessoryView
ActivityItemsConfiguration (继承自 UIResponder)
AlignmentRectInsets (继承自 UIView)
Alpha (继承自 UIView)
AnchorPoint (继承自 UIView)
Appearance

返回此类的 UIAppearance 类的强类型属性。

AppliedContentSizeCategoryLimitsDescription (继承自 UIView)
AutomaticallyUpdatesBackgroundConfiguration
AutomaticallyUpdatesContentConfiguration
AutoresizingMask (继承自 UIView)
AutosizesSubviews (继承自 UIView)
BackgroundColor

用于背景的颜色。

(继承自 UIView)
BackgroundConfiguration
BackgroundView
BottomAnchor (继承自 UIView)
Bounds (继承自 UIView)
CanBecomeFirstResponder (继承自 UIResponder)
CanBecomeFocused (继承自 UIView)
CanResignFirstResponder (继承自 UIResponder)
Center (继承自 UIView)
CenterXAnchor (继承自 UIView)
CenterYAnchor (继承自 UIView)
Class (继承自 NSObject)
ClassHandle

此类的 Objective-C 类句柄。

ClearsContextBeforeDrawing (继承自 UIView)
ClipsToBounds (继承自 UIView)
CollisionBoundingPath

返回用于碰撞检测的封闭路径。

(继承自 UIView)
CollisionBoundsType

返回一个值,该值指示如何指定冲突边界。

(继承自 UIView)
ConfigurationState
ConfigurationUpdateHandler
Constraints (继承自 UIView)
ContentConfiguration
ContentMode (继承自 UIView)
ContentScaleFactor (继承自 UIView)
ContentStretch (继承自 UIView)
ContentView
CoordinateSpace

获取坐标空间实现。

(继承自 UIView)
CornerConfiguration (继承自 UIView)
DebugDescription (继承自 NSObject)
DefaultBackgroundConfiguration
DefaultContentConfiguration
Description (继承自 NSObject)
DetailTextLabel
DirectionalLayoutMargins (继承自 UIView)
Editing

单元格是否处于可编辑状态。

EditingAccessory
EditingAccessoryView
EditingInteractionConfiguration (继承自 UIResponder)
EditingStyle
EffectiveUserInterfaceLayoutDirection (继承自 UIView)
ExclusiveTouch

将事件传送限制为此视图。

(继承自 UIView)
FirstBaselineAnchor (继承自 UIView)
Focused

UIView是否为重点视图。

(继承自 UIView)
FocusEffect (继承自 UIView)
FocusGroupIdentifier (继承自 UIView)
FocusGroupPriority (继承自 UIView)
FocusItemContainer

获取用于管理子焦点项的焦点信息的容器。

(继承自 UIView)
FocusItemDeferralMode (继承自 UIView)
FocusStyle
Frame (继承自 UIView)
GestureRecognizers (继承自 UIView)
Handle

处理(指针)到非托管对象表示形式。

(继承自 NSObject)
HasAmbiguousLayout (继承自 UIView)
HeightAnchor (继承自 UIView)
Hidden

指定是否 UIView 显示。

(继承自 UIView)
Highlighted

是否突出显示单元格。

HoverStyle (继承自 UIView)
ImageView
IndentationLevel
IndentationWidth
InputAccessoryView (继承自 UIResponder)
InputAccessoryViewController (继承自 UIResponder)
InputAssistantItem (继承自 UIResponder)
InputView (继承自 UIResponder)
InputViewController (继承自 UIResponder)
InsetsLayoutMarginsFromSafeArea (继承自 UIView)
Interactions (继承自 UIView)
IntrinsicContentSize (继承自 UIView)
IsAccessibilityElement (继承自 UIView)
IsDirectBinding

获取或设置一个值,该值指示此实例是否使用直接 Objective-C 绑定。

(继承自 NSObject)
IsFirstResponder (继承自 UIResponder)
IsProxy (继承自 NSObject)
IsTransparentFocusItem (继承自 UIView)
KeyboardLayoutGuide (继承自 UIView)
KeyCommands (继承自 UIResponder)
LargeContentImage (继承自 UIView)
LargeContentImageInsets (继承自 UIView)
LargeContentTitle (继承自 UIView)
LastBaselineAnchor (继承自 UIView)
Layer (继承自 UIView)
LayoutGuides (继承自 UIView)
LayoutMargins (继承自 UIView)
LayoutMarginsGuide (继承自 UIView)
LeadingAnchor (继承自 UIView)
LeftAnchor (继承自 UIView)
MaskView (继承自 UIView)
MaximumContentSizeCategory (继承自 UIView)
MinimumContentSizeCategory (继承自 UIView)
MotionEffects (继承自 UIView)
MultipleSelectionBackgroundView
MultipleTouchEnabled

控制 UIView 是否可以处理多点触控事件。

(继承自 UIView)
NextResponder (继承自 UIResponder)
Opaque

确定视图是否不透明。

(继承自 UIView)
OverrideUserInterfaceStyle (继承自 UIView)
ParentFocusEnvironment

获取父焦点环境。

(继承自 UIView)
PasteConfiguration

对象 UIPasteConfiguration 支持 this 的对象。

(继承自 UIResponder)
PreferredFocusedView

如果不是 null,则表示应默认接收焦点的子级 UIView 。

(继承自 UIView)
PreferredFocusEnvironments

获取按优先级排序的焦点环境列表,环境在更新焦点时首选。

(继承自 UIView)
PreservesSuperviewLayoutMargins (继承自 UIView)
ReadableContentGuide (继承自 UIView)
RestorationIdentifier (继承自 UIView)
RetainCount (继承自 NSObject)
ReuseIdentifier
RightAnchor (继承自 UIView)
SafeAreaInsets (继承自 UIView)
SafeAreaLayoutGuide (继承自 UIView)
ScalesLargeContentImage (继承自 UIView)
Selected

是否选择单元格。

SelectedBackgroundView
SelectionStyle
Self (继承自 NSObject)
SemanticContentAttribute (继承自 UIView)
SeparatorInset
ShouldGroupAccessibilityChildren (继承自 UIView)
ShouldIndentWhileEditing
ShowingDeleteConfirmation
ShowsLargeContentViewer (继承自 UIView)
ShowsReorderControl
Subviews (继承自 UIView)
Superclass (继承自 NSObject)
SuperHandle
已过时.

用于表示此 NSObject基类中方法的句柄。

(继承自 NSObject)
Superview (继承自 UIView)
Tag (继承自 UIView)
TextInputContextIdentifier (继承自 UIResponder)
TextInputMode (继承自 UIResponder)
TextLabel
TintAdjustmentMode (继承自 UIView)
TintColor

用于着色的颜色。

(继承自 UIView)
TopAnchor (继承自 UIView)
TouchBar (继承自 UIResponder)
TrailingAnchor (继承自 UIView)
TraitCollection

获取描述环境的特征集合。

(继承自 UIView)
TraitOverrides (继承自 UIView)
Transform (继承自 UIView)
Transform3D (继承自 UIView)
TranslatesAutoresizingMaskIntoConstraints (继承自 UIView)
UndoManager (继承自 UIResponder)
UserActivity (继承自 UIResponder)
UserInteractionEnabled

确定此视图是否处理输入事件。

(继承自 UIView)
UserInteractionEnabledWhileDragging
ViewForBaselineLayout (继承自 UIView)
ViewForFirstBaselineLayout (继承自 UIView)
ViewForLastBaselineLayout (继承自 UIView)
ViewPrintFormatter (继承自 UIView)
WidthAnchor (继承自 UIView)
Window (继承自 UIView)
Zone (继承自 NSObject)

方法

名称 说明
AccessibilityActivate() (继承自 UIView)
AccessibilityDecrement() (继承自 UIResponder)
AccessibilityElementDidBecomeFocused() (继承自 UIResponder)
AccessibilityElementDidLoseFocus() (继承自 UIResponder)
AccessibilityElementIsFocused() (继承自 UIResponder)
AccessibilityIncrement() (继承自 UIResponder)
AccessibilityPerformEscape() (继承自 UIResponder)
AccessibilityPerformMagicTap() (继承自 UIResponder)
AccessibilityScroll(UIAccessibilityScrollDirection) (继承自 UIResponder)
ActionForLayer(CALayer, String) (继承自 UIView)
Add(UIView)

这是一 AddSubview(UIView)个别名,但使用 Add 模式,因为它允许 C# 3.0 构造在创建对象后添加子视图。

(继承自 UIView)
AddConstraint(NSLayoutConstraint) (继承自 UIView)
AddConstraints(NSLayoutConstraint[]) (继承自 UIView)
AddGestureRecognizer(UIGestureRecognizer) (继承自 UIView)
AddInteraction(IUIInteraction) (继承自 UIView)
AddLayoutGuide(UILayoutGuide) (继承自 UIView)
AddMotionEffect(UIMotionEffect) (继承自 UIView)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) (继承自 NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) (继承自 NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
AddSubview(UIView) (继承自 UIView)
AddSubviews(UIView[])

将各种视图添加到 UIView 的便利例程。

(继承自 UIView)
AlignCenter(NSObject) (继承自 UIResponder)
AlignJustified(NSObject) (继承自 UIResponder)
AlignLeft(NSObject) (继承自 UIResponder)
AlignmentRectForFrame(CGRect) (继承自 UIView)
AlignRight(NSObject) (继承自 UIResponder)
AppearanceWhenContainedIn(Type[])

当视图托管在指定的层次结构中时,返回此类实例的强类型 UIAppearance 。

AwakeFromNib() (继承自 NSObject)
BecomeFirstResponder() (继承自 UIResponder)
BeginInvokeOnMainThread(Action)

在主 UI 线程上异步调用指定的操作。

(继承自 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

在主 UI 线程上异步调用指定的代码。

(继承自 NSObject)
BringSubviewToFront(UIView) (继承自 UIView)
BuildMenu(IUIMenuBuilder) (继承自 UIResponder)
CanPaste(NSItemProvider[])

如果响应者可以从指定的项提供程序粘贴,则返回 true 。

(继承自 UIResponder)
CanPerform(Selector, NSObject) (继承自 UIResponder)
Capture(Boolean)

执行屏幕 UIView捕获 。

(继承自 UIView)
CaptureTextFromCamera(NSObject) (继承自 UIResponder)
ConformsToProtocol(NativeHandle) (继承自 NSObject)
ContentCompressionResistancePriority(UILayoutConstraintAxis) (继承自 UIView)
ContentHuggingPriority(UILayoutConstraintAxis) (继承自 UIView)
ConvertPointFromCoordinateSpace(CGPoint, IUICoordinateSpace) (继承自 UIView)
ConvertPointFromView(CGPoint, UIView) (继承自 UIView)
ConvertPointToCoordinateSpace(CGPoint, IUICoordinateSpace) (继承自 UIView)
ConvertPointToView(CGPoint, UIView) (继承自 UIView)
ConvertRectFromCoordinateSpace(CGRect, IUICoordinateSpace) (继承自 UIView)
ConvertRectFromView(CGRect, UIView) (继承自 UIView)
ConvertRectToCoordinateSpace(CGRect, IUICoordinateSpace) (继承自 UIView)
ConvertRectToView(CGRect, UIView) (继承自 UIView)
Copy() (继承自 NSObject)
Copy(NSObject) (继承自 UIResponder)
CreateTouchBar() (继承自 UIResponder)
Cut(NSObject) (继承自 UIResponder)
DangerousAutorelease()

对此对象调用“autorelease”选择器。

(继承自 NSObject)
DangerousRelease()

对此对象调用“release”选择器。

(继承自 NSObject)
DangerousRetain()

对此对象调用“保留”选择器。

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

当焦点更改可能很快发生时调用。

(继承自 UIView)
DidTransitionToState(UITableViewCellState)
DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator)

焦点更改为新的 UIView委托方法后不久调用。

(继承自 UIView)
DisplayLayer(CALayer) (继承自 UIView)
Dispose()

释放对象使用 NSObject 的资源。

(继承自 NSObject)
Dispose(Boolean)

释放此对象使用的资源。

(继承自 UIView)
DoesNotRecognizeSelector(Selector) (继承自 NSObject)
DragStateDidChange(UITableViewCellDragState)
Draw(CGRect) (继承自 UIView)
DrawLayer(CALayer, CGContext) (继承自 UIView)
DrawRect(CGRect, UIViewPrintFormatter) (继承自 UIView)
DrawViewHierarchy(CGRect, Boolean) (继承自 UIView)
Duplicate(NSObject) (继承自 UIResponder)
EncodeRestorableState(NSCoder) (继承自 UIView)
EncodeTo(NSCoder)

使用提供的编码器对对象的状态进行编码。

Equals(NSObject)

确定指定的 NSObject 值是否等于当前 NSObject。

(继承自 NSObject)
Equals(Object)

确定指定的对象是否等于当前 NSObject对象。

(继承自 NSObject)
ExchangeSubview(IntPtr, IntPtr)

此方法交换数组中UIView两Subviews个 s 的索引。

(继承自 UIView)
ExerciseAmbiguityInLayout() (继承自 UIView)
Export(NSObject) (继承自 UIResponder)
Find(NSObject) (继承自 UIResponder)
FindAndReplace(NSObject) (继承自 UIResponder)
FindNext(NSObject) (继承自 UIResponder)
FindPrevious(NSObject) (继承自 UIResponder)
FrameForAlignmentRect(CGRect) (继承自 UIView)
GestureRecognizerShouldBegin(UIGestureRecognizer) (继承自 UIView)
GetAppearance(UITraitCollection, Type[])

获取其外观代理UITableViewCell.UITableViewCellAppearance。UITableViewCell

GetAppearance(UITraitCollection)

获取其外观代理UITableViewCell.UITableViewCellAppearance。UITableViewCell

GetAppearance<T>()

获取子类的外观UITableViewCell.UITableViewCellAppearance代理UITableViewCell。

GetAppearance<T>(UITraitCollection, Type[])

获取子类的外观UITableViewCell.UITableViewCellAppearance代理UITableViewCell。

GetAppearance<T>(UITraitCollection)

获取子类的外观UITableViewCell.UITableViewCellAppearance代理UITableViewCell。

GetConstraintsAffectingLayout(UILayoutConstraintAxis) (继承自 UIView)
GetDictionaryOfValuesFromKeys(NSString[]) (继承自 NSObject)
GetDirectionalEdgeInsets(UIViewLayoutRegion) (继承自 UIView)
GetEdgeInsets(UIViewLayoutRegion) (继承自 UIView)
GetEnumerator()

返回一个枚举器,该枚举器列出此视图中的所有子视图

(继承自 UIView)
GetFocusItems(CGRect)

返回指定矩形内所有子焦点项的列表。

(继承自 UIView)
GetFrame(UIView) (继承自 UIView)
GetHashCode()

为当前实例生成哈希代码。

(继承自 NSObject)
GetLayoutGuide(UIViewLayoutRegion) (继承自 UIView)
GetMethodForSelector(Selector) (继承自 NSObject)
GetNativeHash() (继承自 NSObject)
GetProvider(UIDeferredMenuElement) (继承自 UIResponder)
GetReservedRegions(UIViewReservedRegionKind, UIViewReservedRegionQueryOptions) (继承自 UIView)
GetReservedRegions(UIViewReservedRegionKind) (继承自 UIView)
GetSoundIdentifier(UIFocusUpdateContext) (继承自 UIView)
GetTargetForAction(Selector, NSObject) (继承自 UIResponder)
HitTest(CGPoint, UIEvent) (继承自 UIView)
IncreaseSize(NSObject) (继承自 UIResponder)
Init()

通过调用 Objective-C init 方法初始化对象。

(继承自 NSObject)
InitializeHandle(NativeHandle, String, Boolean)

Handle使用本机初始值设定项的结果初始化属性。

(继承自 NSObject)
InitializeHandle(NativeHandle, String) (继承自 NSObject)
InitializeHandle(NativeHandle) (继承自 NSObject)
InsertSubview(UIView, IntPtr)

将指定子视图作为此视图的子视图插入指定位置。

(继承自 UIView)
InsertSubviewAbove(UIView, UIView) (继承自 UIView)
InsertSubviewBelow(UIView, UIView) (继承自 UIView)
InvalidateIntrinsicContentSize() (继承自 UIView)
Invoke(Action, Double)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
Invoke(Action, TimeSpan)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Action)

在主 UI 线程上同步调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Selector, NSObject)

在主 UI 线程上同步调用指定的代码。

(继承自 NSObject)
IsDescendantOfView(UIView) (继承自 UIView)
IsEqual(NSObject) (继承自 NSObject)
IsKindOfClass(Class) (继承自 NSObject)
IsMemberOfClass(Class) (继承自 NSObject)
LayoutIfNeeded() (继承自 UIView)
LayoutMarginsDidChange() (继承自 UIView)
LayoutSublayersOfLayer(CALayer) (继承自 UIView)
LayoutSubviews() (继承自 UIView)
MakeTextWritingDirectionLeftToRight(NSObject) (继承自 UIResponder)
MakeTextWritingDirectionRightToLeft(NSObject) (继承自 UIResponder)
MarkDirty()

将常规对等对象(IsDirectBinding 为 true)提升为 toggleref 对象。

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

执行粘贴。

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

注册一个回调处理程序,该处理程序将在指定特征之一发生更改时执行。

(继承自 UIView)
RegisterForTraitChanges(Class[], Action<IUITraitEnvironment,UITraitCollection>) (继承自 UIView)
RegisterForTraitChanges(Class[], NSObject, Selector) (继承自 UIView)
RegisterForTraitChanges(Class[], Selector) (继承自 UIView)
RegisterForTraitChanges(IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
已过时.
(继承自 UIView)
RegisterForTraitChanges(IUITraitDefinition[], NSObject, Selector)
已过时.
(继承自 UIView)
RegisterForTraitChanges(IUITraitDefinition[], Selector)
已过时.
(继承自 UIView)
RegisterForTraitChanges(Type[], Action<IUITraitEnvironment,UITraitCollection>)

注册一个回调处理程序,该处理程序将在指定特征之一发生更改时执行。

(继承自 UIView)
RegisterForTraitChanges(Type[], NSObject, Selector)

注册一个选择器,当任何指定的特征发生更改时,将在指定对象上调用该选择器。

(继承自 UIView)
RegisterForTraitChanges(Type[], Selector)

注册一个选择器,当任何指定的特征发生更改时,将在当前对象上调用该选择器。

(继承自 UIView)
RegisterForTraitChanges<T>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在指定特征发生更改时执行的回调处理程序。

(继承自 UIView)
RegisterForTraitChanges<T1,T2,T3,T4>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在任何指定特征发生更改时执行的回调处理程序。

(继承自 UIView)
RegisterForTraitChanges<T1,T2,T3>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在任何指定特征发生更改时执行的回调处理程序。

(继承自 UIView)
RegisterForTraitChanges<T1,T2>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在任何指定特征发生更改时执行的回调处理程序。

(继承自 UIView)
ReloadInputViews() (继承自 UIResponder)
RemoteControlReceived(UIEvent) (继承自 UIResponder)
RemoveConstraint(NSLayoutConstraint) (继承自 UIView)
RemoveConstraints(NSLayoutConstraint[]) (继承自 UIView)
RemoveFromSuperview() (继承自 UIView)
RemoveGestureRecognizer(UIGestureRecognizer) (继承自 UIView)
RemoveInteraction(IUIInteraction) (继承自 UIView)
RemoveLayoutGuide(UILayoutGuide) (继承自 UIView)
RemoveMotionEffect(UIMotionEffect) (继承自 UIView)
RemoveObserver(NSObject, NSString, IntPtr) (继承自 NSObject)
RemoveObserver(NSObject, NSString) (继承自 NSObject)
RemoveObserver(NSObject, String, IntPtr) (继承自 NSObject)
RemoveObserver(NSObject, String) (继承自 NSObject)
Rename(NSObject) (继承自 UIResponder)
ResignFirstResponder() (继承自 UIResponder)
ResizableSnapshotView(CGRect, Boolean, UIEdgeInsets) (继承自 UIView)
RespondsToSelector(Selector) (继承自 NSObject)
RestoreUserActivityState(NSUserActivity) (继承自 UIResponder)
SafeAreaInsetsDidChange() (继承自 UIView)
Select(NSObject) (继承自 UIResponder)
SelectAll(NSObject) (继承自 UIResponder)
SendSubviewToBack(UIView) (继承自 UIView)
SetContentCompressionResistancePriority(Single, UILayoutConstraintAxis) (继承自 UIView)
SetContentHuggingPriority(Single, UILayoutConstraintAxis) (继承自 UIView)
SetEditing(Boolean, Boolean)
SetEffectiveRadius(UIRectCorner) (继承自 UIView)
SetHighlighted(Boolean, Boolean)
SetNeedsDisplay() (继承自 UIView)
SetNeedsDisplayInRect(CGRect) (继承自 UIView)
SetNeedsFocusUpdate()

当活动焦点环境为活动焦点环境时 this ,请求焦点更新,这可能会更改焦点 PreferredFocusedView。 (另 UpdateFocusIfNeeded()请参阅。)

(继承自 UIView)
SetNeedsLayout() (继承自 UIView)
SetNeedsUpdateConfiguration()
SetNeedsUpdateConstraints() (继承自 UIView)
SetNeedsUpdateProperties() (继承自 UIView)
SetNilValueForKey(NSString) (继承自 NSObject)
SetSelected(Boolean, Boolean)
SetValueForKey(NSObject, NSString) (继承自 NSObject)
SetValueForKeyPath(NativeHandle, NSString)

将给定键路径标识的属性的值设置为给定值。

(继承自 NSObject)
SetValueForKeyPath(NSObject, NSString) (继承自 NSObject)
SetValueForUndefinedKey(NSObject, NSString) (继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary) (继承自 NSObject)
ShouldBegin(UIGestureRecognizer)

手势识别是否应开始。

ShouldBeRequiredToFailBy(UIGestureRecognizer, UIGestureRecognizer)

指定手势识别器之间是否存在动态故障要求。

ShouldReceiveEvent(UIGestureRecognizer, UIEvent)
ShouldReceivePress(UIGestureRecognizer, UIPress)
ShouldReceiveTouch(UIGestureRecognizer, UITouch)

识别器是否应接收指定的触摸。

ShouldRecognizeSimultaneously(UIGestureRecognizer, UIGestureRecognizer)

是否应允许这两个手势识别器同时识别手势。

ShouldRequireFailureOf(UIGestureRecognizer, UIGestureRecognizer)

是否需要指定的手势Recognizer才能由 otherGestureRecognizer 失败。

ShouldUpdateFocus(UIFocusUpdateContext)

在当前对象丢失或接收焦点之前调用。 如果任一焦点环境返回 false,则取消焦点更新。

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

返回当前实例值的字符串表示形式。

(继承自 NSObject)
TouchesBegan(NSSet, UIEvent) (继承自 UIResponder)
TouchesCancelled(NSSet, UIEvent) (继承自 UIResponder)
TouchesEnded(NSSet, UIEvent) (继承自 UIResponder)
TouchesEstimatedPropertiesUpdated(NSSet) (继承自 UIResponder)
TouchesMoved(NSSet, UIEvent) (继承自 UIResponder)
TraitCollectionDidChange(UITraitCollection)

描述环境的特征集合已更改。

(继承自 UIView)
UnregisterForTraitChanges(IUITraitChangeRegistration) (继承自 UIView)
UpdateConfiguration(UICellConfigurationState)
UpdateConstraints() (继承自 UIView)
UpdateConstraintsIfNeeded() (继承自 UIView)
UpdateFocusIfNeeded()

如果任何焦点环境有挂起的更新,此方法将强制立即进行焦点更新。 与此方法不同 SetNeedsFocusUpdate(),此方法可能由任何 IUIFocusEnvironment方法调用,无论它当前是否包含焦点。

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

返回 UIView 由 tag.. 可以返回 null。

(继承自 UIView)
WillChange(NSKeyValueChange, NSIndexSet, NSString) (继承自 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (继承自 NSObject)
WillChangeValue(String) (继承自 NSObject)
WillDrawLayer(CALayer)

即将绘制时 layer 调用的方法。

(继承自 UIView)
WillMoveToSuperview(UIView) (继承自 UIView)
WillMoveToWindow(UIWindow) (继承自 UIView)
WillRemoveSubview(UIView) (继承自 UIView)
WillTransitionToState(UITableViewCellState)

扩展方法

名称 说明
AccessibilityHitTest(NSObject, CGPoint, UIEvent)
ActionForLayer(ICALayerDelegate, CALayer, String)
AlignCenter(IUIResponderStandardEditActions, NSObject)
AlignJustified(IUIResponderStandardEditActions, NSObject)
AlignLeft(IUIResponderStandardEditActions, NSObject)
AlignRight(IUIResponderStandardEditActions, NSObject)
BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)
BrowserAccessibilityInsertTextAtCursor(NSObject, String)
CanPaste(IUIPasteConfigurationSupporting, NSItemProvider[])

如果响应者可以从指定的项提供程序粘贴,则返回 true 。

Copy(IUIResponderStandardEditActions, NSObject)
Cut(IUIResponderStandardEditActions, NSObject)
DecreaseSize(IUIResponderStandardEditActions, NSObject)
Delete(IUIResponderStandardEditActions, NSObject)
DidHintFocusMovement(IUIFocusItem, UIFocusMovementHint)

当焦点更改可能很快发生时调用。

DisplayLayer(ICALayerDelegate, CALayer)
DrawLayer(ICALayerDelegate, CALayer, CGContext)
Duplicate(IUIResponderStandardEditActions, NSObject)
EndEditing(UIView, Boolean)
Export(IUIResponderStandardEditActions, NSObject)
Find(IUIResponderStandardEditActions, NSObject)
FindAndReplace(IUIResponderStandardEditActions, NSObject)
FindNext(IUIResponderStandardEditActions, NSObject)
FindPrevious(IUIResponderStandardEditActions, NSObject)
GetAccessibilityCustomRotors(NSObject)

获取适合UIAccessibilityCustomRotor对象的对象的数组this。

GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)
GetAccessibilityLineRangeForPosition(NSObject, IntPtr)
GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)
GetAccessibilityNextTextNavigationElement(NSObject)
GetAccessibilityNextTextNavigationElementBlock(NSObject)
GetAccessibilityPreviousTextNavigationElement(NSObject)
GetAccessibilityPreviousTextNavigationElementBlock(NSObject)
GetAccessibilityTextInputResponder(NSObject)
GetAccessibilityTextInputResponderHandler(NSObject)
GetBrowserAccessibilityAttributedValue(NSObject, NSRange)
GetBrowserAccessibilityContainerType(NSObject)
GetBrowserAccessibilityCurrentStatus(NSObject)
GetBrowserAccessibilityDetailsElements(NSObject)
GetBrowserAccessibilityHasDomFocus(NSObject)
GetBrowserAccessibilityImageData(NSObject, NSDictionary)
GetBrowserAccessibilityImageDataSize(NSObject)
GetBrowserAccessibilityIsRequired(NSObject)
GetBrowserAccessibilityKeyboardShortcuts(NSObject)
GetBrowserAccessibilityOrientation(NSObject)
GetBrowserAccessibilityPressedState(NSObject)
GetBrowserAccessibilityRoleDescription(NSObject)
GetBrowserAccessibilitySelectedTextRange(NSObject)
GetBrowserAccessibilitySortDirection(NSObject)
GetBrowserAccessibilityValue(NSObject, NSRange)
GetCollisionBoundingPath(IUIDynamicItem)

返回用于碰撞检测的封闭路径。

GetCollisionBoundsType(IUIDynamicItem)

返回一个值,该值指示如何指定冲突边界。

GetDebugDescription(INSObjectProtocol)
GetFocusEffect(IUIFocusItem)
GetFocusGroupIdentifier(IUIFocusEnvironment)
GetFocusGroupPriority(IUIFocusItem)
GetFocusItemDeferralMode(IUIFocusItem)
GetFrame(IUIPopoverPresentationControllerSourceItem, UIView)
GetHandle(INativeObject)
GetIsTransparentFocusItem(IUIFocusItem)
GetNonNullHandle(INativeObject, String)
GetPencilKitResponderState(UIResponder)
GetPreferredFocusedView(IUIFocusEnvironment)

如果不是 null,则表示应默认接收焦点的子级 UIView 。

GetSoundIdentifier(IUIFocusEnvironment, UIFocusUpdateContext)
IncreaseSize(IUIResponderStandardEditActions, NSObject)
LayoutSublayersOfLayer(ICALayerDelegate, CALayer)
MakeTextWritingDirectionLeftToRight(IUIResponderStandardEditActions, NSObject)
MakeTextWritingDirectionRightToLeft(IUIResponderStandardEditActions, NSObject)
Move(IUIResponderStandardEditActions, NSObject)
NewFromPasteboard(IUIResponderStandardEditActions, NSObject)
Paste(IUIPasteConfigurationSupporting, NSItemProvider[])

执行粘贴。

Paste(IUIResponderStandardEditActions, NSObject)
PasteAndGo(IUIResponderStandardEditActions, NSObject)
PasteAndMatchStyle(IUIResponderStandardEditActions, NSObject)
PasteAndSearch(IUIResponderStandardEditActions, NSObject)
PerformClose(IUIResponderStandardEditActions, NSObject)
Print(IUIResponderStandardEditActions, NSObject)
ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Selector)
Rename(IUIResponderStandardEditActions, NSObject)
Select(IUIResponderStandardEditActions, NSObject)
SelectAll(IUIResponderStandardEditActions, NSObject)
SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

设置适合UIAccessibilityCustomRotor对象的对象的数组this。

SetAccessibilityNextTextNavigationElement(NSObject, NSObject)
SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)
SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityTextInputResponder(NSObject, IUITextInput)
SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)
SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)
SetBrowserAccessibilityCurrentStatus(NSObject, String)
SetBrowserAccessibilityDetailsElements(NSObject, NSObject[])
SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)
SetBrowserAccessibilityIsRequired(NSObject, Boolean)
SetBrowserAccessibilityKeyboardShortcuts(NSObject, String)
SetBrowserAccessibilityOrientation(NSObject, BEAccessibilityOrientation)
SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)
SetBrowserAccessibilityRoleDescription(NSObject, String)
SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)
SetBrowserAccessibilitySortDirection(NSObject, String)
SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)
ShouldBegin(IUIGestureRecognizerDelegate, UIGestureRecognizer)

手势识别是否应开始。

ShouldBeRequiredToFailBy(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIGestureRecognizer)

指定手势识别器之间是否存在动态故障要求。

ShouldReceiveEvent(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIEvent)
ShouldReceivePress(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIPress)
ShouldReceiveTouch(IUIGestureRecognizerDelegate, UIGestureRecognizer, UITouch)

识别器是否应接收指定的触摸。

ShouldRecognizeSimultaneously(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIGestureRecognizer)

是否应允许这两个手势识别器同时识别手势。

ShouldRequireFailureOf(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIGestureRecognizer)

是否需要指定的手势Recognizer才能由 otherGestureRecognizer 失败。

ShowWritingTools(IUIResponderStandardEditActions, NSObject)
ToggleBoldface(IUIResponderStandardEditActions, NSObject)
ToggleInspector(IUIResponderStandardEditActions, NSObject)
ToggleItalics(IUIResponderStandardEditActions, NSObject)
ToggleSidebar(IUIResponderStandardEditActions, NSObject)
ToggleUnderline(IUIResponderStandardEditActions, NSObject)
UpdateTextAttributes(IUIResponderStandardEditActions, UITextAttributesConversionHandler)
UseSelectionForFind(IUIResponderStandardEditActions, NSObject)
WillDrawLayer(ICALayerDelegate, CALayer)

即将绘制时 layer 调用的方法。

适用于