iOS Question iTableView - Suppress Focus

Discussion in 'iOS Questions' started by RichardN, Jun 17, 2015.

  1. RichardN

    RichardN Active Member Licensed User

    I am using the iTableView to display the resulting records from a database query. In this instance it has no selectable functionality other than simply to display a line of text in each cell.

    When you touch a cell it gains focus and changes colour. Is it possible to suppress that individual cell 'selectable' functionality of the iTableView without disabling the whole view ?
  2. Erel

    Erel Administrator Staff Member Licensed User

    Set the ShowSelection property of all items to false:
    Dim tc As TableCell = tv.AddSingleLine("item ")
    tc.ShowSelection = 
    RichardN likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice