How to Lable Hide and show if admin is login then one label is displayed otherwise label is hidden {How Solve it} ?
xaml Code
Code
IsVisible="{Binding IsAdminTrue}">Code
Text="is_professional">Code
public void IsProfessional()Code
{ if (CurrentUser.IsAdmin!= true) { IsAdminTrue= false; }Code
else { IsAdminTrue= true; } }

Piyush PansuriyaRank #454 · 5.5K reputationPosted Apr 9, 2017, 11:46 PM EDT
arvind baldaniyaRank #3,964 · 375 reputationPosted Apr 10, 2017, 4:23 AM EDT