Class SfCollectionView
Inheritance
System.Object
SfCollectionView
Assembly: Syncfusion.Core.XForms.macOS.dll
public class SfCollectionView : NSScrollView
Constructors
Declaration
public SfCollectionView(CGRect frame)
Parameters
Type |
Name |
Description |
CoreGraphics.CGRect |
frame |
|
Declaration
public SfCollectionView(CGRect frame, NSCollectionViewLayout layout)
Parameters
Type |
Name |
Description |
CoreGraphics.CGRect |
frame |
|
AppKit.NSCollectionViewLayout |
layout |
|
Properties
Declaration
public bool AllowsMultipleSelection { get; set; }
Property Value
Declaration
public nfloat Alpha { get; set; }
Property Value
Declaration
public override NSColor BackgroundColor { get; set; }
Property Value
Declaration
public CGPoint Center { get; }
Property Value
Type |
CoreGraphics.CGPoint |
Declaration
public NSCollectionView CollectionView { get; }
Property Value
Type |
AppKit.NSCollectionView |
Declaration
public NSCollectionViewLayout CollectionViewLayout { get; set; }
Property Value
Type |
AppKit.NSCollectionViewLayout |
ContentInset
Declaration
public NSEdgeInsets ContentInset { get; set; }
Property Value
ContentOffset
Declaration
public CGPoint ContentOffset { get; set; }
Property Value
Type |
CoreGraphics.CGPoint |
Declaration
public INSCollectionViewDataSource DataSource { get; set; }
Property Value
Type |
AppKit.INSCollectionViewDataSource |
Declaration
public INSCollectionViewDelegate Delegate { get; set; }
Property Value
Type |
AppKit.INSCollectionViewDelegate |
Declaration
public override bool IsFlipped { get; }
Property Value
Declaration
public bool Selectable { get; set; }
Property Value
Declaration
public NSCollectionViewItem[] VisibleCells { get; }
Property Value
Type |
AppKit.NSCollectionViewItem[] |
Declaration
public override bool WantsDefaultClipping { get; }
Property Value
Methods
Declaration
public virtual void BringSubviewToFront(NSView view)
Parameters
Type |
Name |
Description |
AppKit.NSView |
view |
|
Declaration
public NSCollectionViewItem CellForItem(NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
Foundation.NSIndexPath |
indexPath |
|
Returns
Type |
AppKit.NSCollectionViewItem |
Declaration
public void DeleteItems(NSIndexPath[] indexPaths)
Parameters
Type |
Name |
Description |
Foundation.NSIndexPath[] |
indexPaths |
|
Declaration
public NSCollectionViewItem DequeueReusableCell(string identifier, NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
System.String |
identifier |
|
Foundation.NSIndexPath |
indexPath |
|
Returns
Type |
AppKit.NSCollectionViewItem |
Declaration
public virtual void Draw(CGRect rect)
Parameters
Type |
Name |
Description |
CoreGraphics.CGRect |
rect |
|
Declaration
public override void DrawRect(CGRect dirtyRect)
Parameters
Type |
Name |
Description |
CoreGraphics.CGRect |
dirtyRect |
|
Declaration
public CGPoint GetCenter()
Returns
Type |
CoreGraphics.CGPoint |
Declaration
public NSIndexPath IndexPathForCell(NSCollectionViewItem item)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionViewItem |
item |
|
Returns
Type |
Foundation.NSIndexPath |
Declaration
public NSIndexPath IndexPathForItemAtPoint(CGPoint point)
Parameters
Type |
Name |
Description |
CoreGraphics.CGPoint |
point |
|
Returns
Type |
Foundation.NSIndexPath |
Declaration
public void InsertItems(NSIndexPath[] indexPaths)
Parameters
Type |
Name |
Description |
Foundation.NSIndexPath[] |
indexPaths |
|
Declaration
public virtual void InsertSubview(NSView insertView, int index)
Parameters
Type |
Name |
Description |
AppKit.NSView |
insertView |
|
System.Int32 |
index |
|
Declaration
public bool IsDescendantOfView(NSView aView)
Parameters
Type |
Name |
Description |
AppKit.NSView |
aView |
|
Returns
Declaration
public override void Layout()
Declaration
public virtual void LayoutSubviews()
Declaration
public void MoveItem(NSIndexPath indexPath, NSIndexPath newIndexPath)
Parameters
Type |
Name |
Description |
Foundation.NSIndexPath |
indexPath |
|
Foundation.NSIndexPath |
newIndexPath |
|
Declaration
public void PerformBatchUpdates(Action updates, Action<bool> completionHandler)
Parameters
Type |
Name |
Description |
System.Action |
updates |
|
System.Action<System.Boolean> |
completionHandler |
|
Declaration
public void RegisterClassForCell(Type itemClass, string identifier)
Parameters
Type |
Name |
Description |
System.Type |
itemClass |
|
System.String |
identifier |
|
Declaration
public void RegisterNibForCell(NSNib nib, string identifier)
Parameters
Type |
Name |
Description |
AppKit.NSNib |
nib |
|
System.String |
identifier |
|
Declaration
Declaration
public void ScrollRectToVisible(CGRect rect, bool animated)
Parameters
Type |
Name |
Description |
CoreGraphics.CGRect |
rect |
|
System.Boolean |
animated |
|
Declaration
public void ScrollToItem(NSIndexPath indexPath, NSCollectionViewScrollPosition scrollPosition, bool animated)
Parameters
Type |
Name |
Description |
Foundation.NSIndexPath |
indexPath |
|
AppKit.NSCollectionViewScrollPosition |
scrollPosition |
|
System.Boolean |
animated |
|
Declaration
public void SetNeedsDisplay()
Declaration
public void SetNeedsLayout()
Declaration
public virtual void TouchesBegan(NSSet touches, NSEvent theEvent)
Parameters
Type |
Name |
Description |
Foundation.NSSet |
touches |
|
AppKit.NSEvent |
theEvent |
|
Declaration
public override void TouchesBeganWithEvent(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
Declaration
public virtual void TouchesCancelled(NSSet touches, NSEvent theEvent)
Parameters
Type |
Name |
Description |
Foundation.NSSet |
touches |
|
AppKit.NSEvent |
theEvent |
|
Declaration
public override void TouchesCancelledWithEvent(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
Declaration
public virtual void TouchesEnded(NSSet touches, NSEvent theEvent)
Parameters
Type |
Name |
Description |
Foundation.NSSet |
touches |
|
AppKit.NSEvent |
theEvent |
|
Declaration
public override void TouchesEndedWithEvent(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
Declaration
public virtual void TouchesMoved(NSSet touches, NSEvent theEvent)
Parameters
Type |
Name |
Description |
Foundation.NSSet |
touches |
|
AppKit.NSEvent |
theEvent |
|
Declaration
public override void TouchesMovedWithEvent(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
Declaration
public override void ViewWillMoveToSuperview(NSView newSuperview)
Parameters
Type |
Name |
Description |
AppKit.NSView |
newSuperview |
|
Declaration
public override void ViewWillMoveToWindow(NSWindow newWindow)
Parameters
Type |
Name |
Description |
AppKit.NSWindow |
newWindow |
|
Declaration
public virtual void WillMoveToSuperview(NSView newsuper)
Parameters
Type |
Name |
Description |
AppKit.NSView |
newsuper |
|
Declaration
public virtual void WillMoveToWindow(NSWindow newWindow)
Parameters
Type |
Name |
Description |
AppKit.NSWindow |
newWindow |
|
Declaration
public override void WillRemoveSubview(NSView subview)
Parameters
Type |
Name |
Description |
AppKit.NSView |
subview |
|