/// <summary> /// Applies control template. /// </summary> protected override void OnApplyTemplate() { _sliceVisual = (Path)TreeHelper.TemplateFindName("PART_SliceVisual", this); RenderSlice(); }
/// <summary> /// Applies control template. /// </summary> protected override void OnApplyTemplate() { _graphCanvas = (Canvas)TreeHelper.TemplateFindName("PART_GraphCanvas", this); _graphCanvas.Children.Add(_areaGraph); }
/// <summary> /// Assigns control template parts. /// </summary> protected override void OnApplyTemplate() { _gridCanvas = (Canvas)TreeHelper.TemplateFindName("PART_GridCanvas", this); }