Freigeben über


TextFormattingRunProperties.ForegroundBrushSame(Brush) Method

Definition

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

brush
Brush

The other Brush.

Returns

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

Applies to