VisualTreeHelper.GetEffect(Visual) 方法

定义

获取指定 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

参数

reference
Visual

要为其获取位图效果的 Visual

返回

Effect

应用到 referenceEffect

适用于

另请参阅