C# Class MahApps.Metro.Controls.Flyout

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

Méthodes publiques

Свойство Type Description
AllowFocusElementProperty System.Windows.DependencyProperty
AnimateOnPositionChangeProperty System.Windows.DependencyProperty
AnimateOpacityProperty System.Windows.DependencyProperty
AreAnimationsEnabledProperty System.Windows.DependencyProperty
AutoCloseIntervalProperty System.Windows.DependencyProperty
CloseButtonIsCancelProperty System.Windows.DependencyProperty
CloseButtonVisibilityProperty System.Windows.DependencyProperty
CloseCommandParameterProperty System.Windows.DependencyProperty
CloseCommandProperty System.Windows.DependencyProperty
ClosingFinishedEvent System.Windows.RoutedEvent
ExternalCloseButtonProperty System.Windows.DependencyProperty
FocusedElementProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty
HeaderTemplateProperty System.Windows.DependencyProperty
IsAutoCloseEnabledProperty System.Windows.DependencyProperty
IsModalProperty System.Windows.DependencyProperty
IsOpenChangedEvent System.Windows.RoutedEvent
IsOpenProperty System.Windows.DependencyProperty
IsPinnedProperty System.Windows.DependencyProperty
PositionProperty System.Windows.DependencyProperty
ThemeProperty System.Windows.DependencyProperty
TitleVisibilityProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
AnimateOpacityChanged void
ApplyAnimation void
AutoCloseIntervalChanged void
AutoCloseTimerCallback void
ChangeFlyoutTheme void
DetectTheme Accent>.Tuple
Flyout System
Hide void
HideStoryboardCompleted void
InitializeAutoCloseTimer void
InternalCloseCommandCanExecute bool
InternalCloseCommandExecuteAction void
IsAutoCloseEnabledChanged void
IsOpenedChanged void
PositionChanged void
StartAutoCloseTimer void
StopAutoCloseTimer void
ThemeChanged void
TryFocusElement void
UpdateFlyoutTheme void
UpdateOpacityChange void
WindowTitleThumbChangeWindowStateOnMouseDoubleClick void
WindowTitleThumbMoveOnDragDelta void
WindowTitleThumbOnDragCompleted void
WindowTitleThumbOnDragStarted void
WindowTitleThumbOnPreviewMouseLeftButtonUp void
WindowTitleThumbSystemMenuOnMouseRightButtonUp void

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

Méthodes protégées

Méthode Description
CleanUp ( FlyoutsControl flyoutsControl ) : void
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void

Private Methods

Méthode Description
AnimateOpacityChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ApplyAnimation ( Position position, bool animateOpacity, bool resetShowFrame = true ) : void
AutoCloseIntervalChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
AutoCloseTimerCallback ( Object sender, EventArgs e ) : void
ChangeFlyoutTheme ( Accent windowAccent, AppTheme windowTheme ) : void
DetectTheme ( Flyout flyout ) : Accent>.Tuple
Flyout ( ) : System
Hide ( ) : void
HideStoryboardCompleted ( object sender, EventArgs e ) : void
InitializeAutoCloseTimer ( ) : void
InternalCloseCommandCanExecute ( object o ) : bool
InternalCloseCommandExecuteAction ( object o ) : void
IsAutoCloseEnabledChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
IsOpenedChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PositionChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
StartAutoCloseTimer ( ) : void
StopAutoCloseTimer ( ) : void
ThemeChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
TryFocusElement ( ) : void
UpdateFlyoutTheme ( ) : void
UpdateOpacityChange ( ) : void
WindowTitleThumbChangeWindowStateOnMouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs mouseButtonEventArgs ) : void
WindowTitleThumbMoveOnDragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs dragDeltaEventArgs ) : void
WindowTitleThumbOnDragCompleted ( object sender, System.Windows.Controls.Primitives.DragCompletedEventArgs e ) : void
WindowTitleThumbOnDragStarted ( object sender, System.Windows.Controls.Primitives.DragStartedEventArgs e ) : void
WindowTitleThumbOnPreviewMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
WindowTitleThumbSystemMenuOnMouseRightButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

CleanUp() protected méthode

protected CleanUp ( FlyoutsControl flyoutsControl ) : void
flyoutsControl FlyoutsControl
Résultat void

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnRenderSizeChanged() protected méthode

protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo
Résultat void

Property Details

AllowFocusElementProperty public_oe static_oe property

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

AnimateOnPositionChangeProperty public_oe static_oe property

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

AnimateOpacityProperty public_oe static_oe property

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

AreAnimationsEnabledProperty public_oe static_oe property

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

AutoCloseIntervalProperty public_oe static_oe property

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

CloseButtonIsCancelProperty public_oe static_oe property

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

CloseButtonVisibilityProperty public_oe static_oe property

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

CloseCommandParameterProperty public_oe static_oe property

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

CloseCommandProperty public_oe static_oe property

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

ClosingFinishedEvent public_oe static_oe property

An event that is raised when the closing animation has finished.
public static RoutedEvent,System.Windows ClosingFinishedEvent
Résultat System.Windows.RoutedEvent

ExternalCloseButtonProperty public_oe static_oe property

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

FocusedElementProperty public_oe static_oe property

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

HeaderProperty public_oe static_oe property

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

HeaderTemplateProperty public_oe static_oe property

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

IsAutoCloseEnabledProperty public_oe static_oe property

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

IsModalProperty public_oe static_oe property

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

IsOpenChangedEvent public_oe static_oe property

An event that is raised when IsOpen changes.
public static RoutedEvent,System.Windows IsOpenChangedEvent
Résultat System.Windows.RoutedEvent

IsOpenProperty public_oe static_oe property

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

IsPinnedProperty public_oe static_oe property

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

PositionProperty public_oe static_oe property

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

ThemeProperty public_oe static_oe property

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

TitleVisibilityProperty public_oe static_oe property

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