示例#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();
        }
示例#2
0
 public void RegisterContainer(DependencyObject d)
 {
     this.container = d as PivotControl;
 }