<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/grid-view-attributes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Grid View Attributes"
}
-->

# Grid View Attributes

Attributes that are used with grid views, such as thumbnails and media browsers that present a grid of items. The children of a grid are ordered.

## Topics

### Constants

[`static let columnCount: NSAccessibility.Attribute`](/documentation/AppKit/NSAccessibility-swift.struct/Attribute/columnCount)

The number of columns in the grid (`NSNumber` as `intValue`).

[`static let orderedByRow: NSAccessibility.Attribute`](/documentation/AppKit/NSAccessibility-swift.struct/Attribute/orderedByRow)

A flag that indicates whether the grid is in row major or column major order.

[`static let rowCount: NSAccessibility.Attribute`](/documentation/AppKit/NSAccessibility-swift.struct/Attribute/rowCount)

The number of rows in the grid (`NSNumber` as `intValue`).



---

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)