TextFormattingRunProperties.ForegroundBrushSame(Brush) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the foreground brush for this TextFormattingRunProperties is the same as brush
.
public:
bool ForegroundBrushSame(System::Windows::Media::Brush ^ brush);
public bool ForegroundBrushSame (System.Windows.Media.Brush brush);
member this.ForegroundBrushSame : System.Windows.Media.Brush -> bool
Public Function ForegroundBrushSame (brush As Brush) As Boolean
Parameters
Returns
true
if the foreground brushes are the same, false
if they are not.