---
title: "value(propertyName:)"
framework: tvmlkit
role: symbol
role_heading: Instance Method
path: "tvmlkit/tvviewelementstyle/value(propertyname:)"
---

# value(propertyName:)

Returns the value associated with a given style name.

## Declaration

```swift
func value(propertyName name: String) -> Any?
```

## Parameters

- `name`: A user defined string representing the name of the style.

## Return Value

Return Value An object containing the value associated with the style name.
