TextFormattingRunProperties.BackgroundBrushSame Method
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)
Syntax
'宣言
Public Function BackgroundBrushSame ( _
brush As Brush _
) As Boolean
public bool BackgroundBrushSame(
Brush brush
)
public:
bool BackgroundBrushSame(
Brush^ brush
)
member BackgroundBrushSame :
brush:Brush -> bool
public function BackgroundBrushSame(
brush : Brush
) : boolean
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.