Пример #1
0
 public void Deselect()
 {
     ApplyHeaderBrush(new SolidColorBrush(AvaloniaColor.Parse("Transparent")));
     Selected = false;
 }
Пример #2
0
 private Color GetColor(TdApi.User user)
 {
     return(Color.Parse("#" + _colorMapper[user.Id]));
 }
Пример #3
0
 private Color GetColor(TdApi.Chat chat)
 {
     return(Color.Parse("#" + _colorMapper[chat.Id]));
 }
Пример #4
0
 private Color GetColor(AvatarKind kind)
 {
     return(Color.Parse("#" + _colorMapper[(int)kind]));
 }