По-моему, Template в данном случае - это
свойство, унаследованное от UserControl. В пространстве имен Microsoft.Dynamics.HierarchyViewerWPF есть еще такие классы:
PHP код:
public sealed class NodeView : UserControl, IComponentConnector
{
// Fields
internal Image lineEndIconImage;
// Methods
public void ChangeLineEndIcon(int howmanymore, bool isLeftSide);
}
public class NodeViewModel : DependencyObject, INotifyPropertyChanged
{
// Properties
public Color BorderColor { get; set; }
public Color BorderHColor { get; set; }
public Color BorderIconColor { get; set; }
public Color BorderIconHColor { get; set; }
public Color BottomGradColor { get; set; }
public Color BottomHColor { get; set; }
public ObservableCollection<NodeViewModel> Children { get; set; }
public Point ConnectorPointFromNodeToChild { get; set; }
public Point ConnectorPointFromNodeToParent { get; set; }
public Point ConnectorPointToChild { get; set; }
public Point ConnectorPointToParent { get; set; }
public FlowDirection FlowD { get; set; }
public int HowManyChildrenOufOfView { get; set; }
public BitmapSource IconType { get; set; }
public bool InView { get; set; }
public bool IsCenterNode { get; set; }
public bool IsInRightChildGroup { get; set; }
public double Left { get; set; }
public string MoveToCenterToolTip { get; set; }
public int NodeIndexOnRing { get; set; }
public Node NodeModel { get; set; }
public NodeViewModel Parent { get; set; }
public int RingIndex { get; set; }
public int RingNumber { get; set; }
public Color TextColor { get; set; }
public Color TextHColor { get; set; }
public double Top { get; set; }
public Color TopGradColor { get; set; }
public Color TopHColor { get; set; }
public NodeView View { get; set; }
}
Теоретически, если добраться до их экземпляров, то можно как-то поиграться цветами и иконками.