WPF: Making an element not appear as public or friend?
In the designer, how can I (for instance) make a button be private within the Window that it is on? I remember a way to do this in Windows Forms, but I don't know how in WPF.

Is there a way to do it through Visual Studio?
WPF: Making an element not appear as public or friend?
===

In the designer, how can I (for instance) make a button be private within the Window that it is on? I remember a way to do this in Windows Forms, but I don't know how in WPF.

Is there a way to do it through Visual Studio?