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
- ExecutionContext.cs
- _AuthenticationState.cs
- CurrentChangingEventManager.cs
- RuleRef.cs
- SharedTcpTransportManager.cs
- TextElement.cs
- QilGenerator.cs
- XmlBaseReader.cs
- ThicknessKeyFrameCollection.cs
- HtmlImageAdapter.cs
- TdsParserStaticMethods.cs
- TextEditorMouse.cs
- EmptyReadOnlyDictionaryInternal.cs
- HttpCookie.cs
- EntityDataSourceEntityTypeFilterItem.cs
- Viewport3DAutomationPeer.cs
- DataMemberFieldEditor.cs
- WebEventCodes.cs
- HttpListenerException.cs
- PrimitiveType.cs
- RegexCompilationInfo.cs
- WebBrowserProgressChangedEventHandler.cs
- CatalogPartChrome.cs
- FixedSOMLineCollection.cs
- X509ImageLogo.cs
- SliderAutomationPeer.cs
- Query.cs
- Attributes.cs
- CustomAttributeFormatException.cs
- GC.cs
- Vector3DAnimationUsingKeyFrames.cs
- ResizeGrip.cs
- WebRequestModuleElementCollection.cs
- ErrorRuntimeConfig.cs
- DependencySource.cs
- CopyOnWriteList.cs
- XPathDocumentNavigator.cs
- EntityDataSourceValidationException.cs
- IdnElement.cs
- Properties.cs
- StylusPoint.cs
- ProcessDesigner.cs
- ObjectDataSourceView.cs
- InvalidPrinterException.cs
- NegatedCellConstant.cs
- TypeLoadException.cs
- RotateTransform3D.cs
- ActivationServices.cs
- SamlAssertionKeyIdentifierClause.cs
- WebPartMenu.cs
- EventLogTraceListener.cs
- SimpleFileLog.cs
- ShaderEffect.cs
- DtrList.cs
- PhysicalOps.cs
- ProcessStartInfo.cs
- ModelPerspective.cs
- InkCanvasSelection.cs
- TextTreeText.cs
- GacUtil.cs
- AttachmentCollection.cs
- Timer.cs
- HttpHandlerActionCollection.cs
- MetadataUtilsSmi.cs
- RegexMatch.cs
- UrlUtility.cs
- StylusButton.cs
- NameNode.cs
- UserControlCodeDomTreeGenerator.cs
- PolyLineSegmentFigureLogic.cs
- HostExecutionContextManager.cs
- WindowsButton.cs
- Debug.cs
- ListArgumentProvider.cs
- OleDbSchemaGuid.cs
- MtomMessageEncoder.cs
- NetworkInformationPermission.cs
- RelationshipManager.cs
- JsonClassDataContract.cs
- XmlValidatingReader.cs
- SizeConverter.cs
- SelectionListComponentEditor.cs
- COM2EnumConverter.cs
- SimpleTypesSurrogate.cs
- QueryPageSettingsEventArgs.cs
- XPathDocumentBuilder.cs
- EventLogPropertySelector.cs
- DesignerObjectListAdapter.cs
- Pen.cs
- Helpers.cs
- DataGridTableStyleMappingNameEditor.cs
- RemotingConfigParser.cs
- ExpressionPrefixAttribute.cs
- QueryResponse.cs
- WebContext.cs
- BamlLocalizer.cs
- _StreamFramer.cs
- DesignerAttribute.cs
- NotificationContext.cs
- ConfigurationManagerHelper.cs