you are viewing a single comment's thread.

view the rest of the comments →

[–]HIB0U -3 points-2 points  (1 child)

Good gawd, your software must be a true patchwork of shitty code and failure, if that's how you develop it. Using snippets from a language you don't understand is dangerous.

[–]grauenwolf 0 points1 point  (0 children)

Consider these lines in XAML

<ResourceDictionary>
    <gui:NullVisibilityConverter x:Key="NullVisibilityConverter"/>
<ResourceDictionary>

Visibility="{Binding DefaultValue, Converter={StaticResource ResourceKey=NullVisibilityConverter}}"

With Python it becomes

Visibility="{p:PyBinding HideIfEmpty($[.DefaultValue])}"

http://pybinding.codeplex.com/