Cosmos/source2/VSIP/Cosmos.VS.Windows/MyControl.xaml
kudzu_cp b985fb2cc7
2011-06-19 12:49:42 +00:00

17 lines
1.1 KiB
XML

<UserControl x:Class="Cosmos.Cosmos_VS_Windows.MyControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:vsfx="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.10.0"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300"
Name="MyToolWindow"
Background="{DynamicResource {x:Static vsfx:VsBrushes.ToolWindowBackgroundKey}}">
<Grid>
<StackPanel Orientation="Vertical">
<TextBlock Margin="10" HorizontalAlignment="Center" Foreground="{DynamicResource {x:Static vsfx:VsBrushes.ToolWindowTextKey}}">This is a toolwindow with WPF content</TextBlock>
<Button Content="_Click Me!" Width="80" Height="80" Name="button1" Click="button1_Click" />
</StackPanel>
</Grid>
</UserControl>