> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Layout

> Layout

# Layout

游戏的完整触控布局的表示。

## 属性

`content` - *object*。定义布局实际内容的 [Content](https://devdocs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-layout-content) 对象。

`styles` - *object*，*可选*。包含可在整个布局中引用以用于样式设置目的的可重用样式集合的 [Styles](https://devdocs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-layout-styles) 对象。

`definitions` - *object*，*可选*。可用于包含触控布局的可重用组件和值的部分。

## 要求

布局的版本由布局 json 文件中的 `$schema` 属性指定。这指定了布局中可用的特定控件和功能集。

此处描述的属性适用于布局版本 4.0 及更高版本。

## 另请参阅

[Touch Adaptation Kit 参考](https://devdocs.xbox.com/zh-CN/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)\
[示例布局入门](https://devdocs.xbox.com/zh-CN/build/core-features/common/game-streaming/building-touch-layouts/samples/game-streaming-touch-getting-started-with-sample-layouts.md)


## Related topics

- [Publishing touch layouts](https://devdocs.xbox.com/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-touch-publishing-layouts.md)
- [Building touch control layouts](https://devdocs.xbox.com/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-touch-building-touch-layout.md)
- [Publicando layouts de toque](https://devdocs.xbox.com/pt-BR/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-touch-publishing-layouts.md)
- [Driving Touch Control Layout](https://devdocs.xbox.com/build/core-features/common/game-streaming/building-touch-layouts/samples/game-streaming-touch-tak-sample-driving.md)
- [2D Platformer Touch Control Layout](https://devdocs.xbox.com/build/core-features/common/game-streaming/building-touch-layouts/samples/game-streaming-touch-tak-sample-platformer.md)
