Edit

Share via


VisualTreeHelper.GetEffect(Visual) Method

Definition

Gets the bitmap effect for the specified Visual.

public:
 static System::Windows::Media::Effects::Effect ^ GetEffect(System::Windows::Media::Visual ^ reference);
public static System.Windows.Media.Effects.Effect GetEffect (System.Windows.Media.Visual reference);
static member GetEffect : System.Windows.Media.Visual -> System.Windows.Media.Effects.Effect
Public Shared Function GetEffect (reference As Visual) As Effect

Parameters

reference
Visual

The Visual to get the bitmap effect for.

Returns

The Effect applied to reference.

Applies to

See also