NSCollectionViewDelegateFlowLayout 类

定义

[Foundation.Protocol]
[Foundation.Register("NSCollectionViewDelegateFlowLayout", false)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public class NSCollectionViewDelegateFlowLayout : Foundation.NSObject, AppKit.INSCollectionViewDelegateFlowLayout, IDisposable
type NSCollectionViewDelegateFlowLayout = class
    inherit NSObject
    interface INSCollectionViewDelegateFlowLayout
    interface INativeObject
    interface IDisposable
    interface INSCollectionViewDelegate
继承
NSCollectionViewDelegateFlowLayout
属性
实现

构造函数

NSCollectionViewDelegateFlowLayout()
NSCollectionViewDelegateFlowLayout(IntPtr)
NSCollectionViewDelegateFlowLayout(NSObjectFlag)

属性

Class (继承自 NSObject)
ClassHandle

此类的句柄。

(继承自 NSObject)
DebugDescription

此对象的开发人员有意义的说明。

(继承自 NSObject)
Description

对象的说明,即 ToString 的 Objective-C 版本。

(继承自 NSObject)
Handle

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

(继承自 NSObject)
IsDirectBinding (继承自 NSObject)
IsProxy (继承自 NSObject)
RetainCount

返回对象的当前 Objective-C 保留计数。

(继承自 NSObject)
Self (继承自 NSObject)
Superclass (继承自 NSObject)
SuperHandle

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

(继承自 NSObject)
Zone (继承自 NSObject)

方法

AcceptDrop(NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)
AcceptDrop(NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

使用 NSString keyPath) 注册一个对象,以便在外部 (观察到该对象。   观察到的更改将调度到观察者的 对象 ObserveValue(NSString, NSObject, NSDictionary, IntPtr) 方法。

(继承自 NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

使用字符串 keyPath) 注册一个对象,以便在外部 (观察到该对象。   观察到的更改将调度到观察者的 对象 ObserveValue(NSString, NSObject, NSDictionary, IntPtr) 方法。

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

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

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

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

(继承自 NSObject)
AwakeFromNib()

从 nib 文件加载对象后调用。 替代器必须调用 base。AwakeFromNib () 。

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

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

(继承自 NSObject)
Bind(NSString, NSObject, String, NSDictionary) (继承自 NSObject)
Bind(String, NSObject, String, NSDictionary)
已过时.
(继承自 NSObject)
BindingInfo(String)
已过时.
(继承自 NSObject)
BindingOptionDescriptions(String)
已过时.
(继承自 NSObject)
BindingValueClass(String)
已过时.
(继承自 NSObject)
CanDragItems(NSCollectionView, NSIndexSet, NSEvent)
CanDragItems(NSCollectionView, NSSet, NSEvent)
CommitEditing() (继承自 NSObject)
CommitEditing(NSObject, Selector, IntPtr) (继承自 NSObject)
ConformsToProtocol(IntPtr)

调用以确定此对象是否实现指定的协议。

(继承自 NSObject)
Copy()

执行基础 Objective-C 对象的副本。

(继承自 NSObject)
DangerousAutorelease() (继承自 NSObject)
DangerousRelease() (继承自 NSObject)
DangerousRetain() (继承自 NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

指示对多关系的索引发生了更改。

(继承自 NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (继承自 NSObject)
DidChangeValue(String)

指示对指定的键进行了更改。

(继承自 NSObject)
DisplayingItemEnded(NSCollectionView, NSCollectionViewItem, NSIndexPath)
DisplayingSupplementaryViewEnded(NSCollectionView, NSView, String, NSIndexPath)
Dispose()

释放 NSObject 对象使用的资源。

(继承自 NSObject)
Dispose(Boolean)

释放 NSObject 对象使用的资源。

(继承自 NSObject)
DoesNotRecognizeSelector(Selector)

指示此对象无法识别指定的选择器。

(继承自 NSObject)
DraggingSessionEnded(NSCollectionView, NSDraggingSession, CGPoint, NSDragOperation)
DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSIndexSet)
DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSSet)
Equals(NSObject) (继承自 NSObject)
Equals(Object) (继承自 NSObject)
ExposedBindings() (继承自 NSObject)
GetBindingInfo(NSString) (继承自 NSObject)
GetBindingOptionDescriptions(NSString) (继承自 NSObject)
GetBindingValueClass(NSString) (继承自 NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

检索指定键的值。

(继承自 NSObject)
GetDraggingImage(NSCollectionView, NSSet, NSEvent, CGPoint)
GetHashCode()

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

(继承自 NSObject)
GetMethodForSelector(Selector) (继承自 NSObject)
GetNamesOfPromisedFiles(NSCollectionView, NSUrl, NSSet)
GetNativeField(String)
已过时.
(继承自 NSObject)
GetNativeHash() (继承自 NSObject)
GetPasteboardWriter(NSCollectionView, NSIndexPath)
Init() (继承自 NSObject)
InitializeHandle(IntPtr) (继承自 NSObject)
InitializeHandle(IntPtr, String) (继承自 NSObject)
InsetForSection(NSCollectionView, NSCollectionViewLayout, nint)
Invoke(Action, Double) (继承自 NSObject)
Invoke(Action, TimeSpan) (继承自 NSObject)
InvokeOnMainThread(Action) (继承自 NSObject)
InvokeOnMainThread(Selector, NSObject)

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

(继承自 NSObject)
IsEqual(NSObject) (继承自 NSObject)
IsKindOfClass(Class) (继承自 NSObject)
IsMemberOfClass(Class) (继承自 NSObject)
ItemsChanged(NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ItemsDeselected(NSCollectionView, NSSet)
ItemsSelected(NSCollectionView, NSSet)
MarkDirty()

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

(继承自 NSObject)
MinimumInteritemSpacingForSection(NSCollectionView, NSCollectionViewLayout, nint)
MinimumLineSpacing(NSCollectionView, NSCollectionViewLayout, nint)
MutableCopy()

创建指定 NSObject 的可变副本。

(继承自 NSObject)
NamesOfPromisedFilesDroppedAtDestination(NSCollectionView, NSUrl, NSIndexSet)
ObjectDidEndEditing(NSObject) (继承自 NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

指示相对于此对象的指定 keyPath 处的值已更改。

(继承自 NSObject)
PasteboardWriterForItem(NSCollectionView, nuint)
PerformSelector(Selector) (继承自 NSObject)
PerformSelector(Selector, NSObject) (继承自 NSObject)
PerformSelector(Selector, NSObject, Double)

在当前实例上调用选择器,如果 obj 不为 null,则将其作为其单个参数传递。

(继承自 NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) (继承自 NSObject)
PerformSelector(Selector, NSObject, NSObject) (继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (继承自 NSObject)
PrepareForInterfaceBuilder() (继承自 NSObject)
ReferenceSizeForFooter(NSCollectionView, NSCollectionViewLayout, nint)
ReferenceSizeForHeader(NSCollectionView, NSCollectionViewLayout, nint)
RemoveObserver(NSObject, NSString)

阻止指定观察程序接收指定 keyPath 的更改值的进一步通知。

(继承自 NSObject)
RemoveObserver(NSObject, NSString, IntPtr)

停止指定的观察程序接收指定 keyPath 和上下文的更改值的进一步通知。

(继承自 NSObject)
RemoveObserver(NSObject, String)

阻止指定观察程序接收指定 keyPath 的更改值的进一步通知。

(继承自 NSObject)
RemoveObserver(NSObject, String, IntPtr)

停止指定的观察程序接收指定 keyPath 和上下文的更改值的进一步通知。

(继承自 NSObject)
RespondsToSelector(Selector)

此对象是否识别指定的选择器。

(继承自 NSObject)
SetNativeField(String, NSObject)
已过时.
(继承自 NSObject)
SetNilValueForKey(NSString)

将指定键的值设置为 null。

(继承自 NSObject)
SetValueForKey(NSObject, NSString)

将键指定的属性的值设置为指定的值。

(继承自 NSObject)
SetValueForKeyPath(IntPtr, NSString)

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

(继承自 NSObject)
SetValueForKeyPath(NSObject, NSString)

设置可以使用键路径访问的属性的值。

(继承自 NSObject)
SetValueForUndefinedKey(NSObject, NSString)

指示尝试将值写入未定义的键。 如果未重写,则引发 NSUndefinedKeyException。

(继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

将此 NSObject 的值设置为指定字典中的值。

(继承自 NSObject)
ShouldChangeItems(NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ShouldDeselectItems(NSCollectionView, NSSet)
ShouldSelectItems(NSCollectionView, NSSet)
SizeForItem(NSCollectionView, NSCollectionViewLayout, NSIndexPath)
ToString()

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

(继承自 NSObject)
TransitionLayout(NSCollectionView, NSCollectionViewLayout, NSCollectionViewLayout)
Unbind(NSString) (继承自 NSObject)
Unbind(String)
已过时.
(继承自 NSObject)
UpdateDraggingItemsForDrag(NSCollectionView, NSDraggingInfo)
ValidateDrop(NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)
ValidateDrop(NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
ValidateDropOperation(NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
ValueForKey(NSString)

返回与指定键关联的属性的值。

(继承自 NSObject)
ValueForKeyPath(NSString)

返回可以使用键路径访问的属性的值。

(继承自 NSObject)
ValueForUndefinedKey(NSString)

指示尝试读取未定义键的值。 如果未重写,则引发 NSUndefinedKeyException。

(继承自 NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

指示指定键中指定索引的值即将更改。

(继承自 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (继承自 NSObject)
WillChangeValue(String)

指示指定键的值即将更改。

(继承自 NSObject)
WillDisplayItem(NSCollectionView, NSCollectionViewItem, NSIndexPath)
WillDisplaySupplementaryView(NSCollectionView, NSView, NSString, NSIndexPath)
WriteItems(NSCollectionView, NSIndexSet, NSPasteboard)
WriteItems(NSCollectionView, NSSet, NSPasteboard)

扩展方法

AcceptDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
AcceptDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)
CanDragItems(INSCollectionViewDelegate, NSCollectionView, NSIndexSet, NSEvent)
CanDragItems(INSCollectionViewDelegate, NSCollectionView, NSSet, NSEvent)
DisplayingItemEnded(INSCollectionViewDelegate, NSCollectionView, NSCollectionViewItem, NSIndexPath)
DisplayingSupplementaryViewEnded(INSCollectionViewDelegate, NSCollectionView, NSView, String, NSIndexPath)
DraggingSessionEnded(INSCollectionViewDelegate, NSCollectionView, NSDraggingSession, CGPoint, NSDragOperation)
DraggingSessionWillBegin(INSCollectionViewDelegate, NSCollectionView, NSDraggingSession, CGPoint, NSIndexSet)
DraggingSessionWillBegin(INSCollectionViewDelegate, NSCollectionView, NSDraggingSession, CGPoint, NSSet)
GetDraggingImage(INSCollectionViewDelegate, NSCollectionView, NSSet, NSEvent, CGPoint)
GetNamesOfPromisedFiles(INSCollectionViewDelegate, NSCollectionView, NSUrl, NSSet)
GetPasteboardWriter(INSCollectionViewDelegate, NSCollectionView, NSIndexPath)
ItemsChanged(INSCollectionViewDelegate, NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ItemsDeselected(INSCollectionViewDelegate, NSCollectionView, NSSet)
ItemsSelected(INSCollectionViewDelegate, NSCollectionView, NSSet)
NamesOfPromisedFilesDroppedAtDestination(INSCollectionViewDelegate, NSCollectionView, NSUrl, NSIndexSet)
PasteboardWriterForItem(INSCollectionViewDelegate, NSCollectionView, nuint)
ShouldChangeItems(INSCollectionViewDelegate, NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ShouldDeselectItems(INSCollectionViewDelegate, NSCollectionView, NSSet)
ShouldSelectItems(INSCollectionViewDelegate, NSCollectionView, NSSet)
TransitionLayout(INSCollectionViewDelegate, NSCollectionView, NSCollectionViewLayout, NSCollectionViewLayout)
UpdateDraggingItemsForDrag(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo)
ValidateDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
ValidateDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)
ValidateDropOperation(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
WillDisplayItem(INSCollectionViewDelegate, NSCollectionView, NSCollectionViewItem, NSIndexPath)
WillDisplaySupplementaryView(INSCollectionViewDelegate, NSCollectionView, NSView, NSString, NSIndexPath)
WriteItems(INSCollectionViewDelegate, NSCollectionView, NSIndexSet, NSPasteboard)
WriteItems(INSCollectionViewDelegate, NSCollectionView, NSSet, NSPasteboard)
InsetForSection(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, nint)
MinimumInteritemSpacingForSection(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, nint)
MinimumLineSpacing(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, nint)
ReferenceSizeForFooter(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, nint)
ReferenceSizeForHeader(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, nint)
SizeForItem(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, NSIndexPath)
ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor)
GetValidModes(NSObject, NSFontPanel)
ValidateToolbarItem(NSObject, NSToolbarItem)
GetDebugDescription(INSObjectProtocol)
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)
BeginPreviewPanelControl(NSObject, QLPreviewPanel)
EndPreviewPanelControl(NSObject, QLPreviewPanel)

适用于