1 <!-- This code provides the UI for the GoTo dialog box. -->
4 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6 x:Class="Microsoft.Samples.WPFNotepad.GoToDialog"
7 SizeToContent="WidthAndHeight"
8 WindowStartupLocation="CenterOwner"
12 Activated="OnActivated">
13 <StackPanel x:Uid="StackPanel_1"
14 Background="{StaticResource DialogBackgroundBrush}">
16 <StackPanel x:Uid="StackPanel_2"
17 Orientation="Horizontal"
19 <Label x:Uid="TextBlock_1"
21 VerticalAlignment="Bottom"
22 Target="{Binding ElementName=_lineNumberTextBox}">
25 <TextBox x:Uid="TextBox_1"
26 Name="_lineNumberTextBox"
32 <StackPanel x:Uid="StackPanel_3"
33 Orientation="Horizontal"
35 <Button x:Uid="Button_1"
40 <Button x:Uid="Button_2"
43 Localization.Attributes = "$Content (Unmodifiable Readable)"