Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Media / Animation / ResumeStoryboard.cs / 1 / 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. /****************************************************************************\ * * 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
- BufferedGraphicsManager.cs
- EdmProviderManifest.cs
- XpsPackagingException.cs
- Pens.cs
- TextBoxView.cs
- ProtocolElement.cs
- ThousandthOfEmRealDoubles.cs
- ResourcePart.cs
- pingexception.cs
- ObjectListCommandsPage.cs
- SelectedGridItemChangedEvent.cs
- AnonymousIdentificationModule.cs
- SQLMoneyStorage.cs
- TimeSpanStorage.cs
- FileSystemEventArgs.cs
- PrimitiveCodeDomSerializer.cs
- GridViewItemAutomationPeer.cs
- CompensationHandlingFilter.cs
- DataGridViewImageCell.cs
- DataRowExtensions.cs
- _SpnDictionary.cs
- ChannelSinkStacks.cs
- AdRotator.cs
- Effect.cs
- SiteMapPath.cs
- IfAction.cs
- SemanticResultValue.cs
- MSHTMLHost.cs
- messageonlyhwndwrapper.cs
- CompositeScriptReference.cs
- Queue.cs
- Thumb.cs
- DataControlLinkButton.cs
- ListItemCollection.cs
- TypeBinaryExpression.cs
- Cloud.cs
- DesignerAutoFormat.cs
- InvalidWMPVersionException.cs
- ObjectManager.cs
- IListConverters.cs
- TimeSpanStorage.cs
- WizardDesigner.cs
- HelpEvent.cs
- MultiViewDesigner.cs
- TextElement.cs
- CurrencyWrapper.cs
- CaseInsensitiveHashCodeProvider.cs
- XmlWriterTraceListener.cs
- DataControlButton.cs
- LicenseException.cs
- HttpHandlerActionCollection.cs
- CompilationSection.cs
- QuadraticEase.cs
- NestPullup.cs
- ManagementObjectCollection.cs
- RoamingStoreFileUtility.cs
- WasEndpointConfigContainer.cs
- Literal.cs
- WebReferencesBuildProvider.cs
- XXXInfos.cs
- TimelineGroup.cs
- PolyQuadraticBezierSegment.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- AmbientValueAttribute.cs
- FamilyTypeface.cs
- MemoryStream.cs
- Panel.cs
- DbModificationCommandTree.cs
- Control.cs
- TimeSpanValidator.cs
- PageHandlerFactory.cs
- GridViewColumnHeaderAutomationPeer.cs
- FileAuthorizationModule.cs
- DetailsViewUpdateEventArgs.cs
- WindowsFont.cs
- Version.cs
- AlphaSortedEnumConverter.cs
- SecondaryViewProvider.cs
- ChangePassword.cs
- DataRow.cs
- ActivityDesignerLayoutSerializers.cs
- BindingContext.cs
- XslCompiledTransform.cs
- EventLogPermissionEntry.cs
- ReachDocumentSequenceSerializerAsync.cs
- ErrorHandlerModule.cs
- XmlIncludeAttribute.cs
- WebEventTraceProvider.cs
- DataBinder.cs
- CodeCompiler.cs
- DateTimeOffset.cs
- METAHEADER.cs
- ListenerAdaptersInstallComponent.cs
- EnvelopedSignatureTransform.cs
- IisTraceListener.cs
- BasicBrowserDialog.designer.cs
- MasterPageParser.cs
- GlyphingCache.cs
- ButtonBase.cs
- OleDbReferenceCollection.cs