|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
Classe VisualStateManager
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.VisualStateManager
Namespace: System.Windows
Assembly: PresentationFramework (em PresentationFramework.dll)
XMLNS para XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
O tipo VisualStateManager expõe os membros a seguir.
| Nome | Descrição | |
|---|---|---|
![]() | VisualStateManager |
| Nome | Descrição | |
|---|---|---|
![]() | DependencyObjectType | |
![]() | Dispatcher | |
![]() | IsSealed |
| Nome | Descrição | |
|---|---|---|
![]() | CustomVisualStateManager | |
![]() | VisualStateGroups |
| Nome | Descrição | |
|---|---|---|
![]() | CheckAccess | |
![]() | ClearValue(DependencyProperty) | |
![]() | ClearValue(DependencyPropertyKey) | |
![]() | CoerceValue | |
![]() | Equals | |
![]() | Finalize | |
![]() ![]() | GetCustomVisualStateManager | |
![]() | GetHashCode | |
![]() | GetLocalValueEnumerator | |
![]() | GetType | |
![]() | GetValue | |
![]() ![]() | GetVisualStateGroups | |
![]() ![]() | GoToElementState | |
![]() ![]() | GoToState | |
![]() | GoToStateCore | |
![]() | InvalidateProperty | |
![]() | MemberwiseClone | |
![]() | OnPropertyChanged | |
![]() | RaiseCurrentStateChanged | |
![]() | RaiseCurrentStateChanging | |
![]() | ReadLocalValue | |
![]() | SetCurrentValue | |
![]() ![]() | SetCustomVisualStateManager | |
![]() | SetValue(DependencyProperty, Object) | |
![]() | SetValue(DependencyPropertyKey, Object) | |
![]() | ShouldSerializeProperty | |
![]() | ToString | |
![]() | VerifyAccess |
| Nome | Descrição | |
|---|---|---|
![]() ![]() | CustomVisualStateManagerProperty | |
![]() ![]() | VisualStateGroupsProperty |
<Rectangle Name="rect" Width="100" Height="100" MouseEnter="rect_MouseEvent" MouseLeave="rect_MouseEvent"> <VisualStateManager.VisualStateGroups> <VisualStateGroup Name="MouseStates"> <VisualState Name="MouseEnter"> <Storyboard> <ColorAnimation To="Green" Storyboard.TargetName="rectBrush" Storyboard.TargetProperty="Color"/> </Storyboard> </VisualState> <VisualState Name="MouseLeave" /> <VisualStateGroup.Transitions> <VisualTransition To="MouseLeave" GeneratedDuration="00:00:00"/> <VisualTransition To="MouseEnter" GeneratedDuration="00:00:00.5"> <VisualTransition.GeneratedEasingFunction> <ExponentialEase EasingMode="EaseOut" Exponent="10"/> </VisualTransition.GeneratedEasingFunction> </VisualTransition> </VisualStateGroup.Transitions> </VisualStateGroup> </VisualStateManager.VisualStateGroups> <Rectangle.Fill> <SolidColorBrush x:Name="rectBrush" Color="Red"/> </Rectangle.Fill> </Rectangle>
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Função Server Core sem suporte), Windows Server 2008 R2 (Função Server Core com suporte com o SP1 ou posterior, Itanium sem suporte)
O .NET Framework não oferece suporte a todas as versões de cada plataforma. Para obter uma lista das versões com suporte, consulte .Requisitos de sistema do NET Framework.
