Class AppKit.NSView
public class AppKit.NSView : AppKit.NSResponder, IDisposable
- Inheritance
-
AppKit.NSView
- Implements
- Derived
- Inherited Members
Constructors
NSView()
public NSView()
NSView(nint)
public NSView(nint id)
Parameters
idnint
Fields
AddSubviewSel
public static readonly ObjC.Sel AddSubviewSel
Field Value
AutoresizesSubviewsSel
public static readonly ObjC.Sel AutoresizesSubviewsSel
Field Value
AutoresizingMaskSel
public static readonly ObjC.Sel AutoresizingMaskSel
Field Value
Class
public static readonly ObjC.Class Class
Field Value
ConvertPointFromViewSel
public static readonly ObjC.Sel ConvertPointFromViewSel
Field Value
FlippedSel
public static readonly ObjC.Sel FlippedSel
Field Value
FrameSel
public static readonly ObjC.Sel FrameSel
Field Value
LayerSel
public static readonly ObjC.Sel LayerSel
Field Value
NeedsDisplaySel
public static readonly ObjC.Sel NeedsDisplaySel
Field Value
SetAutoresizesSubviewsSel
public static readonly ObjC.Sel SetAutoresizesSubviewsSel
Field Value
SetAutoresizingMaskSel
public static readonly ObjC.Sel SetAutoresizingMaskSel
Field Value
SetFlippedSel
public static readonly ObjC.Sel SetFlippedSel
Field Value
SetFrameSel
public static readonly ObjC.Sel SetFrameSel
Field Value
SetLayerSel
public static readonly ObjC.Sel SetLayerSel
Field Value
SetNeedsDisplayInRectSel
public static readonly ObjC.Sel SetNeedsDisplayInRectSel
Field Value
SetNeedsDisplaySel
public static readonly ObjC.Sel SetNeedsDisplaySel
Field Value
SetTranslatesAutoresizingMaskIntoConstraintsSel
public static readonly ObjC.Sel SetTranslatesAutoresizingMaskIntoConstraintsSel
Field Value
SetWantsLayerSel
public static readonly ObjC.Sel SetWantsLayerSel
Field Value
SizeThatFitsSel
public static readonly ObjC.Sel SizeThatFitsSel
Field Value
TranslatesAutoresizingMaskIntoConstraintsSel
public static readonly ObjC.Sel TranslatesAutoresizingMaskIntoConstraintsSel
Field Value
WantsLayerSel
public static readonly ObjC.Sel WantsLayerSel
Field Value
Properties
AutoresizesSubviews
public bool AutoresizesSubviews { get; set; }
Property Value
AutoresizingMask
public AppKit.NSAutoresizingMaskOptions AutoresizingMask { get; set; }
Property Value
Flipped
public bool Flipped { get; set; }
Property Value
Frame
public Foundation.NSRect Frame { get; set; }
Property Value
Layer
public CoreAnimation.CALayer Layer { get; set; }
Property Value
NeedsDisplay
public bool NeedsDisplay { get; set; }
Property Value
TranslatesAutoresizingMaskIntoConstraints
public bool TranslatesAutoresizingMaskIntoConstraints { get; set; }
Property Value
WantsLayer
public bool WantsLayer { get; set; }
Property Value
Methods
AddSubview(NSView)
public void AddSubview(AppKit.NSView child)
Parameters
Autorelease()
public override AppKit.NSView Autorelease()
Returns
ConvertPointFromView(NSPoint, NSView?)
public Foundation.NSPoint ConvertPointFromView(Foundation.NSPoint point, AppKit.NSView? view)
Parameters
pointFoundation.NSPointviewAppKit.NSView
Returns
GetFrame(nint)
Gets the frame of a native view we don't own.
public static Foundation.NSRect GetFrame(nint viewPtr)
Parameters
viewPtrnint
Returns
GetSuperview(nint)
Returns the parent view of a native view we don't own.
public static nint GetSuperview(nint viewPtr)
Parameters
viewPtrnint
Returns
SetFrame(nint, NSRect)
Sets the frame of a native view we don't own.
public static void SetFrame(nint viewPtr, Foundation.NSRect rect)
Parameters
viewPtrnintrectFoundation.NSRect
SetHidden(nint, bool)
Sets the hidden flag of a native view we don't own.
public static void SetHidden(nint viewPtr, bool hidden)
Parameters
SetNeedsDisplayInRect(NSRect)
public void SetNeedsDisplayInRect(Foundation.NSRect rect)
Parameters
rectFoundation.NSRect
SizeThatFits(NSSize)
public Foundation.NSSize SizeThatFits(Foundation.NSSize size)
Parameters
sizeFoundation.NSSize