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
- HashCryptoHandle.cs
- MulticastDelegate.cs
- EntityContainerEntitySet.cs
- DbUpdateCommandTree.cs
- PropertyPushdownHelper.cs
- TraceRecord.cs
- PrimitiveDataContract.cs
- ImpersonationContext.cs
- Cursor.cs
- _NegoState.cs
- MethodInfo.cs
- MatrixConverter.cs
- SerializationInfo.cs
- HandoffBehavior.cs
- IncrementalReadDecoders.cs
- EntityDataSourceContextCreatedEventArgs.cs
- WebBrowser.cs
- AdornerLayer.cs
- ZoomingMessageFilter.cs
- Repeater.cs
- DatagridviewDisplayedBandsData.cs
- HandlerBase.cs
- ManualResetEvent.cs
- SchemaImporterExtensionElement.cs
- SimpleHandlerBuildProvider.cs
- RealProxy.cs
- IgnoreSectionHandler.cs
- UdpDuplexChannel.cs
- QualificationDataItem.cs
- Matrix3D.cs
- ConfigsHelper.cs
- GeneratedView.cs
- HttpResponse.cs
- InstanceDescriptor.cs
- SelectionRangeConverter.cs
- DataGridViewTopRowAccessibleObject.cs
- SingleTagSectionHandler.cs
- SqlSupersetValidator.cs
- _NegotiateClient.cs
- XmlILStorageConverter.cs
- EventToken.cs
- ListSourceHelper.cs
- ACL.cs
- PropertyEntry.cs
- odbcmetadatacollectionnames.cs
- UnmanagedHandle.cs
- RealizationDrawingContextWalker.cs
- BuildProvidersCompiler.cs
- ModulesEntry.cs
- DataGridTextBox.cs
- XmlCodeExporter.cs
- XmlNamespaceMappingCollection.cs
- ComponentEditorPage.cs
- QilBinary.cs
- FilterQueryOptionExpression.cs
- OleDbFactory.cs
- ProviderMetadataCachedInformation.cs
- CLRBindingWorker.cs
- EntityExpressionVisitor.cs
- Pkcs7Recipient.cs
- DBCSCodePageEncoding.cs
- AxHost.cs
- HttpDictionary.cs
- Rotation3D.cs
- DecoderBestFitFallback.cs
- FilterException.cs
- SettingsProperty.cs
- Merger.cs
- DockPatternIdentifiers.cs
- DocumentAutomationPeer.cs
- DecimalConstantAttribute.cs
- ApplicationContext.cs
- EncoderReplacementFallback.cs
- XPathAncestorQuery.cs
- OdbcException.cs
- PeerNameRecordCollection.cs
- AssemblySettingAttributes.cs
- EventsTab.cs
- SynchronousReceiveBehavior.cs
- ExtenderControl.cs
- CollectionConverter.cs
- QilVisitor.cs
- HwndAppCommandInputProvider.cs
- DurationConverter.cs
- TreePrinter.cs
- CellParaClient.cs
- CompatibleComparer.cs
- ObjectQuery.cs
- RelatedImageListAttribute.cs
- MexServiceChannelBuilder.cs
- AspNetRouteServiceHttpHandler.cs
- TextTabProperties.cs
- BuildProvidersCompiler.cs
- NavigationHelper.cs
- MarkerProperties.cs
- XPathScanner.cs
- AssertHelper.cs
- XmlComment.cs
- TemplatedAdorner.cs
- SRGSCompiler.cs