ComponentOne Basic Library for WPF and Silverlight
SetBackground Method (BackgroundGradientSuppressor)


C1.WPF Namespace > BackgroundGradientSuppressor Class : SetBackground Method
Sets the value of the Background attached property.
Syntax
'Declaration
 
Public Shared Sub SetBackground( _
   ByVal obj As System.Windows.DependencyObject, _
   ByVal value As System.Windows.Media.Brush _
) 
'Usage
 
Dim obj As System.Windows.DependencyObject
Dim value As System.Windows.Media.Brush
 
BackgroundGradientSuppressor.SetBackground(obj, value)
public static void SetBackground( 
   System.Windows.DependencyObject obj,
   System.Windows.Media.Brush value
)

Parameters

obj
value
See Also

Reference

BackgroundGradientSuppressor Class
BackgroundGradientSuppressor Members