SwitchableContainer.enabled

Set the state of decorated.

Set the state of decorated. Whether is enabled or disabled.

  1. bool enabled [@property setter]
    class SwitchableContainer
    @property @safe nothrow
    enabled
    (
    bool enabled
    )
  2. inout(bool) enabled [@property getter]

Parameters

enabled bool

true to enable, false to disable.

Meta