提交 8baea398 编写于 作者: D David Poeschl

Fixups for Inline Rename buttons

上级 3c5f26a8
......@@ -241,6 +241,7 @@
<Button Name="ApplyButton" Click="Apply_Click" IsDefault="True" MinWidth="75" MinHeight="23" Padding="10,1,10,1" Margin="0,8,0,0" HorizontalAlignment="Right"
ToolTip="{Binding ElementName=dashboard, Path=ApplyToolTip}"
Style="{DynamicResource {x:Static utilities:CodeAnalysisColors.ButtonStyleKey}}"
Content="{Binding ElementName=dashboard, Path=ApplyRename}"
AutomationProperties.Name="{Binding ElementName=dashboard, Path=ApplyRename}"/>
</StackPanel>
</Border>
......
......@@ -271,6 +271,7 @@ private void FindAdornmentCanvas_LayoutUpdated(object sender, EventArgs e)
public string SearchInComments => EditorFeaturesResources.Include_comments;
public string SearchInStrings => EditorFeaturesResources.Include_strings;
public string ApplyRename => EditorFeaturesResources.Apply1;
public string CancelRename => EditorFeaturesResources.Cancel;
public string PreviewChanges => EditorFeaturesResources.Preview_changes1;
public string RenameInstructions => EditorFeaturesResources.Modify_any_highlighted_location_to_begin_renaming;
public string ApplyToolTip { get { return EditorFeaturesResources.Apply3 + " (Enter)"; } }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册