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
)

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

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft