Method | Description | |
---|---|---|
ActionImageTag ( this helper, System.Web.Mvc.ActionResult result, string imageFileName, object anchorHtmlAttributes, object imageHtmlAttributes ) : System.Web.Mvc.MvcHtmlString |
Generates an anchor tag (link) with an image inside such that the image when clicked follows the specified MVC route.
|
|
ActionImageTag ( this helper, string action, string controllerName, string imageFileName ) : System.Web.Mvc.MvcHtmlString |
Generates an anchor tag (link) with an image inside such that the image when clicked follows the specified MVC route.
|
|
ActionImageTag ( this helper, string action, string controllerName, string imageFileName, object routeValues ) : System.Web.Mvc.MvcHtmlString |
Generates an anchor tag (link) with an image inside such that the image when clicked follows the specified MVC route.
|
|
ActionImageTag ( this helper, string action, string controllerName, string imageFileName, object routeValues, object anchorHtmlAttributes, object imageHtmlAttributes ) : System.Web.Mvc.MvcHtmlString |
Generates an anchor tag (link) with an image inside such that the image when clicked follows the specified MVC route.
|
|
AnonymousObjectToHtmlAttributesMvc2 ( this htmlHelper, object htmlAttributes ) : RouteValueDictionary |
An enhancement to the MVC3 same named method that takes into account other dictionary types not being double decoded.
|
|
ImageTag ( this helper, string fileName ) : System.Web.Mvc.MvcHtmlString |
Generates an html image tag using the specified image fileName and any other html attributes to be applied to the image tag.
|
|
ImageTag ( this helper, string fileName, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString |
Generates an html image tag using the specified image fileName and any other html attributes to be applied to the image tag.
|
public static ActionImageTag ( this helper, System.Web.Mvc.ActionResult result, string imageFileName, object anchorHtmlAttributes, object imageHtmlAttributes ) : System.Web.Mvc.MvcHtmlString | ||
helper | this | The class being extended with this method. |
result | System.Web.Mvc.ActionResult | An IT4MVCActionResult from a T4 MVC action method used to help build urls. |
imageFileName | string | The file name of the image including full relative path. Recommend coming from T4MVC Links property. |
anchorHtmlAttributes | object | A dynamic object with name and value pairs for the anchor tag. Example: new {data-custom1="abc", @class="large"} |
imageHtmlAttributes | object | A dynamic object with name and value pairs for the image tag. Example: new {data-custom1="abc", @class="large"} |
return | System.Web.Mvc.MvcHtmlString |
public static ActionImageTag ( this helper, string action, string controllerName, string imageFileName ) : System.Web.Mvc.MvcHtmlString | ||
helper | this | The class being extended with this method. |
action | string | The action method to navigate to when the image link is clicked. |
controllerName | string | The controller containing the action method to navigate to when the image link is clicked. |
imageFileName | string | The file name of the image including full relative path. Recommend coming from T4MVC Links property. |
return | System.Web.Mvc.MvcHtmlString |
public static ActionImageTag ( this helper, string action, string controllerName, string imageFileName, object routeValues ) : System.Web.Mvc.MvcHtmlString | ||
helper | this | The class being extended with this method. |
action | string | The action method to navigate to when the image link is clicked. |
controllerName | string | The controller containing the action method to navigate to when the image link is clicked. |
imageFileName | string | The file name of the image including full relative path. Recommend coming from T4MVC Links property. |
routeValues | object | Any extra route values required by the action method. Example: new {id=5} |
return | System.Web.Mvc.MvcHtmlString |
public static ActionImageTag ( this helper, string action, string controllerName, string imageFileName, object routeValues, object anchorHtmlAttributes, object imageHtmlAttributes ) : System.Web.Mvc.MvcHtmlString | ||
helper | this | The class being extended with this method. |
action | string | The action method to navigate to when the image link is clicked. |
controllerName | string | The controller containing the action method to navigate to when the image link is clicked. |
imageFileName | string | The file name of the image including full relative path. Recommend coming from T4MVC Links property. |
routeValues | object | Any extra route values required by the action method. Example: new {id=5} |
anchorHtmlAttributes | object | A dynamic object with name and value pairs for the anchor tag. Example: new {data-custom1="abc", @class="large"} |
imageHtmlAttributes | object | A dynamic object with name and value pairs for the image tag. Example: new {data-custom1="abc", @class="large"} |
return | System.Web.Mvc.MvcHtmlString |
public static AnonymousObjectToHtmlAttributesMvc2 ( this htmlHelper, object htmlAttributes ) : RouteValueDictionary | ||
htmlHelper | this | |
htmlAttributes | object | An anonymous object, RouteValueDictionary, or IDictionary of string,object. |
return | RouteValueDictionary |
public static ImageTag ( this helper, string fileName ) : System.Web.Mvc.MvcHtmlString | ||
helper | this | The class being extended with this method. |
fileName | string | The file name of the image including full relative path. Recommend coming from T4MVC Links property. |
return | System.Web.Mvc.MvcHtmlString |
public static ImageTag ( this helper, string fileName, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString | ||
helper | this | The class being extended with this method. |
fileName | string | The file name of the image including full relative path. Recommend coming from T4MVC Links property. |
htmlAttributes | object | A dynamic object with name and value pairs. Example: new {data-custom1="abc", @class="large"} |
return | System.Web.Mvc.MvcHtmlString |