---
title: AttributedTextFormatting.AttributeContainerProxy.Scoped
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/attributedtextformatting/attributecontainerproxy/scoped
---

# AttributedTextFormatting.AttributeContainerProxy.Scoped

A scoped proxy for a partially validated set of attributes.

## Declaration

```swift
@dynamicMemberLookup struct Scoped<Subscope> where Subscope : AttributeScope
```

## Overview

Overview Exposes Attribute as read-write and all other attributes in the scope as read-only. The type automatically queries the underlying AttributedTextFormattingDefinition to constrain values that are accessed. note: This is equivalent to an AttributedTextFormatting.AttributeContainerProxy, except it only provides dynamic member lookup for attributes in a certain Subscope.

## Topics

### Subscripts

- [subscript(dynamicMember:)](swiftui/attributedtextformatting/attributecontainerproxy/scoped/subscript(dynamicmember:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
