Skip to content

Replies

0
Weimin Zhang
Weimin Zhang answered on Aug 19, 2021 12:28 PM

Hi Ivan,

Thanks a lot for the quick solution. That's exactly what I wanted. Thanks again, and have great day!

Weimin

0
Weimin Zhang
Weimin Zhang answered on Aug 18, 2021 3:25 PM

Hi Ivan,

Thanks for your sample code. Just wonder now CreatePatternFille() accepts System.Windows.Media.Color as for the foreground/background colors, where you provided Color.FromRgb(152,251,152), how to use System.Drawing.Color, such as, System.Drawing.Color.LightGray, etc? Do they have any function/method to convert from System.Drawing.Color to System.Windows.Media.Color? It is not convenient to use FromRgb() with 3 individual color elements. Please advise. Thanks!

0
Weimin Zhang
Weimin Zhang answered on Aug 17, 2021 3:18 PM

Hi Tihomir Tonev,

Thanks for your quick reply. Can you please share me with some sample how to set Fill property to replace FillPatternForegroundColor, LeftBorderColor, FillPatternForegroundColor, and FillPattern in C#? Thanks!