Code:
/ 4.0 / 4.0 / 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. /****************************************************************************\ * * 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataTemplateSelector.cs
- QuaternionAnimationUsingKeyFrames.cs
- CryptoStream.cs
- ExpressionContext.cs
- DefaultEvaluationContext.cs
- StringUtil.cs
- PtsHelper.cs
- FlowLayout.cs
- FrameworkReadOnlyPropertyMetadata.cs
- PolyLineSegment.cs
- TextTrailingWordEllipsis.cs
- AvtEvent.cs
- DataGridColumnHeader.cs
- ToolStripDesignerAvailabilityAttribute.cs
- Container.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- ClientEndpointLoader.cs
- TemplateAction.cs
- GuidelineSet.cs
- WebPartManager.cs
- IndentTextWriter.cs
- MediaElement.cs
- QueryOptionExpression.cs
- XmlObjectSerializerReadContext.cs
- Operand.cs
- XsltLibrary.cs
- FieldCollectionEditor.cs
- ControlCollection.cs
- QuerySafeNavigator.cs
- SmtpAuthenticationManager.cs
- AttributeAction.cs
- SimpleBitVector32.cs
- LocationSectionRecord.cs
- XamlPathDataSerializer.cs
- CheckBoxBaseAdapter.cs
- Win32KeyboardDevice.cs
- HttpPostedFileBase.cs
- QilPatternVisitor.cs
- SoapMessage.cs
- DataSet.cs
- SimplePropertyEntry.cs
- Intellisense.cs
- ConfigXmlText.cs
- DependencyProperty.cs
- SqlClientWrapperSmiStream.cs
- ButtonRenderer.cs
- ExpanderAutomationPeer.cs
- HybridWebProxyFinder.cs
- MessageQueueAccessControlEntry.cs
- Table.cs
- ExchangeUtilities.cs
- EditorPartChrome.cs
- BStrWrapper.cs
- GenericUriParser.cs
- Rules.cs
- TemplatedWizardStep.cs
- ServiceModelExtensionElement.cs
- CustomBindingElement.cs
- DataGridViewHitTestInfo.cs
- Lazy.cs
- UIElementPropertyUndoUnit.cs
- IisTraceWebEventProvider.cs
- CodeMemberEvent.cs
- Attributes.cs
- BufferedOutputStream.cs
- CodeDomSerializationProvider.cs
- FacetValueContainer.cs
- HtmlControlPersistable.cs
- PropertyChangedEventArgs.cs
- StickyNote.cs
- RemoteWebConfigurationHostStream.cs
- TableItemProviderWrapper.cs
- VerificationAttribute.cs
- DiagnosticsConfigurationHandler.cs
- InvalidCardException.cs
- QueryUtil.cs
- ConfigXmlComment.cs
- ViewStateModeByIdAttribute.cs
- PlainXmlDeserializer.cs
- TextContainerHelper.cs
- SimpleMailWebEventProvider.cs
- TemplatedWizardStep.cs
- ISAPIApplicationHost.cs
- CodeDOMProvider.cs
- OleDbPermission.cs
- SuppressMessageAttribute.cs
- StreamUpgradeBindingElement.cs
- UnsafeNativeMethodsPenimc.cs
- HttpListenerRequest.cs
- Renderer.cs
- StructuredTypeInfo.cs
- LabelEditEvent.cs
- entitydatasourceentitysetnameconverter.cs
- GridViewRowEventArgs.cs
- recordstatescratchpad.cs
- ReferenceSchema.cs
- ProcessInputEventArgs.cs
- DocumentPageHost.cs
- BinaryVersion.cs
- XmlParserContext.cs