TextFormattingRunProperties.BackgroundBrushSame(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 background brush for this TextFormattingRunProperties is the same as brush
.
public:
bool BackgroundBrushSame(System::Windows::Media::Brush ^ brush);
public bool BackgroundBrushSame (System.Windows.Media.Brush brush);
member this.BackgroundBrushSame : System.Windows.Media.Brush -> bool
Public Function BackgroundBrushSame (brush As Brush) As Boolean
Parameters
Returns
true
if the background brushes are the same, false
if they are not.