Изменить свойство ширины. В чем проблема?
XAML:
<WrapPanel>
<WindowsFormsHost>
<wf:Button Width="650" Height="650" x:Name="Btn"/>
</WindowsFormsHost>
</WrapPanel>
Код:
public TestView(IStartupPresentationModel startupModel)
{
InitializeComponent();
this.Btn.Click += new EventHandler(Btn_Click);
}
void Btn_Click(object sender, EventArgs e)
{
this.Btn.Width = 550;
}