FlipView Class

Summary

A control that imitate a slide show with back/forward buttons.
Namespace
MahApps.Metro.Controls
Base Types
  • Selector
graph BT Type-->Base0["Selector"] Type["FlipView"] class Type type-node

Syntax

[TemplatePart(Name = PART_Presenter, Type = typeof(TransitioningContentControl))]
[TemplatePart(Name = PART_BackButton, Type = typeof(Button))]
[TemplatePart(Name = PART_ForwardButton, Type = typeof(Button))]
[TemplatePart(Name = PART_UpButton, Type = typeof(Button))]
[TemplatePart(Name = PART_DownButton, Type = typeof(Button))]
[TemplatePart(Name = PART_BannerGrid, Type = typeof(Grid))]
[TemplatePart(Name = PART_BannerLabel, Type = typeof(Label))]
public class FlipView : Selector

Attributes

Type Description
TemplatePart
TemplatePart
TemplatePart
TemplatePart
TemplatePart
TemplatePart
TemplatePart

Constructors

Name Summary
FlipView()

Fields

Name Constant Value Summary
BannerTextProperty
Identifies the BannerText dependency property.
static
CircularNavigationProperty
Identifies the CircularNavigation dependency property.
static
DownTransitionProperty
Identifies the DownTransition dependency property.
static
IsBannerEnabledProperty
Identifies the IsBannerEnabled dependency property.
static
IsNavigationEnabledProperty
Identifies the IsNavigationEnabled dependency property.
static
LeftTransitionProperty
Identifies the LeftTransition dependency property.
static
MouseHoverBorderBrushProperty
Identifies the MouseHoverBorderBrush dependency property.
static
MouseHoverBorderEnabledProperty
Identifies the MouseHoverBorderEnabled dependency property.
static
MouseHoverBorderThicknessProperty
Identifies the MouseHoverBorderThickness dependency property.
static
NavigationButtonsPositionProperty
Identifies the NavigationButtonsPosition dependency property.
static
OrientationProperty
Identifies the Orientation dependency property.
static
RightTransitionProperty
Identifies the RightTransition dependency property.
static
UpTransitionProperty
Identifies the UpTransition dependency property.
static

Properties

Name Value Summary
BannerText string
Gets or sets the banner text.
CircularNavigation bool
Gets or sets a value indicating whether the navigation is circular, so you get the first after last and the last before first.
DownTransition TransitionType
Gets or sets the transition of the down navigation.
IsBannerEnabled bool
Gets or sets whether the banner is visible or not.
IsNavigationEnabled bool
Gets or sets whether the navigation button are visible or not.
LeftTransition TransitionType
Gets or sets the transition of the left navigation.
MouseHoverBorderBrush Brush
Gets or sets the border brush of the mouse hover effect.
MouseHoverBorderEnabled bool
Gets or sets a value indicating whether the border for mouse over effect is enabled or not.
MouseHoverBorderThickness Thickness
Gets or sets the border thickness for the border of the mouse hover effect.
NavigationButtonsPosition NavigationButtonsPosition
Gets or sets the position of the navigation buttons.
Orientation Orientation
Gets or sets the orientation of the navigation.
RightTransition TransitionType
Gets or sets the transition of the right navigation.
UpTransition TransitionType
Gets or sets the transition of the up navigation.

Methods

Name Value Summary
GetContainerForItemOverride() DependencyObject
GoBack() void
Changes the current slide to the previous item.
GoForward() void
Changes the current to the next item.
HideControlButtons() void
Removes the control buttons (next/previous) from view.
IsItemItsOwnContainerOverride(object) bool
OnApplyTemplate() void
OnItemsChanged(Specialized.NotifyCollectionChangedEventArgs) void
OnKeyDown(KeyEventArgs) void
OnMouseDown(MouseButtonEventArgs) void
OnSelectionChanged(SelectionChangedEventArgs) void
PrepareContainerForItemOverride(DependencyObject, object) void
ShowControlButtons() void
Brings the control buttons (next/previous) into view.