Exemple #1
0
 /// <summary>
 /// Applies control template.
 /// </summary>
 public override void OnApplyTemplate()
 {
     _graphCanvas = (Canvas)TreeHelper.TemplateFindName("PART_GraphCanvas", this);
     _graphCanvas.Children.Add(_areaGraph);
 }
Exemple #2
0
 /// <summary>
 /// Applies control template
 /// </summary>
 public override void OnApplyTemplate()
 {
     _valuesPanel = (Canvas)TreeHelper.TemplateFindName("PART_ValuesPanel", this);
     _tickPanel   = (Canvas)TreeHelper.TemplateFindName("PART_TickPanel", this);
 }