I am new to WPF. I have created a user control and using it at multiple places like this



<myControls:MyTitleBar>
<UserControl.BitmapEffect>
...