Mega Code Archive

 
Categories / C# / WPF
 

TextBox as Button Content

<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">         <TextBox Width="75">edit me</TextBox>   </Button>    </Window>