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
- DataSetMappper.cs
- TextDecorationCollectionConverter.cs
- ObjectCloneHelper.cs
- SQLRoleProvider.cs
- DataGridDetailsPresenterAutomationPeer.cs
- CallInfo.cs
- CompilerLocalReference.cs
- PerformanceCounterPermissionEntryCollection.cs
- MeshGeometry3D.cs
- MultiAsyncResult.cs
- FixedFindEngine.cs
- ExceptionUtil.cs
- DataGridViewHitTestInfo.cs
- PrimitiveSchema.cs
- ColorInterpolationModeValidation.cs
- NamespaceMapping.cs
- SqlResolver.cs
- ObjectSecurity.cs
- PropertyHelper.cs
- FunctionDetailsReader.cs
- GridViewRow.cs
- ClientSideProviderDescription.cs
- autovalidator.cs
- BamlResourceSerializer.cs
- XmlRawWriterWrapper.cs
- NamespaceInfo.cs
- ViewBox.cs
- ObjectSerializerFactory.cs
- KeyGestureConverter.cs
- ContainerParaClient.cs
- AuthenticationManager.cs
- DataGridViewColumnConverter.cs
- ColumnReorderedEventArgs.cs
- FeatureSupport.cs
- Overlapped.cs
- DataBindingExpressionBuilder.cs
- WebPartDisplayModeCollection.cs
- InternalConfigHost.cs
- RegexCode.cs
- OracleRowUpdatingEventArgs.cs
- MemberDomainMap.cs
- MenuCommandsChangedEventArgs.cs
- Annotation.cs
- SQLString.cs
- DateTimeFormatInfoScanner.cs
- EntityViewContainer.cs
- HtmlTableRow.cs
- RequestTimeoutManager.cs
- UmAlQuraCalendar.cs
- LoginName.cs
- AutomationProperties.cs
- EventSetter.cs
- PrivacyNoticeElement.cs
- GeneralTransform3DTo2DTo3D.cs
- MembershipValidatePasswordEventArgs.cs
- OracleCommand.cs
- AstNode.cs
- WindowsFormsLinkLabel.cs
- ListSortDescriptionCollection.cs
- bindurihelper.cs
- LicenseContext.cs
- BCLDebug.cs
- WebConfigurationFileMap.cs
- TransformerInfo.cs
- BroadcastEventHelper.cs
- CalculatedColumn.cs
- HandlerBase.cs
- AspCompat.cs
- Lock.cs
- BufferedGraphicsContext.cs
- ObjectConverter.cs
- BStrWrapper.cs
- NoneExcludedImageIndexConverter.cs
- SelectionProviderWrapper.cs
- StructuralCache.cs
- TabPanel.cs
- ReachDocumentPageSerializer.cs
- TextDecorationUnitValidation.cs
- ReadOnlyHierarchicalDataSource.cs
- WindowsListViewGroupHelper.cs
- InternalTransaction.cs
- ReversePositionQuery.cs
- ViewValidator.cs
- KeyBinding.cs
- TextElementEnumerator.cs
- SessionStateSection.cs
- MethodCallConverter.cs
- MatrixAnimationBase.cs
- DescendantBaseQuery.cs
- XPathNodeIterator.cs
- FontEmbeddingManager.cs
- XPathScanner.cs
- ImmutableCollection.cs
- FromReply.cs
- ISFClipboardData.cs
- Operators.cs
- PartialCachingAttribute.cs
- UserMapPath.cs
- Command.cs
- BrowserInteropHelper.cs