Clase LevelHierarchyWebPart

Representa la clase base para los elementos web que representan datos jerárquicos mediante hojas de estilos Extensible Stylesheet Language (XSL).

Jerarquía de la herencia

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        System.Web.UI.WebControls.WebParts.Part
          System.Web.UI.WebControls.WebParts.WebPart
            Microsoft.SharePoint.WebPartPages.WebPart
              Microsoft.SharePoint.WebPartPages.BaseXsltDataWebPart
                Microsoft.SharePoint.WebPartPages.DataFormWebPart
                  Microsoft.SharePoint.Publishing.WebControls.CmsDataFormWebPart
                    Microsoft.SharePoint.Publishing.WebControls.LevelHierarchyWebPart
                      

Espacio de nombres:  Microsoft.SharePoint.Publishing.WebControls
Ensamblado:  Microsoft.SharePoint.Publishing (en Microsoft.SharePoint.Publishing.dll)

Sintaxis

'Declaración
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class LevelHierarchyWebPart _
    Inherits CmsDataFormWebPart _
    Implements INamingContainer
'Uso
Dim instance As LevelHierarchyWebPart
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class LevelHierarchyWebPart : CmsDataFormWebPart, 
    INamingContainer

Comentarios

Datos jerárquicos de un HierarchicalDataSource es procesados por este elemento Web utilizando el concepto de niveles y estilos de nivel. Hay un máximo de tres niveles admitidos y estilos pueden asignarse a cada uno de los tres niveles. Por ejemplo, dada esta estructura de datos jerárquica:

Item2 GroupA Item1
GroupB Item3 Item4
Item6 GroupC Item5
GroupD Item6 Item7

GroupA es Level1; Grupo b es Level2; GroupC es Level2; GroupD es Level3. El nivel de información de estilo se encuentra en una hoja de estilos XSL; Para obtener un ejemplo, vea LevelStyle.xsl.

Elemento Web funcione en combinación con la hoja de estilos XSL principal que habilita el resultado que se mostrará en las columnas y que, si configura, muestra el texto de título por encima de los datos jerárquicos. Los datos jerárquicos procede de un origen de datos jerárquicos y se determina el número de niveles de datos para obtener las propiedades que se establecen en este elemento Web.

Seguridad para subprocesos

Los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancias sean seguros para los subprocesos.

Vea también

Referencia

Miembros LevelHierarchyWebPart

Espacio de nombres Microsoft.SharePoint.Publishing.WebControls

Jerarquía de la herencia

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        System.Web.UI.WebControls.WebParts.Part
          System.Web.UI.WebControls.WebParts.WebPart
            Microsoft.SharePoint.WebPartPages.WebPart
              Microsoft.SharePoint.WebPartPages.BaseXsltDataWebPart
                Microsoft.SharePoint.WebPartPages.DataFormWebPart
                  Microsoft.SharePoint.Publishing.WebControls.CmsDataFormWebPart
                    Microsoft.SharePoint.Publishing.WebControls.LevelHierarchyWebPart
                      Microsoft.SharePoint.Publishing.WebControls.TableOfContentsWebPart