Reply to thread

you should check the Types first:

  • _loginContentVisibility = new WProperty(typeof(Visibility), null); <-- the null is the default, when not set. Your type Visibility.Collapsed looks like an Enum. You should use a proper default value of this enum.
  • you should check the binding: "{Binding Path=LoginContentVisibility, Mode=TwoWay}" isn't it enough to have only "{Binding Path=LoginContentVisibility}" ?

I did not use the Visibility property yet (in fact I did not know it yet ;)), but when you like to control if the element should be visible, use the "IsVisible" property in favour (simple bool value).


Top Bottom