---
id: fast-foundation.anchoredregion.horizontalviewportlock
title: AnchoredRegion.horizontalViewportLock property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [AnchoredRegion](./fast-foundation.anchoredregion.md) &gt; [horizontalViewportLock](./fast-foundation.anchoredregion.horizontalviewportlock.md)

## AnchoredRegion.horizontalViewportLock property

Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis

<b>Signature:</b>

```typescript
horizontalViewportLock: boolean;
```

## Remarks

HTML Attribute: horizontal-viewport-lock
