[Category("Diagram")] public event EventHandler<DiagramEventArgs> InitialLayoutCompleted
Event Data
The event handler receives an argument of type DiagramEventArgs containing data related to this event. The following DiagramEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Element | Gets or sets the specific FrameworkElement that was acted upon and that is the subject of the event. |
| Handled | (Inherited from System.Windows.RoutedEventArgs) |
| OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
| Part | Gets or sets the Part that was acted upon and that is the subject of the event. |
| RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
| Source | (Inherited from System.Windows.RoutedEventArgs) |
Remarks
This event not only occurs during initialization, but also when the model is replaced. One-time initialization of the DiagramPanel should be done in the TemplateApplied event.
See Also