|
||
static SS_RGB FromSolidBrush(System.Windows.Media.SolidColorBrush brush);
SolidColorBrush brush; // A System.Windows.Media.SolidColorBrush object
|
|
|||
Synopsis |
using SilverSharp;
The FromSolidBrush method creates a SilverSharp.SS_RGB object from a System.Windows.Media.SolidColorBrush object.
|
|
||
Parameters |
brush is a System.Windows.Media.SolidColorBrush object
|
|
||
Return Value |
FromSolidBrush returns a SilverSharp.SS_RGB object
|
|
||
Remarks |
This method is most useful when working with WPF applications
|
|
||
See Also |
|
|
||
Example |
The following code sets SilverScreen's background color equal to the Background property of a WPF window:
|
|