Version

OnContentChanged Method

When the content changes, it's going to cause issues with the Centering Logic since it will be looking at the old values. We set a flag here so centering know that it should re-measure the dialog.
Syntax
'Declaration
 
Protected Overrides Sub OnContentChanged( _
   ByVal oldContent As Object, _
   ByVal newContent As Object _
) 
protected override void OnContentChanged( 
   object oldContent,
   object newContent
)

Parameters

oldContent
newContent
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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