Replaces one of the receiver’s subviews with another view.
Original signature is '- (void)replaceSubview:(NSView *)oldView with:(NSView *)newView'
Available in Mac OS X v10.0 and later.
Declaration Syntax
public virtual void ReplaceSubviewWith(
NSView oldView,
NSView newView
)
Public Overridable Sub ReplaceSubviewWith ( _
oldView As NSView, _
newView As NSView _
)
public:
virtual void ReplaceSubviewWith(
NSView^ oldView,
NSView^ newView
)
Parameters
- oldView (NSView)
- The view to be replaced by newView. May not be nil.
- newView (NSView)
- The view to replace oldView. May not be nil.
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)