---
title: behavioralStyle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uislider/behavioralstyle
---

# behavioralStyle

The style that determines how the slider behaves.

## Declaration

```swift
var behavioralStyle: UIBehavioralStyle { get }
```

## Discussion

Discussion Use this property to determine the actual behavior style when the preferredBehavioralStyle is UIBehavioralStyle.automatic.

## See Also

### Modifying the slider’s behavior

- [isContinuous](uikit/uislider/iscontinuous.md)
- [preferredBehavioralStyle](uikit/uislider/preferredbehavioralstyle.md)
- [UIBehavioralStyle](uikit/uibehavioralstyle.md)
