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
- DebugHandleTracker.cs
- UIElementParagraph.cs
- XmlLanguageConverter.cs
- ExtendLockAsyncResult.cs
- PopupEventArgs.cs
- OutputWindow.cs
- PerformanceCounterPermissionEntry.cs
- Configuration.cs
- XmlValidatingReaderImpl.cs
- XPathDescendantIterator.cs
- DeclarationUpdate.cs
- WorkflowRuntimeSection.cs
- RepeaterItemCollection.cs
- PropertyPathConverter.cs
- SelectionUIService.cs
- Vector3DAnimation.cs
- TemporaryBitmapFile.cs
- WizardPanelChangingEventArgs.cs
- ProjectionPlan.cs
- EncryptedPackageFilter.cs
- AutoResizedEvent.cs
- ToolStripPanelCell.cs
- LogEntryHeaderDeserializer.cs
- WindowsListViewItemStartMenu.cs
- UIElementPropertyUndoUnit.cs
- TableParaClient.cs
- GlyphTypeface.cs
- EntityDesignPluralizationHandler.cs
- StylusEventArgs.cs
- DelegatedStream.cs
- HtmlInputFile.cs
- ItemsPanelTemplate.cs
- DriveInfo.cs
- MaterialGroup.cs
- DoubleAnimationClockResource.cs
- WebPartDisplayModeCollection.cs
- NegatedConstant.cs
- InstanceCreationEditor.cs
- RectangleConverter.cs
- HtmlInputPassword.cs
- TdsParserStateObject.cs
- WindowsSpinner.cs
- TextRangeEditTables.cs
- BufferedWebEventProvider.cs
- HandlerWithFactory.cs
- Atom10ItemFormatter.cs
- TraceHelpers.cs
- ViewBox.cs
- LinkLabelLinkClickedEvent.cs
- CommandBindingCollection.cs
- XmlSchemaComplexContentExtension.cs
- EventMappingSettings.cs
- XmlAnyElementAttribute.cs
- TopClause.cs
- CqlIdentifiers.cs
- SystemTcpConnection.cs
- Span.cs
- AssemblyNameProxy.cs
- BitmapEffectDrawingContextState.cs
- CheckedListBox.cs
- XPathNavigatorReader.cs
- __Filters.cs
- CharacterMetricsDictionary.cs
- VScrollBar.cs
- NavigatorInput.cs
- PenContexts.cs
- PropertyValue.cs
- UIElementPropertyUndoUnit.cs
- SHA384CryptoServiceProvider.cs
- RSAProtectedConfigurationProvider.cs
- Thickness.cs
- WebPart.cs
- ComponentCommands.cs
- OleDbConnectionInternal.cs
- CompiledQuery.cs
- X500Name.cs
- ConnectorDragDropGlyph.cs
- BufferedReadStream.cs
- TypeForwardedFromAttribute.cs
- Run.cs
- SQLInt32Storage.cs
- MetabaseServerConfig.cs
- PathNode.cs
- Rss20ItemFormatter.cs
- ReadOnlyTernaryTree.cs
- WebPartDescription.cs
- RandomNumberGenerator.cs
- BookmarkWorkItem.cs
- ParseNumbers.cs
- PointHitTestResult.cs
- IntSecurity.cs
- CombinedTcpChannel.cs
- TableRowsCollectionEditor.cs
- SvcMapFileLoader.cs
- FrameDimension.cs
- Image.cs
- IssuedSecurityTokenParameters.cs
- RegexWriter.cs
- IsolatedStorage.cs
- LocalizableResourceBuilder.cs