GraphHost MembersElecNetKit Documentation

The GraphHost type exposes the following members.
Constructors

  NameDescription
Public methodGraphHost
Instantiates a new GraphHost control.
Back to Top
Methods

  NameDescription
Public methodExportPNG
Export the currently displayed content to a PNG file.
(Inherited from VisualHost.)
Public methodExportXPS
Export the currently displayed content to an xps (vector format) file.
(Inherited from VisualHost.)
Protected methodGetVisualChild
Provide a required override for the GetVisualChild(Int32) method.
(Inherited from VisualHost.)
Protected methodOnPropertyChanged
Triggers the PropertyChanged event for the specified property name.
(Inherited from VisualHost.)
Public methodRefreshGraph
Force a redraw. Useful after setting a parameter of the INetworkGraph assigned in the Graph property, or modifying the Network.
Back to Top
Extension Methods

  NameDescription
Public Extension MethodSaveVisualToByteArray
Store a visual in an array of bytes.
(Defined by DrawingVisualSerialisers.)
Back to Top
Properties

  NameDescription
Public propertyDrawing
The Drawing that the VisualHost should render.
(Inherited from VisualHost.)
Public propertyGraph
The INetworkGraph that should be drawn by the control.
Protected propertyVisualChildrenCount
Counts the number of children owned by the host.
(Inherited from VisualHost.)
Back to Top
Events

  NameDescription
Public eventPropertyChanged
Notifies when a property changes.
(Inherited from VisualHost.)
Back to Top
See Also