TextFormattingRunProperties.BackgroundBrushSame(Brush) Method

Definition

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

brush
Brush

The other Brush.

Returns

true if the background brushes are the same, false if they are not.

Applies to