Share via


ControllerContext.DisplayMode Property

 

Gets the display mode.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

public IDisplayMode DisplayMode { get; set; }
public:
property IDisplayMode^ DisplayMode {
    IDisplayMode^ get();
    void set(IDisplayMode^ value);
}
member DisplayMode : IDisplayMode with get, set
Public Property DisplayMode As IDisplayMode

Property Value

Type: System.Web.WebPages.IDisplayMode

The display mode.

See Also

ControllerContext Class
System.Web.Mvc Namespace

Return to top