---
title: "What is the use of Display Modes?"  
description: "What is the use of Display Modes?"  
author: "Anonymous User"  
published: 2014-10-10  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/2206/what-is-the-use-of-display-modes  
category: ".net"  
tags: ["asp.net", "asp.net mvc"]  
reading_time: 1 minute  

---

# What is the use of Display Modes?

- View can be changed automatically based on browser(For mobile and desktop browser’s)

Display Modes is newly added feature in ASP.NET MVC 4. Views selected automatically by application depending on the browser. Example: If a desktop browser requests login page of an application it will return Views\Account\Login.cshtml view & if a mobile browser requests home page it will return Views\Account\Login.mobile.cshtml view.

## Answers

### Answer by Anonymous User

- View can be changed automatically based on browser(For mobile and desktop browser’s)

Display Modes is newly added feature in ASP.NET MVC 4. Views selected automatically by application depending on the browser. Example: If a desktop browser requests login page of an application it will return Views\Account\Login.cshtml view & if a mobile browser requests home page it will return Views\Account\Login.mobile.cshtml view.


---

Original Source: https://www.mindstick.com/interview/2206/what-is-the-use-of-display-modes

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
