Xamarin.Forms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfView - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfView

    Inheritance
    System.Object
    SfView
    ChartAnnotationView
    ChartBase
    SFChartTooltip
    SfCellView
    Namespace: Syncfusion.XForms.MacOS.Core
    Assembly: Syncfusion.Core.XForms.macOS.dll
    Syntax
    public class SfView : NSView

    Constructors

    SfView()

    Declaration
    public SfView()

    SfView(CGRect)

    Declaration
    public SfView(CGRect frameRect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect frameRect

    SfView(IntPtr)

    Declaration
    public SfView(IntPtr handle)
    Parameters
    Type Name Description
    System.IntPtr handle

    Properties

    Alpha

    Declaration
    public nfloat Alpha { get; set; }
    Property Value
    Type Description
    System.nfloat

    BackgroundColor

    Declaration
    public NSColor BackgroundColor { get; set; }
    Property Value
    Type Description
    AppKit.NSColor

    Center

    Declaration
    public CGPoint Center { get; }
    Property Value
    Type Description
    CoreGraphics.CGPoint

    IsFlipped

    Declaration
    public override bool IsFlipped { get; }
    Property Value
    Type Description
    System.Boolean

    WantsDefaultClipping

    Declaration
    public override bool WantsDefaultClipping { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    BringSubviewToFront(NSView)

    Declaration
    public virtual void BringSubviewToFront(NSView view)
    Parameters
    Type Name Description
    AppKit.NSView view

    Draw(CGRect)

    Declaration
    public virtual void Draw(CGRect rect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect rect

    DrawRect(CGRect)

    Declaration
    public override void DrawRect(CGRect dirtyRect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect dirtyRect

    GetCenter()

    Declaration
    public CGPoint GetCenter()
    Returns
    Type Description
    CoreGraphics.CGPoint

    InsertSubview(NSView, Int32)

    Declaration
    public virtual void InsertSubview(NSView insertView, int index)
    Parameters
    Type Name Description
    AppKit.NSView insertView
    System.Int32 index

    IsDescendantOfView(NSView)

    Declaration
    public bool IsDescendantOfView(NSView aView)
    Parameters
    Type Name Description
    AppKit.NSView aView
    Returns
    Type Description
    System.Boolean

    Layout()

    Declaration
    public override void Layout()

    LayoutSubviews()

    Declaration
    public virtual void LayoutSubviews()

    SetNeedsDisplay()

    Declaration
    public void SetNeedsDisplay()

    SetNeedsLayout()

    Declaration
    public void SetNeedsLayout()

    TouchesBegan(NSSet, NSEvent)

    Declaration
    public virtual void TouchesBegan(NSSet touches, NSEvent theEvent)
    Parameters
    Type Name Description
    Foundation.NSSet touches
    AppKit.NSEvent theEvent

    TouchesBeganWithEvent(NSEvent)

    Declaration
    public override void TouchesBeganWithEvent(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    TouchesCancelled(NSSet, NSEvent)

    Declaration
    public virtual void TouchesCancelled(NSSet touches, NSEvent theEvent)
    Parameters
    Type Name Description
    Foundation.NSSet touches
    AppKit.NSEvent theEvent

    TouchesCancelledWithEvent(NSEvent)

    Declaration
    public override void TouchesCancelledWithEvent(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    TouchesEnded(NSSet, NSEvent)

    Declaration
    public virtual void TouchesEnded(NSSet touches, NSEvent theEvent)
    Parameters
    Type Name Description
    Foundation.NSSet touches
    AppKit.NSEvent theEvent

    TouchesEndedWithEvent(NSEvent)

    Declaration
    public override void TouchesEndedWithEvent(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    TouchesMoved(NSSet, NSEvent)

    Declaration
    public virtual void TouchesMoved(NSSet touches, NSEvent theEvent)
    Parameters
    Type Name Description
    Foundation.NSSet touches
    AppKit.NSEvent theEvent

    TouchesMovedWithEvent(NSEvent)

    Declaration
    public override void TouchesMovedWithEvent(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    ViewWillMoveToSuperview(NSView)

    Declaration
    public override void ViewWillMoveToSuperview(NSView newSuperview)
    Parameters
    Type Name Description
    AppKit.NSView newSuperview

    ViewWillMoveToWindow(NSWindow)

    Declaration
    public override void ViewWillMoveToWindow(NSWindow newWindow)
    Parameters
    Type Name Description
    AppKit.NSWindow newWindow

    WillMoveToSuperview(NSView)

    Declaration
    public virtual void WillMoveToSuperview(NSView newsuper)
    Parameters
    Type Name Description
    AppKit.NSView newsuper

    WillMoveToWindow(NSWindow)

    Declaration
    public virtual void WillMoveToWindow(NSWindow newWindow)
    Parameters
    Type Name Description
    AppKit.NSWindow newWindow

    WillRemoveSubview(NSView)

    Declaration
    public override void WillRemoveSubview(NSView subview)
    Parameters
    Type Name Description
    AppKit.NSView subview
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved