Change textColor in list view item programmatically

后端 未结 3 702
孤街浪徒
孤街浪徒 2021-01-29 13:49

I want to do something like this:

 textLabel_inCell.TextColor = Color.Black;

but Visual Studio shows an error:

\"textLabel_inCell doesn

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-29 14:11

    In case of changing Xaml values programmatically either use Converters or Triggers .

提交回复
热议问题