Added placeholder labels

This commit is contained in:
Niels Laute
2020-10-13 21:30:57 +02:00
parent 094136daec
commit 539b834da9
2 changed files with 8 additions and 1 deletions

View File

@@ -768,4 +768,10 @@
<data name="FileExplorerPreview_RebootRequired.Text" xml:space="preserve"> <data name="FileExplorerPreview_RebootRequired.Text" xml:space="preserve">
<value>A reboot may be required for changes to these settings to take effect</value> <value>A reboot may be required for changes to these settings to take effect</value>
</data> </data>
<data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve">
<value>Example: outlook.exe</value>
</data>
<data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve">
<value>Example: %1 (%2)</value>
</data>
</root> </root>

View File

@@ -253,6 +253,7 @@
<TextBox Text="{x:Bind Mode=TwoWay, Path=ViewModel.FileName}" <TextBox Text="{x:Bind Mode=TwoWay, Path=ViewModel.FileName}"
HorizontalAlignment="Left" HorizontalAlignment="Left"
MinWidth="240" MinWidth="240"
x:Uid="ImageResizer_FilenameFormatPlaceholder"
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
Margin="{StaticResource SmallTopMargin}" Margin="{StaticResource SmallTopMargin}"
AutomationProperties.LabeledBy="{Binding ElementName=ImageResizer_FilenameFormatHeader}"> AutomationProperties.LabeledBy="{Binding ElementName=ImageResizer_FilenameFormatHeader}">