Pivot Class
Namespace
MahApps.Metro.Controls
Base Types
  • ItemsControl
graph BT Type-->Base0["ItemsControl"] Type["Pivot"] class Type type-node

Syntax

[TemplatePart(Name = "PART_Scroll", Type = typeof(ScrollViewer))]
[TemplatePart(Name = "PART_Headers", Type = typeof(ListView))]
[TemplatePart(Name = "PART_Mediator", Type = typeof(ScrollViewerOffsetMediator))]
public class Pivot : ItemsControl

Attributes

Type Description
TemplatePart
TemplatePart
TemplatePart

Events

Name Type Summary
SelectionChanged RoutedEventHandler

Fields

Name Field Type Constant Value Summary
HeaderProperty DependencyProperty
static
HeaderTemplateProperty DependencyProperty
static
SelectedIndexProperty DependencyProperty
static
SelectionChangedEvent RoutedEvent
static

Properties

Name Property Type Summary
Header string
HeaderTemplate DataTemplate
SelectedIndex int

Methods

Name Return Value Summary
GoToItem(PivotItem) void
OnApplyTemplate() void