C# Class MahApps.Metro.Controls.FlipView

Inheritance: System.Windows.Controls.Primitives.Selector
Afficher le fichier Open project: MahApps/MahApps.Metro Class Usage Examples

Méthodes publiques

Свойство Type Description
BannerTextProperty System.Windows.DependencyProperty
CircularNavigationProperty System.Windows.DependencyProperty
DownTransitionProperty System.Windows.DependencyProperty
IsBannerEnabledProperty System.Windows.DependencyProperty
IsNavigationEnabledProperty System.Windows.DependencyProperty
LeftTransitionProperty System.Windows.DependencyProperty
MouseHoverBorderBrushProperty System.Windows.DependencyProperty
MouseHoverBorderEnabledProperty System.Windows.DependencyProperty
MouseHoverBorderThicknessProperty System.Windows.DependencyProperty
OrientationProperty System.Windows.DependencyProperty
RightTransitionProperty System.Windows.DependencyProperty
UpTransitionProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
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.

OnApplyTemplate ( ) : void
ShowControlButtons ( ) : void

Brings the control buttons (next/previous) into view.

Méthodes protégées

Méthode Description
GetContainerForItemOverride ( ) : DependencyObject
IsItemItsOwnContainerOverride ( object item ) : bool
OnItemsChanged ( System e ) : void
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void
PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Private Methods

Méthode Description
ApplyToNavigationButtons ( Action

Applies actions to navigation buttons.

ChangeBannerText ( string value = null ) : void
CoerceSelectedIndexProperty ( DependencyObject d, object value ) : object

Coerce SelectedIndexProperty's value.

ComputeTransition ( int fromIndex, int toIndex ) : void

Computes the transition when changing selected index.

DetectControlButtonsStatus ( Visibility activeButtonsVisibility = Visibility.Visible ) : void

Sets the visibility of navigation buttons.

ExecuteWhenLoaded ( FlipView flipview, System.Action body ) : void
FlipView ( ) : System
FlipViewLoaded ( object sender, RoutedEventArgs e ) : void
FlipViewUnloaded ( object sender, RoutedEventArgs e ) : void
GetNavigationButtons ( System.Windows.Controls.Button &prevButton, System.Windows.Controls.Button &nextButton, IEnumerable

Gets the navigation buttons.

HideBanner ( ) : void
NextButtonClick ( object sender, RoutedEventArgs e ) : void
OnIsBannerEnabledPropertyChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PrevButtonClick ( object sender, RoutedEventArgs e ) : void
ShowBanner ( ) : void

Method Details

GetContainerForItemOverride() protected méthode

protected GetContainerForItemOverride ( ) : DependencyObject
Résultat System.Windows.DependencyObject

GoBack() public méthode

Changes the current slide to the previous item.
public GoBack ( ) : void
Résultat void

GoForward() public méthode

Changes the current to the next item.
public GoForward ( ) : void
Résultat void

HideControlButtons() public méthode

Removes the control buttons (next/previous) from view.
public HideControlButtons ( ) : void
Résultat void

IsItemItsOwnContainerOverride() protected méthode

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
Résultat bool

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnItemsChanged() protected méthode

protected OnItemsChanged ( System e ) : void
e System
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Résultat void

OnSelectionChanged() protected méthode

protected OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void
e System.Windows.Controls.SelectionChangedEventArgs
Résultat void

PrepareContainerForItemOverride() protected méthode

protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject
item object
Résultat void

ShowControlButtons() public méthode

Brings the control buttons (next/previous) into view.
public ShowControlButtons ( ) : void
Résultat void

Property Details

BannerTextProperty public_oe static_oe property

public static DependencyProperty,System.Windows BannerTextProperty
Résultat System.Windows.DependencyProperty

CircularNavigationProperty public_oe static_oe property

public static DependencyProperty,System.Windows CircularNavigationProperty
Résultat System.Windows.DependencyProperty

DownTransitionProperty public_oe static_oe property

public static DependencyProperty,System.Windows DownTransitionProperty
Résultat System.Windows.DependencyProperty

IsBannerEnabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsBannerEnabledProperty
Résultat System.Windows.DependencyProperty

IsNavigationEnabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsNavigationEnabledProperty
Résultat System.Windows.DependencyProperty

LeftTransitionProperty public_oe static_oe property

public static DependencyProperty,System.Windows LeftTransitionProperty
Résultat System.Windows.DependencyProperty

MouseHoverBorderBrushProperty public_oe static_oe property

public static DependencyProperty,System.Windows MouseHoverBorderBrushProperty
Résultat System.Windows.DependencyProperty

MouseHoverBorderEnabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows MouseHoverBorderEnabledProperty
Résultat System.Windows.DependencyProperty

MouseHoverBorderThicknessProperty public_oe static_oe property

public static DependencyProperty,System.Windows MouseHoverBorderThicknessProperty
Résultat System.Windows.DependencyProperty

OrientationProperty public_oe static_oe property

public static DependencyProperty,System.Windows OrientationProperty
Résultat System.Windows.DependencyProperty

RightTransitionProperty public_oe static_oe property

public static DependencyProperty,System.Windows RightTransitionProperty
Résultat System.Windows.DependencyProperty

UpTransitionProperty public_oe static_oe property

public static DependencyProperty,System.Windows UpTransitionProperty
Résultat System.Windows.DependencyProperty