Share via


VariationsLabelEcbMenu Class

A sample UI control that shows how to connect to the control to display a drop-down menu of the Variation peer links to the current Page.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.BaseDataBoundControl
        System.Web.UI.WebControls.HierarchicalDataBoundControl
          Microsoft.SharePoint.Publishing.WebControls.VariationsLabelEcbMenu

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class VariationsLabelEcbMenu _
    Inherits HierarchicalDataBoundControl
'Usage
Dim instance As VariationsLabelEcbMenu
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class VariationsLabelEcbMenu : HierarchicalDataBoundControl

Remarks

You can modify the presentation of user interface (UI) links by substituting a different control and connecting that to the VariationDataSource.

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

VariationsLabelEcbMenu Members

Microsoft.SharePoint.Publishing.WebControls Namespace