Skip to content

Instantly share code, notes, and snippets.

@kevingosse
Last active January 9, 2018 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevingosse/b261c48298326640762d0ca7066f8696 to your computer and use it in GitHub Desktop.
Save kevingosse/b261c48298326640762d0ca7066f8696 to your computer and use it in GitHub Desktop.
<UserControl x:Class="WinDbgExt.History.CommandControl"
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"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<RichTextBox x:Name="ContentTextBox" FontFamily="Consolas" Grid.Row="0" IsDocumentEnabled="True" VerticalScrollBarVisibility="Visible" IsReadOnly="True">
<RichTextBox.Document>
<FlowDocument></FlowDocument>
</RichTextBox.Document>
</RichTextBox>
<TextBox x:Name="CommandTextBox" Grid.Row="1" KeyDown="CommandTextBox_KeyDown" />
</Grid>
</UserControl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment