---
title: switchedOnContents
framework: Touch Controller
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tcswitchdescriptor/switchedoncontents
---

# switchedOnContents

The contents for the switch when it is switched on.

## Declaration

```swift
var switchedOnContents: TCControlContents? { get set }
```

## Discussion

Discussion This value can be nil.

## See Also

### Inspecting the descriptor

- [contents](touchcontroller/tcswitchdescriptor/contents.md)
- [highlightDuration](touchcontroller/tcswitchdescriptor/highlightduration.md)
- [label](touchcontroller/tcswitchdescriptor/label.md)
- [offset](touchcontroller/tcswitchdescriptor/offset.md)
- [size](touchcontroller/tcswitchdescriptor/size.md)
- [zIndex](touchcontroller/tcswitchdescriptor/zindex.md)
