tags:

views:

17

answers:

2

Visibility="{Binding, Converter={StaticResource nVis}}"

My converter return collapsed if object is nothing and visible if not.

Why the error :

Erreur 1 Erreur de génération inconnue, 'MC3045 : propriété 'Converter' inconnue pour le type 'MS.Internal.Markup.MarkupExtensionParser+UnknownMarkupExtension' rencontrée lors de l'analyse d'une expression Markup Extension.

A: 

Why would you wan't to make an object which hasn't been yet created collapsed and visible when it was created. Because by default you will get behaviour, if there is no object there is nothing to render and when it's created it instantly gets rendered.

Vitalij
I have a right panel with an expander. When i click on items in a listbox, i set expander.datacontext=item.datacontext. My problem is when the expander datacontext is nothing, the expander is visible...
cyrianox
A: 

Well, i didn't find a way to do it easy. I've done it by code, not xaml.

cyrianox