CSharp examples for System.Drawing:Color
Create SolidColorBrush from Color
using Windows.UI.Xaml.Media; using Windows.UI.Core; using Windows.UI; using System.Threading.Tasks; using System.Text; using System.Linq; using System.Collections.Generic; using System;//from ww w . j a v a2 s . c o m public class Main{ public static SolidColorBrush ToBrush(this Color color) { return new SolidColorBrush(color); } }