block clicking on ListView - only click on AppBarButton

Răspuns block clicking on ListView - only click on AppBarButton

  • 20 august 2012 15:32
     
     

    Hi Forum..

    I have a page in my App where I could see data of my class. With a click on CHANGE a view with TextBoxes opens, in which I could change the shown data. The selected item is in a ListView left to the TextBoxes

    Is it possible to block clicking in the ListView!? The user only should be able to click on the two Buttons which are available in the opened AppBar. 

    thanks for the help..

    Andi

Toate mesajele

  • 20 august 2012 16:06
    Moderator
     
     Răspuns

    Hi, 

    You can set the "IsEnabled" property to 'False'  which will prevent the user from interacting with the ListView.

    -Sagar

    • Marcat ca răspuns de afroDeluXe 21 august 2012 11:04
    •  
  • 21 august 2012 11:04
     
      Are cod

    Yes.. thank you.

    I did it in my ButtonClick Event and i works!

    this.itemListView.IsEnabled = false;