Ejemplo n.º 1
0
        public PivotView(PivotControl parent)
        {
            Parent          = parent;
            LayoutRoot      = Parent.LayoutRoot;
            HeadersPanel    = Parent.HeadersPanel;
            Headers         = HeadersPanel.Children;
            Items           = Parent.Items;

            HeadersHost.Transform   = new TranslateTransform();
            ItemsHost.Transform     = new TranslateTransform();
        }
Ejemplo n.º 2
0
 public void RegisterContainer(DependencyObject d)
 {
     this.container = d as PivotControl;
 }