LayoutSynchronizedContentControl.OnContentChanged Method
This member overrides ContentControl.OnContentChanged(Object, Object).
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Protected Overrides Sub OnContentChanged ( _
oldContent As Object, _
newContent As Object _
)
用法
Dim oldContent As Object
Dim newContent As Object
Me.OnContentChanged(oldContent, newContent)
protected override void OnContentChanged(
Object oldContent,
Object newContent
)
protected:
virtual void OnContentChanged(
Object^ oldContent,
Object^ newContent
) override
abstract OnContentChanged :
oldContent:Object *
newContent:Object -> unit
override OnContentChanged :
oldContent:Object *
newContent:Object -> unit
protected override function OnContentChanged(
oldContent : Object,
newContent : Object
)
Parameters
- oldContent
Type: System.Object
- newContent
Type: System.Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
LayoutSynchronizedContentControl Class