Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Use Button Content to set the content for a Button

<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">         <Button.Content>Hi</Button.Content>     </Button>    </Window>