Share via


LayerVisual.Effect Property

Definition

The effect to be applied to the flattened representation of the children of a LayerVisual.

public:
 property CompositionEffectBrush ^ Effect { CompositionEffectBrush ^ get(); void set(CompositionEffectBrush ^ value); };
CompositionEffectBrush Effect();

void Effect(CompositionEffectBrush value);
public CompositionEffectBrush Effect { get; set; }
var compositionEffectBrush = layerVisual.effect;
layerVisual.effect = compositionEffectBrush;
Public Property Effect As CompositionEffectBrush

Property Value

The effect to be applied to the flattened representation of the children of a LayerVisual.

Remarks

This CompositionEffectBrush cannot take a CompositionBackdropBrush as input, including HostBackdropBrush.

Applies to