public override void OnApplyTemplate() { base.OnApplyTemplate(); _areaCanvas = GetTemplateChild("PART_Area") as Canvas; _lineTextTag = GetTemplateChild("PART_TextTag") as LineTextTag; UpdateTagLocationInScreen(); }
private LineTextTag CreateTextTag(ITagModel tagModel) { LineTextTag tag = new LineTextTag(); SetTagBasePropertyBinding(tag); SetLineTextTagBasePropertyBindings(tag); SetTextTagPropertyBindings(tag); return(tag); }