Panorama 与 Pivot

Both controls

  • Items can be added in XAML
  • Items can be added in code, Items.Add(new PivotItem(…)) or Items.Add(new PanoramaItem(…))
  • ItemsSource can be used for data binding
  • Do not support alternative types of items: Pivot controls must use PivotItem, Panorama must have PanoramaItem

Differences

  • Panorama exposes a DefaultItem property
  • SelectedIndex and SelectedItem are settable in Pivot but not in Panorama

你可能感兴趣的:(ora)