Click here to Skip to main content
15,559,819 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: JQuery Not Found Pin
ZurdoDev2-Mar-17 11:29
professionalZurdoDev2-Mar-17 11:29 
QuestionMy First JavaScript Code - Exception Pin
Kevin Marois2-Mar-17 8:18
professionalKevin Marois2-Mar-17 8:18 
AnswerRe: My First JavaScript Code - Exception Pin
Sander Rossel2-Mar-17 9:03
professionalSander Rossel2-Mar-17 9:03 
GeneralRe: My First JavaScript Code - Exception Pin
Kevin Marois2-Mar-17 9:14
professionalKevin Marois2-Mar-17 9:14 
GeneralRe: My First JavaScript Code - Exception Pin
Afzaal Ahmad Zeeshan2-Mar-17 9:21
mveAfzaal Ahmad Zeeshan2-Mar-17 9:21 
Questionwhite Popup show while calling wpf app(made on win-07) by Thirdparty app(Made on Xp service pack -3) on windows 7 Pin
Member 1227019516-Feb-17 20:51
Member 1227019516-Feb-17 20:51 
AnswerRe: white Popup show while calling wpf app(made on win-07) by Thirdparty app(Made on Xp service pack -3) on windows 7 Pin
Richard MacCutchan16-Feb-17 22:42
mveRichard MacCutchan16-Feb-17 22:42 
QuestionList of CheckBoxes Localization not working Pin
Member 1300292515-Feb-17 6:33
Member 1300292515-Feb-17 6:33 
Hello,
I have the following control that uses Localization.

I have defined ResPropName in the English resource file as EnglishProperty and in the Spanish Resource file as SpanishProperty. Both properties are defined in the mySource.

Issue: When I try to switch languages, the Content of the checkboxes appears as SpanishProperty or EnglishProperty.

If I would replace the listbox with a combobox the language would switch and the proper text appears.

I have done the same test on one single check-box and I got the same issue.

It seems that the Content property of the Checkbox is not resolving the property while the DisplayMemberPath of the Combobox does.

Come on Guys. I really need help with this one. Smile | :)

<UserControl x:Class="WpfApplication2.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
                xmlns:local="clr-namespace:WpfApplication2"
                LocalizationScope.ResourceManager="{ResourceManager AssemblyName=WpfApplication2, BaseName=WpfApplication2.Resources.WpfApplication2Resources}"
                mc:Ignorable="d" Height="350" Width="525">
       <Grid>

           <ListBox Name="listBox" ItemsSource="{Binding mySource}">
               <ListBox.ItemTemplate>
                   <DataTemplate>
                       <CheckBox Name="CheckBox" Content="{Loc ResPropName}">
                       </CheckBox>
                   </DataTemplate>
               </ListBox.ItemTemplate>
           </ListBox>

       </Grid>
   </UserControl>


   <ComboBox ItemsSource="{Binding mySource}" DisplayMemberPath="{Loc ResPropName}" />


modified 15-Feb-17 12:33pm.

Questionstill shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA7-Feb-17 22:14
MrKBA7-Feb-17 22:14 
AnswerRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming8-Feb-17 3:04
mveRichard Deeming8-Feb-17 3:04 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA8-Feb-17 22:20
MrKBA8-Feb-17 22:20 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming8-Feb-17 22:53
mveRichard Deeming8-Feb-17 22:53 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA8-Feb-17 23:10
MrKBA8-Feb-17 23:10 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming8-Feb-17 23:16
mveRichard Deeming8-Feb-17 23:16 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA9-Feb-17 0:47
MrKBA9-Feb-17 0:47 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming9-Feb-17 1:00
mveRichard Deeming9-Feb-17 1:00 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA9-Feb-17 2:41
MrKBA9-Feb-17 2:41 
QuestionWPF: DataGridCheckboxColumn when one checkbox is checked, check another checkbox in same row Pin
Mark McArdle6-Feb-17 4:04
Mark McArdle6-Feb-17 4:04 
AnswerRe: WPF: DataGridCheckboxColumn when one checkbox is checked, check another checkbox in same row Pin
Richard Deeming6-Feb-17 8:55
mveRichard Deeming6-Feb-17 8:55 
PraiseRe: WPF: DataGridCheckboxColumn when one checkbox is checked, check another checkbox in same row Pin
Mark McArdle7-Feb-17 3:07
Mark McArdle7-Feb-17 3:07 
QuestionStyle User Control In Another Assembly Pin
Kevin Marois2-Feb-17 7:54
professionalKevin Marois2-Feb-17 7:54 
AnswerRe: Style User Control In Another Assembly Pin
Pete O'Hanlon2-Feb-17 8:12
mvaPete O'Hanlon2-Feb-17 8:12 
GeneralRe: Style User Control In Another Assembly Pin
Kevin Marois2-Feb-17 8:13
professionalKevin Marois2-Feb-17 8:13 
GeneralRe: Style User Control In Another Assembly Pin
Kevin Marois2-Feb-17 8:50
professionalKevin Marois2-Feb-17 8:50 
QuestionTelerik GridViewComboBoxColumn Pin
eddieangel25-Jan-17 13:29
eddieangel25-Jan-17 13:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.