MonobjcMonobjc Documented Class Library
IsDescendantOf Method (aView)
NamespacesMonobjc.AppKitNSViewIsDescendantOf(NSView)

Returns YES if the receiver is a subview of a given view or if it’s identical to that view; otherwise, it returns NO.

Original signature is '- (BOOL)isDescendantOf:(NSView *)aView'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool IsDescendantOf(
	NSView aView
)
Public Overridable Function IsDescendantOf ( _
	aView As NSView _
) As Boolean
public:
virtual bool IsDescendantOf(
	NSView^ aView
)
Parameters
aView (NSView)
The view to test for subview relationship within the view hierarchy.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSView.IsDescendantOf(Monobjc.AppKit.NSView)"]

Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)