/// <summary> /// Override that is called after a visual template is applied to the control, /// called whenever ApplyTemplate, which builds the current template's visual tree, is called</summary> public override void OnApplyTemplate() { PART_Grid = (Grid)Template.FindName("PART_Grid", this); PART_Popup = (ResizablePopup)Template.FindName("PART_Popup", this); UpdatePopupProperties(); }
/// <summary> /// Override that is called after a visual template is applied to the control, /// called whenever ApplyTemplate, which builds the current template's visual tree, is called</summary> public override void OnApplyTemplate() { PART_Grid = (Grid)Template.FindName("PART_Grid", this); PART_Popup = (ResizablePopup)Template.FindName("PART_Popup", this); UpdatePopupProperties(); }