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
|
|
Circular |
Identifies the
CircularNavigation dependency property.static
|
|
Down |
Identifies the
DownTransition dependency property.static
|
|
Is |
Identifies the
IsBannerEnabled dependency property.static
|
|
Is |
Identifies the
IsNavigationEnabled dependency property.static
|
|
Left |
Identifies the
LeftTransition dependency property.static
|
|
Mouse |
Identifies the
MouseHoverBorderBrush dependency property.static
|
|
Mouse |
Identifies the
MouseHoverBorderEnabled dependency property.static
|
|
Mouse |
Identifies the
MouseHoverBorderThickness dependency property.static
|
|
Navigation |
Identifies the
NavigationButtonsPosition dependency property.static
|
|
OrientationProperty |
Identifies the
Orientation dependency property.static
|
|
Right |
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.
|
Mouse |
Brush |
Gets or sets the border brush of the mouse hover effect.
|
Mouse |
bool |
Gets or sets a value indicating whether the border for mouse over effect is enabled or not.
|
Mouse |
Thickness |
Gets or sets the border thickness for the border of the mouse hover effect.
|
Navigation |
Navigation |
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 |
---|---|---|
Get |
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.
|
Is |
bool | |
OnApplyTemplate |
void | |
OnItemsChanged |
void | |
OnKeyDown |
void | |
OnMouseDown |
void | |
OnSelectionChanged |
void | |
Prepare |
void | |
ShowControlButtons |
void |
Brings the control buttons (next/previous) into view.
|