|
5 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 | 6 | xmlns:converters="clr-namespace:Rubberduck.UI.Converters" |
7 | 7 | xmlns:controls="clr-namespace:Rubberduck.UI.Controls" |
8 | | - xmlns:em="clr-namespace:Rubberduck.Refactorings.ExtractMethod" |
9 | 8 | mc:Ignorable="d" |
10 | | - d:DesignHeight="400" d:DesignWidth="600"> |
| 9 | + d:DesignHeight="600" d:DesignWidth="600"> |
11 | 10 | <UserControl.Resources> |
12 | 11 | <BitmapImage x:Key="WarningIcon" UriSource="pack://application:,,,/Rubberduck.Resources;component/Icons/Fugue/exclamation-white.png" /> |
13 | 12 | <converters:BoolToHiddenVisibilityConverter x:Key="BoolToHiddenVisibility" /> |
14 | | - <!-- <CollectionViewSource x:Key="ParameterTypes" Source="{StaticResource em:ExtractMethodParameter.ParameterTypes}" /> --> |
15 | 13 | <LinearGradientBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" EndPoint="0,1" StartPoint="0,0"> |
16 | 14 | <GradientStop Color="#FFD9F4FF" Offset="0"/> |
17 | 15 | <GradientStop Color="#FF9BDDFB" Offset="1"/> |
|
185 | 183 | </Style> |
186 | 184 | </DataGrid.RowStyle> |
187 | 185 | <DataGrid.Columns> |
188 | | - <!--<DataGridComboBoxColumn |
189 | | - SelectedValueBinding="{Binding ParameterType, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
190 | | - ItemsSource="{Binding Source={x:Static extractMethod:ExtractMethodParameter.ParameterTypes}}" |
191 | | - SelectedValuePath="Key" |
192 | | - DisplayMemberPath="Value" |
193 | | - Width="*" |
194 | | - EditingElementStyle="{StaticResource DropDownCellStyle}" |
195 | | - IsReadOnly="False" /> --> |
196 | 186 | <DataGridTextColumn |
197 | 187 | Binding="{Binding ParameterType}" |
198 | 188 | Header="{Resx ResxName=Rubberduck.Refactorings.RefactoringsUI, Key=ExtractMethod_ParameterAssignmentTypeColumnHeader}" |
|
223 | 213 | </Grid.RowDefinitions> |
224 | 214 | <Label |
225 | 215 | Grid.Row="0" |
| 216 | + VerticalAlignment="Top" |
| 217 | + HorizontalAlignment="Left" |
226 | 218 | Content="{Binding PreviewCaption}" /> |
227 | 219 | <controls:BindableTextEditor |
228 | 220 | Grid.Row="1" |
| 221 | + Height="200" |
229 | 222 | Margin="0,5,5,5" |
230 | 223 | AllowDrop="False" |
231 | 224 | FontFamily="Courier New" |
|
0 commit comments