Is there a way of having a default value for a binding that has no value defined yet?
hi,
i have binding setted in xaml side. however, makes sense when datacontext defined.
the result hided or shown element, however, shown while bind not completly defined thru data context.
is there way of setting standard value binding?
thx,
nuno
i can think of solution, overkill given scenario:
add conveter binding. in converter check if source value null, case when no datacontext set. in case, return default value. if not null, return source value is. ensure whenever datacontext not set default value set.
hope helps,
jim
http://jimmangaly.blogspot.com/
please mark replies answer if answer question
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment