---
title: blendingMode
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsvisualeffectview/blendingmode-swift.property
---

# blendingMode

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

## Declaration

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

## Discussion

Discussion When the value of this property is NSVisualEffectView.BlendingMode.behindWindow (the default), the visual effect view blurs the content behind the window. When the value is NSVisualEffectView.BlendingMode.withinWindow, it blurs the content behind the view of the current window. If the visual effect view’s material is NSVisualEffectView.Material.titlebar, set the blending mode to NSVisualEffectView.BlendingMode.withinWindow.

## See Also

### Specifying the Effect Appearance

- [NSVisualEffectView.BlendingMode](appkit/nsvisualeffectview/blendingmode-swift.enum.md)
- [isEmphasized](appkit/nsvisualeffectview/isemphasized.md)
- [interiorBackgroundStyle](appkit/nsvisualeffectview/interiorbackgroundstyle.md)
