Jazyk

DrawingContext.PushEffect(BitmapEffect, BitmapEffectInput) Metoda

Definice

Upozornění

BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.

Vloží zadaný BitmapEffect do kontextu výkresu.

public:
 abstract void PushEffect(System::Windows::Media::Effects::BitmapEffect ^ effect, System::Windows::Media::Effects::BitmapEffectInput ^ effectInput);
public abstract void PushEffect(System.Windows.Media.Effects.BitmapEffect effect, System.Windows.Media.Effects.BitmapEffectInput effectInput);
[System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
public abstract void PushEffect(System.Windows.Media.Effects.BitmapEffect effect, System.Windows.Media.Effects.BitmapEffectInput effectInput);
abstract member PushEffect : System.Windows.Media.Effects.BitmapEffect * System.Windows.Media.Effects.BitmapEffectInput -> unit
[<System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")>]
abstract member PushEffect : System.Windows.Media.Effects.BitmapEffect * System.Windows.Media.Effects.BitmapEffectInput -> unit
Public MustOverride Sub PushEffect (effect As BitmapEffect, effectInput As BitmapEffectInput)

Parametry

effect
BitmapEffect

Účinek, který se použije na následné výkresy.

effectInput
BitmapEffectInput

Oblast, na kterou se efekt použije, nebo null je-li účinek použit na celou oblast následných výkresů.

Atributy

Poznámky

Efekt se použije u všech následných operací kreslení, dokud příkaz neodebere Pop .

Platí pro