HtmlHelperExtensions.PreviewAttributes Method
- Namespace:
- Weavy.Web.Extensions
- Assembly:
- Weavy.Web.dll
Overloads
Preview |
Gets html attributes needed for triggering image and document preview. |
Preview |
Gets html attributes needed for triggering image and document preview. |
PreviewAttributes(HtmlHelper, Attachment)
Gets html attributes needed for triggering image and document preview.
public static NameValueCollection PreviewAttributes(this HtmlHelper html, Attachment attachment)
Parameters
- html
- System.Web.Mvc.HtmlHelper
- attachment
- Attachment
Returns
System.Collections.Specialized.NameValueCollection
PreviewAttributes(HtmlHelper, IFile)
Gets html attributes needed for triggering image and document preview.
public static NameValueCollection PreviewAttributes(this HtmlHelper html, IFile file)
Parameters
- html
- System.Web.Mvc.HtmlHelper
- file
- IFile
Returns
System.Collections.Specialized.NameValueCollection