BackgroundBrushChangedEventArgs Constructor
Initializes a new instance of a BackgroundBrushChangedEventArgs.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Dichiarazione
Public Sub New ( _
newBackgroundBrush As Brush _
)
public BackgroundBrushChangedEventArgs(
Brush newBackgroundBrush
)
public:
BackgroundBrushChangedEventArgs(
Brush^ newBackgroundBrush
)
new :
newBackgroundBrush:Brush -> BackgroundBrushChangedEventArgs
public function BackgroundBrushChangedEventArgs(
newBackgroundBrush : Brush
)
Parameters
- newBackgroundBrush
Type: System.Windows.Media.Brush
The new Brush for an IWpfTextView.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | newBackgroundBrush is null. |
.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.