Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Set Button Content with element value

<Window x: Class="Containment.Window1"   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   Title="Containment">      <Button Width="100" Height="100">Hi</Button>    </Window>