Lets you save the attributes of controls hosted inside ControlNodes.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C# Copy Code |
---|
public event EventHandler<ControlNodeEventArgs> SerializeControl |
Visual Basic Copy Code |
---|
Public Event SerializeControl As EventHandler(Of ControlNodeEventArgs) |
SerializeControl event handlers receive an argument of type ControlNodeEventArgs. The following ControlNodeEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
Gets or sets a value indicating whether the event is handled. | |
Gets a reference to the ControlNode being serialized or deserialized. | |
The parent XElement where control data should be saved. |
C# Copy Code |
---|
private void OnDiagramSerializeControl(object sender, ControlNodeEventArgs e) private void OnDiagramDeserializeControl(object sender, ControlNodeEventArgs e) |