Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / VisualTransition.cs / 1305600 / VisualTransition.cs
// -------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All Rights Reserved. // ------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Windows; using System.Windows.Markup; using System.Windows.Media.Animation; namespace System.Windows { ////// Defines a transition between VisualStates. /// [ContentProperty("Storyboard")] public class VisualTransition : DependencyObject { public VisualTransition() { DynamicStoryboardCompleted = true; ExplicitStoryboardCompleted = true; } ////// Name of the state to transition from. /// public string From { get; set; } ////// Name of the state to transition to. /// public string To { get; set; } ////// Storyboard providing fine grained control of the transition. /// public Storyboard Storyboard { get; set; } ////// Duration of the transition. /// [TypeConverter(typeof(System.Windows.DurationConverter))] public Duration GeneratedDuration { get { return _generatedDuration; } set { _generatedDuration = value; } } ////// Easing Function for the transition /// public IEasingFunction GeneratedEasingFunction { get; set; } internal bool IsDefault { get { return From == null && To == null; } } internal bool DynamicStoryboardCompleted { get; set; } internal bool ExplicitStoryboardCompleted { get; set; } private Duration _generatedDuration = new Duration(new TimeSpan()); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SingleAnimationUsingKeyFrames.cs
- ParallelTimeline.cs
- StrokeRenderer.cs
- Path.cs
- SoapInteropTypes.cs
- Calendar.cs
- FixedSOMPageElement.cs
- SHA256.cs
- TreeWalkHelper.cs
- CodeIndexerExpression.cs
- MimeParameters.cs
- RoleBoolean.cs
- KerberosSecurityTokenAuthenticator.cs
- SelectionItemProviderWrapper.cs
- ExpressionBuilderCollection.cs
- Comparer.cs
- IssuedTokenParametersElement.cs
- ParameterCollection.cs
- OptimisticConcurrencyException.cs
- NavigationHelper.cs
- invalidudtexception.cs
- ComAwareEventInfo.cs
- XmlDocumentFragment.cs
- DataGridViewLinkCell.cs
- DataAdapter.cs
- ObjectViewListener.cs
- SecurityContext.cs
- IApplicationTrustManager.cs
- ObjectConverter.cs
- ConfigurationManagerHelperFactory.cs
- Binding.cs
- PropertyChangingEventArgs.cs
- System.Data_BID.cs
- AmbientEnvironment.cs
- FixedPageProcessor.cs
- DatePickerAutomationPeer.cs
- BooleanAnimationUsingKeyFrames.cs
- returneventsaver.cs
- ProjectionCamera.cs
- Resources.Designer.cs
- DrawTreeNodeEventArgs.cs
- RequestQueue.cs
- MsmqIntegrationChannelListener.cs
- Registry.cs
- FastEncoder.cs
- ReadOnlyObservableCollection.cs
- OletxCommittableTransaction.cs
- TlsnegoTokenAuthenticator.cs
- StrokeNodeOperations2.cs
- WebServiceMethodData.cs
- WinFormsSpinner.cs
- XmlnsCompatibleWithAttribute.cs
- WindowsFormsEditorServiceHelper.cs
- ExpressionBuilderCollection.cs
- WebPartConnectionsCancelVerb.cs
- util.cs
- NativeWindow.cs
- FacetValues.cs
- EpmAttributeNameBuilder.cs
- WebSysDisplayNameAttribute.cs
- _CacheStreams.cs
- CodeGenerator.cs
- PointAnimationUsingKeyFrames.cs
- InfoCardTrace.cs
- XmlSerializerNamespaces.cs
- ControlDesigner.cs
- RegexMatchCollection.cs
- ManipulationDevice.cs
- RightsManagementPermission.cs
- MgmtConfigurationRecord.cs
- SelectedDatesCollection.cs
- RawStylusInput.cs
- TemplateBamlTreeBuilder.cs
- DataGridItemCollection.cs
- TemplateComponentConnector.cs
- AssemblyUtil.cs
- Nullable.cs
- DurableEnlistmentState.cs
- MetadataWorkspace.cs
- NativeWindow.cs
- XmlCharCheckingWriter.cs
- HwndHostAutomationPeer.cs
- WindowsSlider.cs
- ValidationResult.cs
- ClientFormsAuthenticationMembershipProvider.cs
- Brushes.cs
- GridViewAutomationPeer.cs
- ListChangedEventArgs.cs
- Activator.cs
- CultureSpecificCharacterBufferRange.cs
- AuthenticationService.cs
- Baml2006ReaderFrame.cs
- SynchronousChannelMergeEnumerator.cs
- UserPreferenceChangingEventArgs.cs
- Column.cs
- AppDomain.cs
- ReadOnlyObservableCollection.cs
- DropDownButton.cs
- InfiniteIntConverter.cs
- SafeCoTaskMem.cs