A control that can display one
Visual, and handles layout
accordingly.
System Object
System.Windows.Threading DispatcherObject
System.Windows DependencyObject
System.Windows.Media Visual
System.Windows UIElement
System.Windows FrameworkElement ElecNetKit.Graphing.Controls VisualHost ElecNetKit.Graphing.Controls GraphHostNamespace: ElecNetKit.Graphing.ControlsAssembly: ElecNetKit.Graphing (in ElecNetKit.Graphing.dll) Version: 1.1.4771.27373 (1.1.0.0)
public class VisualHost : FrameworkElement, INotifyPropertyChanged
Public Class VisualHost _
Inherits FrameworkElement _
Implements INotifyPropertyChanged
public ref class VisualHost : public FrameworkElement,
INotifyPropertyChanged
This control should be used for displaying
Visuals generated by
INetworkGraphs in WPF applications.
Adapted from http://msdn.microsoft.com/en-us/library/ms742254.aspx
http://kentb.blogspot.com.au/2008/10/customizing-logical-children.html
http://msdn.microsoft.com/en-us/library/system.windows.media.visual.removevisualchild.aspx
http://www.codeproject.com/Articles/34741/Change-Notification-for-Dependency-Properties