Table of Contents

Property Enabled

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll

Enabled

Enables or disables the effect. The default value is true.

public EffectPropertyAccessor<bool> Enabled { get; }

Property Value

EffectPropertyAccessor<bool>

Remarks

This property is useful when creating an effect graph where the ClampEffect should be conditionally enabled based on other state. This makes it possible to avoid rebuilding the effect graph just for the sake of enabling or disabling clamping.