Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 126.96.36.199
This is a specialized CanvasControl that can hold, display, and edit an IGraph instance. It provides access to the Graph and Selection instances, as well as provides convenience methods for Undo()()()() and Redo()()()() operations, as well as Cut()()()(), Copy()()()(), and Paste()()()() operations. Additionally it provides convenience methods for exporting the graph to GraphML and importing a graph from GraphML.
The following commands are bound to methods implemented by this class, but are disabled by default:FileOperationsEnabled dependency property to trueTruetruetrue (True in Visual Basic). In addition to that this class declares the following new RoutedUICommands.
- FitGraphBoundsCommand that invokes FitGraphBounds()()()()
- SetCurrentItemCommand for setting the CurrentItem
- ZoomToCurrentItemCommand for adjusting the Viewport to the CurrentItem