Share via


ThemedClusteredHoverImage class

Clips and offsets a themed image and its corresponding hover version so that only a region of it can be seen in the browser.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.HyperLink
        Microsoft.SharePoint.WebControls.ClusteredHyperlink
          Microsoft.SharePoint.WebControls.ThemedClusteredHoverImage
            Microsoft.SharePoint.WebControls.DeveloperDashboardLauncher

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class ThemedClusteredHoverImage _
    Inherits ClusteredHyperlink
'Usage
Dim instance As ThemedClusteredHoverImage
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class ThemedClusteredHoverImage : ClusteredHyperlink

Remarks

The client will still download the whole image for cachability purposes. The normal and hover versions of the image must be in the same cluster and share the same ThemeKey.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

ThemedClusteredHoverImage members

Microsoft.SharePoint.WebControls namespace