예제 #1
0
        /// <summary>
        /// Applies control template.
        /// </summary>
        protected override void OnApplyTemplate()
        {
            _sliceVisual = (Path)TreeHelper.TemplateFindName("PART_SliceVisual", this);

            RenderSlice();
        }
예제 #2
0
파일: AreaGraph.cs 프로젝트: ibebbs/CODuo
 /// <summary>
 /// Applies control template.
 /// </summary>
 protected override void OnApplyTemplate()
 {
     _graphCanvas = (Canvas)TreeHelper.TemplateFindName("PART_GraphCanvas", this);
     _graphCanvas.Children.Add(_areaGraph);
 }
예제 #3
0
 /// <summary>
 /// Assigns control template parts.
 /// </summary>
 protected override void OnApplyTemplate()
 {
     _gridCanvas = (Canvas)TreeHelper.TemplateFindName("PART_GridCanvas", this);
 }