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
- XmlSchemaSequence.cs
- FloaterParagraph.cs
- ArglessEventHandlerProxy.cs
- MetadataStore.cs
- Context.cs
- ImageField.cs
- FactoryRecord.cs
- ValidationRule.cs
- DataGridState.cs
- DataRelation.cs
- SizeConverter.cs
- SQLDoubleStorage.cs
- WebEventTraceProvider.cs
- BamlWriter.cs
- HtmlCommandAdapter.cs
- DataGridViewRowStateChangedEventArgs.cs
- XmlUtf8RawTextWriter.cs
- SafeNativeMethodsOther.cs
- MenuItem.cs
- XmlSchemaImport.cs
- BaseDataBoundControl.cs
- CannotUnloadAppDomainException.cs
- ProjectionPruner.cs
- DummyDataSource.cs
- InvalidEnumArgumentException.cs
- OciLobLocator.cs
- DbMetaDataCollectionNames.cs
- MailBnfHelper.cs
- DbException.cs
- FontConverter.cs
- HighlightVisual.cs
- JournalEntryStack.cs
- HttpRequestCacheValidator.cs
- DataColumnMappingCollection.cs
- ListParagraph.cs
- ColorConvertedBitmapExtension.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DispatcherBuilder.cs
- PathParser.cs
- MultipartContentParser.cs
- NativeCppClassAttribute.cs
- SpAudioStreamWrapper.cs
- SqlNodeAnnotation.cs
- SkinBuilder.cs
- ProxySimple.cs
- System.Data_BID.cs
- ScriptingProfileServiceSection.cs
- HMAC.cs
- DotExpr.cs
- SqlTypesSchemaImporter.cs
- SqlDataAdapter.cs
- WebPart.cs
- DesignerTransactionCloseEvent.cs
- ObjectListDataBindEventArgs.cs
- SmiEventSink_Default.cs
- PreviewPageInfo.cs
- ServiceOperationHelpers.cs
- ToggleProviderWrapper.cs
- ResourcePool.cs
- FieldReference.cs
- JapaneseCalendar.cs
- AccessDataSourceWizardForm.cs
- DbProviderSpecificTypePropertyAttribute.cs
- MinMaxParagraphWidth.cs
- CodeTypeReferenceCollection.cs
- EventDescriptorCollection.cs
- FrameworkContextData.cs
- OleDbError.cs
- LicenseContext.cs
- MasterPageBuildProvider.cs
- CssTextWriter.cs
- SQLDateTimeStorage.cs
- CapacityStreamGeometryContext.cs
- ResourceSetExpression.cs
- CaretElement.cs
- RegexTree.cs
- MemberProjectionIndex.cs
- HandleCollector.cs
- VectorCollection.cs
- ObjectDataSource.cs
- AdPostCacheSubstitution.cs
- SystemThemeKey.cs
- WsdlEndpointConversionContext.cs
- MD5CryptoServiceProvider.cs
- TaiwanLunisolarCalendar.cs
- LogEntrySerializer.cs
- ReferencedCollectionType.cs
- AxisAngleRotation3D.cs
- TTSVoice.cs
- IssuanceLicense.cs
- ModifierKeysConverter.cs
- MDIWindowDialog.cs
- EventToken.cs
- DependencyObjectPropertyDescriptor.cs
- HtmlElement.cs
- XmlReaderSettings.cs
- CodeExporter.cs
- TableRowCollection.cs
- _NetworkingPerfCounters.cs
- IsolatedStorage.cs