Not directly but Windows; using System. Type targetType, object parameter, System. Type[] targetTypes, object parameter, System. Wenn ist das Nunstruck git und Slotermeyer? Beiherhund das Oder die Flipperwaldt gersput! Marked as answer by Bruce. Zhou Thursday, October 22, AM. I'll try implement one and will let you know.
Thursday, October 1, PM. A custom MarkupExtension would be definitely the best possible solution. As was shown, the DynamicResourceExtension works just fine for an instance of the Run class because the Run class at least is derived from the FrameworkContentElement class.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Is it possible to use a DynamicResource in a MultiBinding at all? Ask Question. Asked 8 years, 7 months ago. Active 6 years, 10 months ago. Viewed 2k times.
Community Bot 1 1 1 silver badge. Possible duplicate: stackoverflow. Just a note: while both of the suggested duplicates are interesting in their own right, they should be considered slightly related rather than duplicate. Add a comment. Active Oldest Votes. At least one of the following must be true: The property being set must be a property on a FrameworkElement or FrameworkContentElement. An advantage is that as soon as the value under the binding changes, the converter will be called automatically anew, so the value of the multibinding will be updated, too.
However there is another source of "dynamic" information: DynamicResource. So the question is, whether it is possible to make a kind of multibinding, which can use DynamicResource as an information source along with the the customary bindings? Maybe there is some way to wrap a DynamicResource reference into a binding without code-behind? Creating a DP, setting a resource reference, and binding to DP requires a named variable in the window class per usage instance, which I would like to avoid.
I tried searching different places, but didn't even find anywhere discussion of the problem like mine. Maybe there's another more natural way of getting the functionality I need? Thursday, October 1, AM. Not directly but Windows; using System.
0コメント