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
- MultiView.cs
- Transform3D.cs
- _CookieModule.cs
- FacetValues.cs
- OleDbEnumerator.cs
- DataGridViewDataConnection.cs
- OutputCacheModule.cs
- AddressHeader.cs
- CacheChildrenQuery.cs
- HostedAspNetEnvironment.cs
- XmlSchemaAnnotation.cs
- PixelFormatConverter.cs
- InkSerializer.cs
- Int32RectValueSerializer.cs
- TCEAdapterGenerator.cs
- NativeMethodsCLR.cs
- EdmFunctions.cs
- SqlTypeConverter.cs
- DispatcherExceptionFilterEventArgs.cs
- DbConnectionHelper.cs
- GZipObjectSerializer.cs
- CommonDialog.cs
- Normalization.cs
- XmlSchemaType.cs
- WebControlsSection.cs
- DataSetSchema.cs
- Transform.cs
- WorkflowApplicationIdleEventArgs.cs
- Message.cs
- EntryIndex.cs
- FixedTextBuilder.cs
- ErrorTableItemStyle.cs
- StructuredType.cs
- ContextMenuStrip.cs
- MailSettingsSection.cs
- XsltLoader.cs
- HyperLinkColumn.cs
- PrtCap_Builder.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- BufferedStream.cs
- XmlReflectionImporter.cs
- _LocalDataStore.cs
- ObjectHelper.cs
- LinkLabelLinkClickedEvent.cs
- WindowsGraphics.cs
- XmlSignatureManifest.cs
- ListViewPagedDataSource.cs
- ThemeInfoAttribute.cs
- PersonalizableTypeEntry.cs
- Attributes.cs
- ImageFormat.cs
- FixedSchema.cs
- ScriptReferenceBase.cs
- GetReadStreamResult.cs
- RepeaterItemCollection.cs
- TraceContextEventArgs.cs
- MachinePropertyVariants.cs
- OleDbInfoMessageEvent.cs
- DbDataReader.cs
- UIElement3D.cs
- SQLUtility.cs
- DesignerActionVerbItem.cs
- WebPartConnection.cs
- IPPacketInformation.cs
- MatcherBuilder.cs
- SEHException.cs
- Int64.cs
- KnownTypeDataContractResolver.cs
- ResumeStoryboard.cs
- RoleManagerEventArgs.cs
- BaseConfigurationRecord.cs
- sqlcontext.cs
- Config.cs
- MessageBox.cs
- DefaultValidator.cs
- HealthMonitoringSection.cs
- BuilderElements.cs
- EnterpriseServicesHelper.cs
- SqlEnums.cs
- ContextMenuService.cs
- AttachedPropertyBrowsableAttribute.cs
- XmlIlGenerator.cs
- ItemContainerGenerator.cs
- InternalUserCancelledException.cs
- InfiniteIntConverter.cs
- ZoneIdentityPermission.cs
- ToolStripContentPanel.cs
- HtmlGenericControl.cs
- MDIControlStrip.cs
- LinqDataView.cs
- ButtonField.cs
- VisualBasicSettingsHandler.cs
- ActivityMarkupSerializationProvider.cs
- BuildProviderCollection.cs
- StylusShape.cs
- BoundsDrawingContextWalker.cs
- TriState.cs
- AmbientProperties.cs
- MethodBuilderInstantiation.cs
- StrokeCollectionDefaultValueFactory.cs