예제 #1
0
 /// <summary>
 /// Applies template.
 /// </summary>
 public override void OnApplyTemplate()
 {
     _valuesPanel = (Canvas)TreeHelper.TemplateFindName("PART_ValuesPanel", this);
     _tickPanel   = (Canvas)TreeHelper.TemplateFindName("PART_TickPanel", this);
 }
예제 #2
0
 /// <summary>
 /// Assigns control template parts.
 /// </summary>
 public override void OnApplyTemplate()
 {
     _gridCanvas = (Canvas)TreeHelper.TemplateFindName("PART_GridCanvas", this);
 }
        /// <summary>
        /// Applies control template.
        /// </summary>
        public override void OnApplyTemplate()
        {
            _sliceVisual = (Path)TreeHelper.TemplateFindName("PART_SliceVisual", this);

            RenderSlice();
        }
예제 #4
0
 private void AssignBalloon()
 {
     _balloon = (Balloon)TreeHelper.TemplateFindName("PART_Balloon", this);
 }