Class SfView
Inheritance
System.Object
SfView
Assembly: Syncfusion.Core.XForms.macOS.dll
public class SfView : NSView
Constructors
Declaration
Declaration
public SfView(CGRect frameRect)
Parameters
Type |
Name |
Description |
CoreGraphics.CGRect |
frameRect |
|
Declaration
public SfView(IntPtr handle)
Parameters
Type |
Name |
Description |
System.IntPtr |
handle |
|
Properties
Declaration
public nfloat Alpha { get; set; }
Property Value
Declaration
public NSColor BackgroundColor { get; set; }
Property Value
Declaration
public CGPoint Center { get; }
Property Value
Type |
CoreGraphics.CGPoint |
Declaration
public override bool IsFlipped { get; }
Property Value
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 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 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 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 |
|