Class
PivotGroupHeader

Allows a user to view a header and expand that header to see further details, or to collapse a section up to a header.

Definition

Constructors

PivotGroupHeader()

Initializes a new instance of the PivotGroupHeader class.

Declaration

cs-api-definition
public PivotGroupHeader()

Fields

IsExpandedProperty

Identifies the IsExpanded dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsExpandedProperty

Field Value

DependencyProperty

Properties

IsExpanded

Gets or sets whether the details are expanded or collapsed.

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool

Methods

ChangeVisualState(bool)

Updates the visual state of the control.

Declaration

cs-api-definition
protected virtual void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

True to use a VisualTransition to transition between states; otherwise, false.

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides PivotHeader.OnCreateAutomationPeer()

OnInitialized(EventArgs)

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

Overrides PivotHeader.OnInitialized(EventArgs)

OnMouseLeftButtonDown(MouseButtonEventArgs)

Declaration

cs-api-definition
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)

Parameters

e

MouseButtonEventArgs

Overrides PivotHeader.OnMouseLeftButtonDown(MouseButtonEventArgs)

Events

IsExpandedChanged

Occurs when the value of the IsExpanded property on this element changes.

Declaration

cs-api-definition
public event EventHandler<ExpandCollapseEventArgs> IsExpandedChanged

Event Value

EventHandler<ExpandCollapseEventArgs>