Export (0) Print
Expand All

VisualTreeHelper.GetEffect Method

Gets the bitmap effect for the specified Visual.

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

public static Effect GetEffect(
	Visual 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

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP2

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft