markup-extensions Questions

2

Solved

I am using XAML serialization for an object graph (outside of WPF / Silverlight) and I am trying to create a custom markup extension that will allow a collection property to be populated using refe...
Padauk asked 28/11, 2011 at 21:15

2

Solved

I'm trying to bind to a Dictionary<Type,string> through xaml. The problem is, the indexer [] in the Binding markup extension interprets it's content as string. Is there some kind of 'unescap...
Dulciedulcify asked 21/2, 2012 at 2:52

3

Solved

In my view-model and model I have a method with the signature of bool IsPropertyReadOnly(string propertyName). This method determines if the currently logged in user can edit a propery value. A few...
Seniority asked 4/2, 2012 at 0:1

1

Solved

The value of the second parameter of the markup extension I am using is a string containing some commas and I don't want those commas to be interpreted as parameter separators by the xaml interpret...
Transcend asked 10/1, 2012 at 14:12

4

Solved

I have a value converter that formats numbers (I can't use SP1 yet unfortunately). It works fine until it gets a percentage. Here's an example: <TextBlock Text="{Binding Path=PercentageComplet...
Reverso asked 25/8, 2009 at 20:23

2

Solved

I saw online 2 different approaches to enhancing an IValueConverter. One of them extended a ValueConverter from MarkupExtension, the other from DependencyObject. I can't extend from both, so I'm wo...
Spearhead asked 16/9, 2011 at 13:5

2

Solved

I was going through some old code of mine and came across a hybrid IValueConverter / MarkupExtension class. It got me wondering if the IServiceProvider in the ProvideValue method was actually usefu...
Paralytic asked 14/9, 2011 at 22:1

1

Solved

To translate my WPF application I use a Markup extension which returns a Binding object. This allows me to switch the language while the application is running. I use this Markup like this: <Te...
Christmann asked 7/1, 2011 at 8:55

1

Solved

I'm attempting to write a custom MarkupExtension to make my life easier by giving me a better way to specify bindings in XAML. However I would like to know if there is any way I can access the obje...
Finality asked 15/6, 2010 at 17:21

© 2022 - 2024 — McMap. All rights reserved.