This question is locked. New answers and comments are not allowed.
I was looking at the localization samples and had a question about it. Please look at the sample below:
<Button x:Name="ButtonSearch" Visibility="Visible" Height="20" Grid.Row="0" Grid.Column="1"
TelerikControls:LocalizationManager.ResourceKey="ButtonSearch"
Click="ButtonSearch_Click" Margin="344.035,33,70.965,35" ClickMode="Press" Cursor="Hand"
RenderTransformOrigin="0.5,0.5"
UseLayoutRounding="False" d:LayoutRounding="Auto" Background="#FFEBF0F3">
This works. Now, how would I localize the tooltip for the button as this form of localization seems to be looking for the "content" property?
Something I could have done like:
<TextBox x:Name="TextBoxLastNameSearch" Visibility="Visible" Height="20" Grid.Row="0" Grid.Column="1"
Margin="143,9,242,0" ToolTipService.ToolTip="{Binding Path=StringLibrary.XamWebGridPatients_Identifier, Source={StaticResource LocalizedStrings}}"
Just trying to find a consistent way to localize all controls on the page.
Thanks.
<Button x:Name="ButtonSearch" Visibility="Visible" Height="20" Grid.Row="0" Grid.Column="1"
TelerikControls:LocalizationManager.ResourceKey="ButtonSearch"
Click="ButtonSearch_Click" Margin="344.035,33,70.965,35" ClickMode="Press" Cursor="Hand"
RenderTransformOrigin="0.5,0.5"
UseLayoutRounding="False" d:LayoutRounding="Auto" Background="#FFEBF0F3">
This works. Now, how would I localize the tooltip for the button as this form of localization seems to be looking for the "content" property?
Something I could have done like:
<TextBox x:Name="TextBoxLastNameSearch" Visibility="Visible" Height="20" Grid.Row="0" Grid.Column="1"
Margin="143,9,242,0" ToolTipService.ToolTip="{Binding Path=StringLibrary.XamWebGridPatients_Identifier, Source={StaticResource LocalizedStrings}}"
Just trying to find a consistent way to localize all controls on the page.
Thanks.