controltemplate - Silverlight: Deleting Template Parts -
I have a question about template parts. I want to make the control that comes with the hairdryer, but I do not want it to be a boundary, right / close button, etc.
Is not this acceptable to practice the removal of template parts? I have made a copy of the ChildWindow template in Blend and removed the template parts, and it works fine - I just want to make sure that there will be no problem on the road.
Thank you, Charles, if you read some custom control development documentation on MSDN, then it specifically mentions that developers should expect that template. The parts are not present and the code can be for this, so I think you are okay. Personally, when I need to remove the template part I would like to leave them in XAML, but visibility = collapsed for some limit like button or borderwidth = 0. My personal priority
Comments
Post a Comment