Adding TemplatePart attributes
Updating to use OnApplyTemplate instead of Loaded event to create bindings