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
- XmlSchemaSimpleContentRestriction.cs
- PropertyDescriptorGridEntry.cs
- PlainXmlWriter.cs
- ClientTargetCollection.cs
- ObjectQuery_EntitySqlExtensions.cs
- RequestResizeEvent.cs
- smtppermission.cs
- TypeElement.cs
- ParameterInfo.cs
- StateRuntime.cs
- SiteMapSection.cs
- Shape.cs
- DrawListViewItemEventArgs.cs
- SymbolMethod.cs
- DefaultPropertyAttribute.cs
- WebSysDescriptionAttribute.cs
- HtmlInputText.cs
- MessageSmuggler.cs
- AutomationPropertyInfo.cs
- XsltContext.cs
- DataGridGeneralPage.cs
- DataGridViewHeaderCell.cs
- MethodInfo.cs
- InternalCache.cs
- RealProxy.cs
- ObjectTag.cs
- GraphicsState.cs
- SqlConnectionFactory.cs
- ProtocolsConfigurationEntry.cs
- PageTheme.cs
- TextBoxBase.cs
- safesecurityhelperavalon.cs
- ColorConverter.cs
- WpfSharedXamlSchemaContext.cs
- ChannelProtectionRequirements.cs
- OleDbError.cs
- FileChangesMonitor.cs
- VirtualPathUtility.cs
- DesignerCalendarAdapter.cs
- TableRow.cs
- XmlValueConverter.cs
- DbDataReader.cs
- PersistenceProviderElement.cs
- PageRouteHandler.cs
- NavigationService.cs
- UIElementAutomationPeer.cs
- FixedDocument.cs
- WindowsListViewGroup.cs
- TypeConverter.cs
- TypeSource.cs
- FrameworkRichTextComposition.cs
- VisualBrush.cs
- NavigationPropertyAccessor.cs
- DataGridClipboardHelper.cs
- NativeMethods.cs
- ScrollItemPatternIdentifiers.cs
- RegisteredDisposeScript.cs
- StorageFunctionMapping.cs
- SerializationTrace.cs
- StandardBindingImporter.cs
- TextDecorationUnitValidation.cs
- InfoCardSymmetricCrypto.cs
- SoapHelper.cs
- CatchBlock.cs
- DynamicQueryableWrapper.cs
- IPCCacheManager.cs
- CompilerLocalReference.cs
- MenuItemBindingCollection.cs
- ComAdminWrapper.cs
- FontStyleConverter.cs
- WebEventCodes.cs
- TextFindEngine.cs
- CommandBindingCollection.cs
- PropertyManager.cs
- Pool.cs
- PeerNameResolver.cs
- Thumb.cs
- RegexCaptureCollection.cs
- ManipulationLogic.cs
- MessageDesigner.cs
- XmlNamespaceMapping.cs
- MappingSource.cs
- EventItfInfo.cs
- PluralizationServiceUtil.cs
- UnknownBitmapDecoder.cs
- Privilege.cs
- DataStorage.cs
- AppliedDeviceFiltersDialog.cs
- NativeMethods.cs
- StorageBasedPackageProperties.cs
- FaultFormatter.cs
- IProducerConsumerCollection.cs
- WebServicesSection.cs
- TextElement.cs
- SubordinateTransaction.cs
- TextBoxAutoCompleteSourceConverter.cs
- VirtualPathUtility.cs
- TableLayout.cs
- DeferredRunTextReference.cs
- WSTrustDec2005.cs