Exemplo n.º 1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            if (!(value is ChatChannel ch))
            {
                ch = ChatChannel.Say;
            }

            return(TccUtils.ChatChannelToBrush(ch));
        }