/// <summary> /// Applies template. /// </summary> public override void OnApplyTemplate() { _valuesPanel = (Canvas)TreeHelper.TemplateFindName("PART_ValuesPanel", this); _tickPanel = (Canvas)TreeHelper.TemplateFindName("PART_TickPanel", this); }
/// <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(); }
private void AssignBalloon() { _balloon = (Balloon)TreeHelper.TemplateFindName("PART_Balloon", this); }