New to Telerik UI for ASP.NET Core? Download free 30-day trial

Constrain movement

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Theme Builder
  • constrain_movement.cshtml
  • Constrain_MovementController.cs

Also available for:

API REFERENCE

Description

The demo example shows how to constrain the movement of the UI for ASP.NET Core Window inside a container element. The feature is enabled through the Containment() option and specifying the position of the container using relative, absolute, or fixed CSS rules.

Support & Learning Resources