|
Cet article a fait l'objet d'une traduction automatique. Déplacez votre pointeur sur les phrases de l'article pour voir la version originale de ce texte. Informations supplémentaires.
|
Traduction
Source
|
EventTrigger, classe
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.TriggerBase
System.Windows.EventTrigger
Espace de noms : System.Windows
Assembly : PresentationFramework (dans PresentationFramework.dll)
XMLNS pour XAML : http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Le type EventTrigger expose les membres suivants.
| Nom | Description | |
|---|---|---|
![]() | EventTrigger() | |
![]() | EventTrigger(RoutedEvent) |
| Nom | Description | |
|---|---|---|
![]() | Actions | |
![]() | DependencyObjectType | |
![]() | Dispatcher | |
![]() | EnterActions | |
![]() | ExitActions | |
![]() | IsSealed | |
![]() | RoutedEvent | |
![]() | SourceName |
| Nom | Description | |
|---|---|---|
![]() | AddChild | |
![]() | AddText | |
![]() | CheckAccess | |
![]() | ClearValue(DependencyProperty) | |
![]() | ClearValue(DependencyPropertyKey) | |
![]() | CoerceValue | |
![]() | Equals | |
![]() | Finalize | |
![]() | GetHashCode | |
![]() | GetLocalValueEnumerator | |
![]() | GetType | |
![]() | GetValue | |
![]() | InvalidateProperty | |
![]() | MemberwiseClone | |
![]() | OnPropertyChanged | |
![]() | ReadLocalValue | |
![]() | SetCurrentValue | |
![]() | SetValue(DependencyProperty, Object) | |
![]() | SetValue(DependencyPropertyKey, Object) | |
![]() | ShouldSerializeActions | |
![]() | ShouldSerializeProperty | |
![]() | ToString | |
![]() | VerifyAccess |
| Nom | Description | |
|---|---|---|
![]() ![]() | IAddChild.AddChild | Infrastructure. |
![]() ![]() | IAddChild.AddText | Infrastructure. |
<Style TargetType="Rectangle"> <Setter Property="Width" Value="50" /> <Setter Property="Height" Value="50" /> <Setter Property="Margin" Value="20" /> <Setter Property="HorizontalAlignment" Value="Left" /> <Style.Triggers> <EventTrigger RoutedEvent="MouseEnter"> <BeginStoryboard> <Storyboard> <DoubleAnimation To="300" Duration="0:0:1.5" AccelerationRatio="0.10" DecelerationRatio="0.25" Storyboard.TargetProperty="(Canvas.Width)" /> </Storyboard> </BeginStoryboard> </EventTrigger> <EventTrigger RoutedEvent="MouseLeave"> <BeginStoryboard> <Storyboard> <DoubleAnimation Duration="0:0:1.5" AccelerationRatio="0.10" DecelerationRatio="0.25" Storyboard.TargetProperty="(Canvas.Width)" /> </Storyboard> </BeginStoryboard> </EventTrigger> </Style.Triggers> </Style>
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (rôle principal du serveur non pris en charge), Windows Server 2008 R2 (rôle principal du serveur pris en charge avec SP1 ou version ultérieure ; Itanium non pris en charge)
Le .NET Framework ne prend pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.
