Exemplo n.º 1
0
 /// <summary>
 /// Applies control template.
 /// </summary>
 public override void OnApplyTemplate()
 {
     _graphCanvas = (Canvas)TreeHelper.TemplateFindName("PART_GraphCanvas", this);
     _graphCanvas.Children.Add(_areaGraph);
 }
Exemplo n.º 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);
 }