Aju
Aju

Reputation: 806

How to use visibility "Gone" in windows phone?

In my windows phone app, I have a textbox which has to be displayed when certain conditions are met. If not, it should behave like Visibility.Gone in Android.

How should I do that in a windows phone app?

Upvotes: 0

Views: 111

Answers (2)

Pratik Goyal
Pratik Goyal

Reputation: 294

Visiblity.Collapsed in Windows is same as Visibility.Gone in Android. In windows Elements that have a Visibility value of Collapsed do not occupy any layout space and there is nothing which is equivalent to Visibility.InVisible of Android

Upvotes: 0

paiden
paiden

Reputation: 887

The corresponding visibility on the WinPhone platform is Visiblity.Collapsed

Upvotes: 1

Related Questions