<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSVisualEffectView/blendingMode-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSVisualEffectView(py)blendingMode"
  },
  "title" : "blendingMode"
}
-->

# blendingMode

A value indicating how the view’s contents blend with the surrounding content.

```
var blendingMode: NSVisualEffectView.BlendingMode { get set }
```

## Discussion

When the value of this property is [`NSVisualEffectView.BlendingMode.behindWindow`](/documentation/AppKit/NSVisualEffectView/BlendingMode-swift.enum/behindWindow) (the default), the visual effect view blurs the content behind the window. When the value is [`NSVisualEffectView.BlendingMode.withinWindow`](/documentation/AppKit/NSVisualEffectView/BlendingMode-swift.enum/withinWindow), it blurs the content behind the view of the current window.

If the visual effect view’s material is [`NSVisualEffectView.Material.titlebar`](/documentation/AppKit/NSVisualEffectView/Material-swift.enum/titlebar), set the blending mode to [`NSVisualEffectView.BlendingMode.withinWindow`](/documentation/AppKit/NSVisualEffectView/BlendingMode-swift.enum/withinWindow).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)