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
- AccessorTable.cs
- BlurEffect.cs
- SeverityFilter.cs
- BoolLiteral.cs
- Match.cs
- OutputScope.cs
- SimpleMailWebEventProvider.cs
- WebPartVerbCollection.cs
- SimpleHandlerFactory.cs
- WindowsListViewGroupSubsetLink.cs
- GeneralTransform3D.cs
- UIElementParaClient.cs
- Identity.cs
- Profiler.cs
- SecurityKeyIdentifierClause.cs
- UIPermission.cs
- EntitySet.cs
- AssemblyFilter.cs
- MetafileHeader.cs
- DoubleUtil.cs
- SqlBulkCopyColumnMapping.cs
- followingquery.cs
- ToolStripItemCollection.cs
- ObjectDataSourceMethodEventArgs.cs
- ItemsControl.cs
- FixUpCollection.cs
- COM2Properties.cs
- SwitchAttribute.cs
- AttachedPropertyDescriptor.cs
- NavigationWindowAutomationPeer.cs
- ComponentResourceKey.cs
- CodeTypeParameter.cs
- SinglePageViewer.cs
- LostFocusEventManager.cs
- BamlBinaryReader.cs
- TreeViewItemAutomationPeer.cs
- CollectionDataContract.cs
- PaperSource.cs
- GeneralTransform2DTo3DTo2D.cs
- XmlSequenceWriter.cs
- AggregateNode.cs
- MethodResolver.cs
- DtdParser.cs
- Unit.cs
- IntSecurity.cs
- DataGridViewRowStateChangedEventArgs.cs
- EventWaitHandleSecurity.cs
- ViewgenGatekeeper.cs
- VirtualDirectoryMapping.cs
- ArrangedElementCollection.cs
- ScrollProperties.cs
- DiagnosticTraceSource.cs
- XmlUTF8TextReader.cs
- DataControlPagerLinkButton.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- WindowsSpinner.cs
- Membership.cs
- Condition.cs
- SqlNotificationEventArgs.cs
- XmlDataCollection.cs
- TransportChannelFactory.cs
- BindingBase.cs
- ReadContentAsBinaryHelper.cs
- FrugalMap.cs
- EmptyControlCollection.cs
- LoginCancelEventArgs.cs
- RC2CryptoServiceProvider.cs
- FlowDecision.cs
- StandardMenuStripVerb.cs
- ChtmlTextWriter.cs
- SafeFindHandle.cs
- PropertyChangedEventManager.cs
- DataServiceProviderWrapper.cs
- OleDbConnectionFactory.cs
- ISFClipboardData.cs
- StrongName.cs
- TextBoxView.cs
- UserControlAutomationPeer.cs
- RpcResponse.cs
- ActiveDocumentEvent.cs
- ComponentRenameEvent.cs
- ServiceX509SecurityTokenProvider.cs
- SqlDataSourceEnumerator.cs
- TextBounds.cs
- mediaclock.cs
- ListViewItemEventArgs.cs
- DoubleAnimationClockResource.cs
- SqlDataSourceCommandEventArgs.cs
- DataGridTextBox.cs
- InputProviderSite.cs
- XmlSchemaComplexContentRestriction.cs
- compensatingcollection.cs
- ApplicationHost.cs
- DataFieldEditor.cs
- ConfigXmlText.cs
- CallbackCorrelationInitializer.cs
- LicenseProviderAttribute.cs
- ModuleBuilderData.cs
- WindowsAuthenticationEventArgs.cs
- BitStack.cs