VisualTreeHelper.GetEffect Method (Visual)

 

Gets the bitmap effect for the specified Visual.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public static Effect GetEffect(
	Visual reference
)

Parameters

reference
Type: System.Windows.Media.Visual

The Visual to get the bitmap effect for.

Return Value

Type: System.Windows.Media.Effects.Effect

The Effect applied to reference.

.NET Framework
Available since 3.0
Return to top
Show: