Xceed Toolkit Plus for WPF v4.6 Documentation
OnContentChanged Method (Zoombox)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Zoombox Namespace > Zoombox Class : OnContentChanged Method
Overridden to validate that the Content property is a UIElement and to store a reference for easy access. The VisualBrush of the view finder display panel is also updated when the content changes.
Syntax
'Declaration
 
Protected Overrides NotOverridable Sub OnContentChanged( _
   ByVal oldContent As Object, _
   ByVal newContent As Object _
) 
'Usage
 
Dim instance As Zoombox
Dim oldContent As Object
Dim newContent As Object
 
instance.OnContentChanged(oldContent, newContent)
protected override void OnContentChanged( 
   object oldContent,
   object newContent
)

Parameters

oldContent
newContent
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Zoombox Class
Zoombox Members
Base Implementation in OnContentChanged