C# Класс MahApps.Metro.Controls.FlipView

Наследование: System.Windows.Controls.Primitives.Selector
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

GetContainerForItemOverride() защищенный Метод

protected GetContainerForItemOverride ( ) : DependencyObject
Результат System.Windows.DependencyObject

GoBack() публичный Метод

Changes the current slide to the previous item.
public GoBack ( ) : void
Результат void

GoForward() публичный Метод

Changes the current to the next item.
public GoForward ( ) : void
Результат void

HideControlButtons() публичный Метод

Removes the control buttons (next/previous) from view.
public HideControlButtons ( ) : void
Результат void

IsItemItsOwnContainerOverride() защищенный Метод

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
Результат bool

OnApplyTemplate() публичный Метод

public OnApplyTemplate ( ) : void
Результат void

OnItemsChanged() защищенный Метод

protected OnItemsChanged ( System e ) : void
e System
Результат void

OnKeyDown() защищенный Метод

protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
Результат void

OnMouseDown() защищенный Метод

protected OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Результат void

OnSelectionChanged() защищенный Метод

protected OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void
e System.Windows.Controls.SelectionChangedEventArgs
Результат void

PrepareContainerForItemOverride() защищенный Метод

protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject
item object
Результат void

ShowControlButtons() публичный Метод

Brings the control buttons (next/previous) into view.
public ShowControlButtons ( ) : void
Результат void

Описание свойств

BannerTextProperty публичное статическое свойство

public static DependencyProperty,System.Windows BannerTextProperty
Результат System.Windows.DependencyProperty

CircularNavigationProperty публичное статическое свойство

public static DependencyProperty,System.Windows CircularNavigationProperty
Результат System.Windows.DependencyProperty

DownTransitionProperty публичное статическое свойство

public static DependencyProperty,System.Windows DownTransitionProperty
Результат System.Windows.DependencyProperty

IsBannerEnabledProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsBannerEnabledProperty
Результат System.Windows.DependencyProperty

IsNavigationEnabledProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsNavigationEnabledProperty
Результат System.Windows.DependencyProperty

LeftTransitionProperty публичное статическое свойство

public static DependencyProperty,System.Windows LeftTransitionProperty
Результат System.Windows.DependencyProperty

MouseHoverBorderBrushProperty публичное статическое свойство

public static DependencyProperty,System.Windows MouseHoverBorderBrushProperty
Результат System.Windows.DependencyProperty

MouseHoverBorderEnabledProperty публичное статическое свойство

public static DependencyProperty,System.Windows MouseHoverBorderEnabledProperty
Результат System.Windows.DependencyProperty

MouseHoverBorderThicknessProperty публичное статическое свойство

public static DependencyProperty,System.Windows MouseHoverBorderThicknessProperty
Результат System.Windows.DependencyProperty

OrientationProperty публичное статическое свойство

public static DependencyProperty,System.Windows OrientationProperty
Результат System.Windows.DependencyProperty

RightTransitionProperty публичное статическое свойство

public static DependencyProperty,System.Windows RightTransitionProperty
Результат System.Windows.DependencyProperty

UpTransitionProperty публичное статическое свойство

public static DependencyProperty,System.Windows UpTransitionProperty
Результат System.Windows.DependencyProperty