ViewPage Class
- Namespace:
- Weavy.Web.Views
- Assembly:
- Weavy.Web.dll
Base class for strongly typed views.
public abstract class ViewPage<TModel> : WebViewPage<TModel>
- Inheritance:
- System.Object → ViewPage
Constructors
View |
Properties
Action |
Returns the name of the currently executing Action |
Area |
Returns the name of the current Area. |
Back | Gets or sets the url for navigating back. |
Body |
Attributes to render in the <body> element. |
Controller |
Returns the name of the currently executing Controller |
Html |
Attributes to render in the <html> element. |
Is |
Gets a value indicating whether the request is for an embedded action/view. |
T | Gets the localizer for the view. |
Theme | Gets the current theme settings. |
Title | Gets or sets the page title. |
User |
Gets the current Weavy.Web.Views.ViewPage%601.User .
|
Weavy |
Gets the current WeavyContext. |
Methods
Init |
Initializes the HtmlLocalizer for the view |
Render |
Render attributes for the <body> element. |
Render |
Render attributes for the <html> element. |
Extension Methods
Serialize(object) | Serializes an object, or graph of connected objects, to a byte array. |
Serialize |
Serializes an object, or graph of connected objects, to a json string. |
Is |
Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type. |