Tritium UI

TritiumOrgChartView

Dibuje un árbol de organización con conectores, expandir y contraer, y búsqueda de una persona.

TritiumOrgChartView

Funciones clave

  • Enlace una jerarquía con hijos, o una lista plana con id e id de padre.
  • Muestre una etiqueta, un subtítulo y una imagen opcional en cada nodo.
  • Disponga el árbol de arriba abajo o de izquierda a derecha con conectores ortogonales.
  • Expanda todo, contraiga todo o contraiga hasta un nivel, y seleccione un nodo.
  • Pellizque para hacer zoom y use la rueda del ratón en Windows.
  • Resalte un nombre y desplácese a la coincidencia con QuickFind.
  • Exporte el gráfico a un flujo o archivo PNG.

Plataformas

Android, iOS, Mac Catalyst y Windows 10 versión 19041 y posteriores (.NET 10 MAUI). El zoom con la rueda del ratón está disponible en Windows.

API principal

  • ItemsSource . The nodes, either a tree or a flat parent/child list.
  • Orientation . TopDown or LeftRight.
  • ChildrenPath . Property that holds child objects; use IdPath and ParentIdPath for a flat list.
  • ItemTapped . Fires with the bound item and the chart node.

Ejemplo básico

Declare este espacio de nombres en la página.

xmlns:org="clr-namespace:Tritium.Maui.OrgChart;assembly=Tritium.Maui.OrgChart"
<org:TritiumOrgChartView ItemsSource="{Binding People}"
                      LabelPath="Name"
                      SubtitlePath="Title"
                      ChildrenPath="Reports"
                      Orientation="TopDown" />

Agregue el origen de paquetes de su licencia y luego referencie el paquete que incluye este control. Estos paquetes no están en la galería pública de NuGet.

Ask Tritium

How-to help and product fit for FleetPro, Tritium UI, and Tritium Reporting.

Ask how to use a feature, or tell us your company, platforms, team size, and use case. Pricing and upgrades go to sales.

Product fit
Contact sales

Search the FAQ