Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Media / Animation / ResumeStoryboard.cs / 1305600 / ResumeStoryboard.cs
/****************************************************************************\ * * File: ResumeStoryboard.cs * * This object includes a Storyboard reference. When triggered, the Storyboard * resumes. * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using System.Diagnostics; // Debug.Assert namespace System.Windows.Media.Animation { ////// ResumeStoryboard will call resume on its Storyboard reference when /// it is triggered. /// public sealed class ResumeStoryboard : ControllableStoryboardAction { ////// Called when it's time to execute this storyboard action /// internal override void Invoke( FrameworkElement containingFE, FrameworkContentElement containingFCE, Storyboard storyboard ) { Debug.Assert( containingFE != null || containingFCE != null, "Caller of internal function failed to verify that we have a FE or FCE - we have neither." ); if( containingFE != null ) { storyboard.Resume(containingFE); } else { storyboard.Resume(containingFCE); } } } } // 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
- Comparer.cs
- UserPreferenceChangedEventArgs.cs
- UnsafeNativeMethods.cs
- ToolBarButtonClickEvent.cs
- DataObjectFieldAttribute.cs
- Win32Native.cs
- EntityCollection.cs
- UnicastIPAddressInformationCollection.cs
- CheckBoxRenderer.cs
- Crc32.cs
- RC2CryptoServiceProvider.cs
- OleDbErrorCollection.cs
- ServiceDiscoveryElement.cs
- SocketElement.cs
- BatchServiceHost.cs
- Sentence.cs
- UIElementCollection.cs
- HMACSHA512.cs
- TextFormatterImp.cs
- CompilationSection.cs
- ConvertEvent.cs
- SchemaLookupTable.cs
- X500Name.cs
- MessageSmuggler.cs
- RegistrationServices.cs
- VersionPair.cs
- ToolStripContentPanel.cs
- BooleanStorage.cs
- LocalizabilityAttribute.cs
- TemplateControl.cs
- EdmComplexPropertyAttribute.cs
- ParseElementCollection.cs
- SqlDataSourceSummaryPanel.cs
- Symbol.cs
- SelectionList.cs
- OLEDB_Util.cs
- FontCollection.cs
- TextServicesPropertyRanges.cs
- EntitySet.cs
- ServiceDebugBehavior.cs
- IdentityReference.cs
- ExternalFile.cs
- TextServicesCompartment.cs
- OdbcFactory.cs
- MenuAdapter.cs
- Publisher.cs
- ToolStripLocationCancelEventArgs.cs
- WindowsToolbarAsMenu.cs
- XmlNotation.cs
- FreezableDefaultValueFactory.cs
- TreeNodeMouseHoverEvent.cs
- HtmlControlPersistable.cs
- IisTraceListener.cs
- CompletedAsyncResult.cs
- AbstractSvcMapFileLoader.cs
- XmlConvert.cs
- XmlSchemaAnnotated.cs
- QueryStringParameter.cs
- TimersDescriptionAttribute.cs
- PackagingUtilities.cs
- GridLengthConverter.cs
- ScriptBehaviorDescriptor.cs
- RangeBaseAutomationPeer.cs
- XmlUtf8RawTextWriter.cs
- JournalEntryStack.cs
- BoundPropertyEntry.cs
- Int32AnimationUsingKeyFrames.cs
- HttpCachePolicy.cs
- InkCanvasFeedbackAdorner.cs
- ValueOfAction.cs
- PersistenceProviderBehavior.cs
- SliderAutomationPeer.cs
- TrackingServices.cs
- XhtmlConformanceSection.cs
- HttpHeaderCollection.cs
- LayoutEngine.cs
- SamlAttribute.cs
- SurrogateSelector.cs
- BypassElement.cs
- EncryptedReference.cs
- Environment.cs
- BrowserCapabilitiesCodeGenerator.cs
- KnownTypeDataContractResolver.cs
- ExtendedPropertyCollection.cs
- BrowserCapabilitiesFactory.cs
- EnumCodeDomSerializer.cs
- UnsafeNativeMethods.cs
- __TransparentProxy.cs
- CreateUserErrorEventArgs.cs
- ConfigXmlSignificantWhitespace.cs
- PropertyGroupDescription.cs
- ActivityValidator.cs
- WrappedIUnknown.cs
- TraceListeners.cs
- ObjectQueryExecutionPlan.cs
- UpdatableWrapper.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- Menu.cs
- TypeConverterAttribute.cs
- IntegerValidator.cs