Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

ISVisible Property

$
0
0

Hi folks,

here my problem:

i have this xaml



behind it this piece of code available when i click a button

GridAct.IsVisible = true;
viewModel.RicalculateList();
GridAct.IsVisible = false;

the grid is not visible andthe property is true only when i change the code in this way

Device.BeginInvokeOnMainThread(() => {
//API calls to load lists

GridAct.IsVisible = true;
});

viewModel.RicalculateList();
GridAct.IsVisible = false;

but if i try to put the other two lines inside nothing works

advices...


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>