You can use below code to get RotateTransform named Tag
.
RotateTransform tag = (RotateTransform)FlipButton.Template.FindName("Tag", FlipButton);
There is a Microsoft document How to: Find ControlTemplate-Generated Elements giving a detailed description of it. By the way, if I misunderstand your question, please point out.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.