Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ControlParameter.cs
- XmlQueryRuntime.cs
- Facet.cs
- PropertyManager.cs
- RadialGradientBrush.cs
- ProxyWebPartManager.cs
- WindowsComboBox.cs
- DynamicQueryableWrapper.cs
- EntityDataSourceStatementEditorForm.cs
- ProfileSection.cs
- TextTreeText.cs
- SerializationSectionGroup.cs
- ObjectHelper.cs
- IntegerFacetDescriptionElement.cs
- ApplicationSecurityManager.cs
- StatusBarPanelClickEvent.cs
- IgnoreFileBuildProvider.cs
- BevelBitmapEffect.cs
- WebServicesDescriptionAttribute.cs
- TypeInformation.cs
- SchemaMapping.cs
- PointCollection.cs
- ObjectPropertyMapping.cs
- SecurityContext.cs
- CngProperty.cs
- EntitySqlQueryBuilder.cs
- EntityDesignerBuildProvider.cs
- mansign.cs
- WindowCollection.cs
- AutoGeneratedField.cs
- BuildManager.cs
- LogExtent.cs
- DllNotFoundException.cs
- Nodes.cs
- RequiredFieldValidator.cs
- XmlSecureResolver.cs
- SafeEventLogWriteHandle.cs
- FlowLayoutSettings.cs
- KnownBoxes.cs
- documentation.cs
- MessageHeaderDescription.cs
- InputScope.cs
- altserialization.cs
- FixedTextPointer.cs
- DataGridHeaderBorder.cs
- ObjectPersistData.cs
- AppDomainProtocolHandler.cs
- CreateUserWizard.cs
- ReadOnlyHierarchicalDataSourceView.cs
- RepeaterDataBoundAdapter.cs
- GenerateScriptTypeAttribute.cs
- ToolStripManager.cs
- ZipIOModeEnforcingStream.cs
- TimeoutConverter.cs
- ListDictionaryInternal.cs
- OleDbParameterCollection.cs
- JsonFormatReaderGenerator.cs
- EntitySetBase.cs
- IisTraceWebEventProvider.cs
- DispatchWrapper.cs
- _ConnectionGroup.cs
- ProjectionPath.cs
- ExternalFile.cs
- DbBuffer.cs
- AudienceUriMode.cs
- PageAsyncTaskManager.cs
- DataGridItemEventArgs.cs
- GeneralTransform3D.cs
- RuntimeWrappedException.cs
- StructuredTypeEmitter.cs
- DataObjectCopyingEventArgs.cs
- Timer.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- PreservationFileReader.cs
- WsrmTraceRecord.cs
- RecognitionEventArgs.cs
- DirectionalLight.cs
- CharAnimationUsingKeyFrames.cs
- SecurityHeaderLayout.cs
- shaperfactoryquerycacheentry.cs
- ObservableCollection.cs
- IFlowDocumentViewer.cs
- CollaborationHelperFunctions.cs
- Typeface.cs
- AggregateException.cs
- DirtyTextRange.cs
- SiteIdentityPermission.cs
- ObjectSecurity.cs
- XmlJsonReader.cs
- RequestStatusBarUpdateEventArgs.cs
- Label.cs
- PrintDialog.cs
- PermissionToken.cs
- ApplyTemplatesAction.cs
- Rijndael.cs
- Separator.cs
- BufferedMessageData.cs
- IndexingContentUnit.cs
- PasswordTextNavigator.cs
- IntellisenseTextBox.cs