TextFormattingRunProperties::BackgroundBrushSame Method (Brush^)

 

Determines whether the background brush for this TextFormattingRunProperties is the same as the specified brush.

Namespace:   Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

public:
bool BackgroundBrushSame(
	Brush^ brush
)

Parameters

brush
Type: System.Windows.Media::Brush^

The other Brush.

Return Value

Type: System::Boolean

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

Return to top
Show: