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 Constant Value Summary
HeaderProperty
static
HeaderTemplateProperty
static
SelectedIndexProperty
static
SelectionChangedEvent
static

Properties

Name Value Summary
Header string
HeaderTemplate DataTemplate
SelectedIndex int

Methods

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