Beispiel #1
0
 /// <summary>
 /// Raised when template applied
 /// </summary>
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     _inputs             = GetTemplateChild("PART_Inputs") as ItemsControl;
     _outputs            = GetTemplateChild("PART_Outputs") as ItemsControl;
     ParentSchemeControl = FindAncestor.FindAncestorOfType(this, typeof(SchemeControl)) as SchemeControl;
 }
Beispiel #2
0
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     _hotspotElement     = GetTemplateChild("PART_Hotspot") as FrameworkElement;
     ParentSchemeControl = FindAncestor.FindAncestorOfType(this, typeof(SchemeControl)) as SchemeControl;
 }