Advanced Forum Search Results
-
Does anybody know of a way to cancel the SelectionChanged event on the TabControl? I don't see a Handled or Cancel property on the event args and would like the ability to stop the user from going to another tab if certain criteria isn't met.
Thanks,
-Jarred Froman
-
Place a breakpoint on the EnumConverter Convert method and inspect the type on value. When this first loads up, you'll notice that the type is of TestEnum for the ListBox. However, when you click the combobox dropdown (which is the point at which the databinding occurs for that object), you'll notice that ...
-
I created a converter to return an enumerated list of an enum to the ComboBox's ItemsSource. I also have an ItemTemplate with a TextBlock that binds to the item and uses a converter to convert the actual enum into a string. When reading through the ItemTemplate's converter to evaluate the enum, the ...
-
I'm trying to access the elements inside of the itemtemplate (as shown below) for a selected item inside the listbox through the code-behind. Does anybody know how to do this?
<Listbox x:Name="lstTest" Grid.Row="0" ItemsSource="{Binding MyList, Mode=OneWay}">
...
-
Hi Jordan,
I haven't had much luck with setting the culture directly in the resource class. This was working in Beta1 but I'm having trouble with it in Beta2. Regardless, instead of reading the params... you could also do the following:
SilverlightLoc.Resources.Strings.Culture = ...
-
Hi Eric,
I tried changing the order of the EmbeddedResources as you mentioned and didn't have too much luck... actually, the results produced the reverse of what I have been finding. Only two resources from the list still load... however, instead of it selecting the last in the list of other languages (sorted alphabetically), it selects ...
-
According to the MSDN blog post you found earlier, it sounds as if it does allow you to compile multiple cultures into one XAP file:
--------------------------
1. In the solution explorer unload the Silverlight project and edit the project file. There is pre-created tag of “SupportedCultures” in the first property group tag. Fill in ...
-
Great find!
It's not quite as erratic as it was before, but for some reason, I can only get english (en-US) and french (fr-FR) to work. German (de-DE) won't... Actually, I also found that if I create a separate resource file for en-US rather than using that as the default, it gets stuck on that ...
-
Hi Jordan,
I am looking for a similar tool for our office as well. I've been hoping that after all these years, that something like this would have already been built into the Resource management tools within Visual Studio.
If you happen to come across something like this, please let me know.
Thanks,
-Jarred Froman
-
That's exactly what I've been looking for... and seems like the logical way to set it up... however, it seems odd that we would have to change the function to public. I wonder if this was intended or if it's a bug. I tried creating a separate class that would inherit off of the Resource file to see if that would ...