Class AppKit.NSView
- Namespace
- Xui.Runtime.MacOS
- Assembly
- Xui.Runtime.MacOS.dll
public class AppKit.NSView : AppKit.NSResponder, IDisposable
- Inheritance
-
AppKit.NSView
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
NSView()
NSView(nint)
Parameters
id nint
Fields
AddSubviewSel
public static readonly ObjC.Sel AddSubviewSel
Field Value
- ObjC.Sel
AutoresizesSubviewsSel
public static readonly ObjC.Sel AutoresizesSubviewsSel
Field Value
- ObjC.Sel
AutoresizingMaskSel
public static readonly ObjC.Sel AutoresizingMaskSel
Field Value
- ObjC.Sel
Class
public static readonly ObjC.Class Class
Field Value
- ObjC.Class
ConvertPointFromViewSel
public static readonly ObjC.Sel ConvertPointFromViewSel
Field Value
- ObjC.Sel
FlippedSel
public static readonly ObjC.Sel FlippedSel
Field Value
- ObjC.Sel
FrameSel
public static readonly ObjC.Sel FrameSel
Field Value
- ObjC.Sel
LayerSel
public static readonly ObjC.Sel LayerSel
Field Value
- ObjC.Sel
NeedsDisplaySel
public static readonly ObjC.Sel NeedsDisplaySel
Field Value
- ObjC.Sel
SetAutoresizesSubviewsSel
public static readonly ObjC.Sel SetAutoresizesSubviewsSel
Field Value
- ObjC.Sel
SetAutoresizingMaskSel
public static readonly ObjC.Sel SetAutoresizingMaskSel
Field Value
- ObjC.Sel
SetFlippedSel
public static readonly ObjC.Sel SetFlippedSel
Field Value
- ObjC.Sel
SetFrameSel
public static readonly ObjC.Sel SetFrameSel
Field Value
- ObjC.Sel
SetLayerSel
public static readonly ObjC.Sel SetLayerSel
Field Value
- ObjC.Sel
SetNeedsDisplayInRectSel
public static readonly ObjC.Sel SetNeedsDisplayInRectSel
Field Value
- ObjC.Sel
SetNeedsDisplaySel
public static readonly ObjC.Sel SetNeedsDisplaySel
Field Value
- ObjC.Sel
SetTranslatesAutoresizingMaskIntoConstraintsSel
public static readonly ObjC.Sel SetTranslatesAutoresizingMaskIntoConstraintsSel
Field Value
- ObjC.Sel
SetWantsLayerSel
public static readonly ObjC.Sel SetWantsLayerSel
Field Value
- ObjC.Sel
SizeThatFitsSel
public static readonly ObjC.Sel SizeThatFitsSel
Field Value
- ObjC.Sel
TranslatesAutoresizingMaskIntoConstraintsSel
public static readonly ObjC.Sel TranslatesAutoresizingMaskIntoConstraintsSel
Field Value
- ObjC.Sel
WantsLayerSel
public static readonly ObjC.Sel WantsLayerSel
Field Value
- ObjC.Sel
Properties
AutoresizesSubviews
public bool AutoresizesSubviews { get; set; }
Property Value
- bool
AutoresizingMask
public AppKit.NSAutoresizingMaskOptions AutoresizingMask { get; set; }
Property Value
- AppKit.NSAutoresizingMaskOptions
Flipped
public bool Flipped { get; set; }
Property Value
- bool
Frame
public Foundation.NSRect Frame { get; set; }
Property Value
- Foundation.NSRect
Layer
public CoreAnimation.CALayer Layer { get; set; }
Property Value
- CoreAnimation.CALayer
NeedsDisplay
public bool NeedsDisplay { get; set; }
Property Value
- bool
TranslatesAutoresizingMaskIntoConstraints
public bool TranslatesAutoresizingMaskIntoConstraints { get; set; }
Property Value
- bool
WantsLayer
public bool WantsLayer { get; set; }
Property Value
- bool
Methods
AddSubview(NSView)
public void AddSubview(AppKit.NSView child)
Parameters
child AppKit.NSView
Autorelease()
public override AppKit.NSView Autorelease()
Returns
- AppKit.NSView
ConvertPointFromView(NSPoint, NSView?)
public Foundation.NSPoint ConvertPointFromView(Foundation.NSPoint point, AppKit.NSView? view)
Parameters
point Foundation.NSPoint
view AppKit.NSView
Returns
- Foundation.NSPoint
SetNeedsDisplayInRect(NSRect)
public void SetNeedsDisplayInRect(Foundation.NSRect rect)
Parameters
rect Foundation.NSRect
SizeThatFits(NSSize)
public Foundation.NSSize SizeThatFits(Foundation.NSSize size)
Parameters
size Foundation.NSSize
Returns
- Foundation.NSSize