Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ShapeTypeface.cs
- OdbcRowUpdatingEvent.cs
- Token.cs
- ConfigXmlSignificantWhitespace.cs
- Merger.cs
- XmlElementList.cs
- FunctionNode.cs
- SiteMembershipCondition.cs
- TypeToStringValueConverter.cs
- TransformDescriptor.cs
- SafeThreadHandle.cs
- SerializationInfo.cs
- EntityConnection.cs
- SequenceRangeCollection.cs
- RectValueSerializer.cs
- Calendar.cs
- DocumentViewerBase.cs
- NetworkAddressChange.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- Path.cs
- XmlWriterSettings.cs
- MappingMetadataHelper.cs
- PlatformCulture.cs
- ValidateNames.cs
- SchemaLookupTable.cs
- SqlConnectionPoolGroupProviderInfo.cs
- AppSettingsSection.cs
- SourceFileInfo.cs
- Rectangle.cs
- WindowsContainer.cs
- DebugInfoGenerator.cs
- DrawingVisual.cs
- DBNull.cs
- MailDefinition.cs
- ConnectorDragDropGlyph.cs
- LogEntrySerializer.cs
- SlipBehavior.cs
- ThreadExceptionDialog.cs
- PropertyRef.cs
- HttpProcessUtility.cs
- CodeBinaryOperatorExpression.cs
- DESCryptoServiceProvider.cs
- DesignerDeviceConfig.cs
- KnownColorTable.cs
- Rect.cs
- RegexWorker.cs
- SudsParser.cs
- XmlAtomicValue.cs
- InkCollectionBehavior.cs
- ListViewInsertEventArgs.cs
- DataTableTypeConverter.cs
- TransportOutputChannel.cs
- DataBoundControl.cs
- XmlBinaryReader.cs
- TypeUnloadedException.cs
- CssTextWriter.cs
- PermissionSetEnumerator.cs
- PathSegment.cs
- iisPickupDirectory.cs
- PopOutPanel.cs
- DefaultTextStoreTextComposition.cs
- AsymmetricAlgorithm.cs
- LayoutManager.cs
- EasingQuaternionKeyFrame.cs
- SQLInt16Storage.cs
- BamlTreeNode.cs
- MultiPropertyDescriptorGridEntry.cs
- UrlUtility.cs
- RegexGroup.cs
- RadioButtonStandardAdapter.cs
- ConfigDefinitionUpdates.cs
- KnownColorTable.cs
- PeerDuplexChannel.cs
- RoleManagerSection.cs
- XhtmlBasicPhoneCallAdapter.cs
- HtmlControlPersistable.cs
- DeobfuscatingStream.cs
- StringExpressionSet.cs
- ValidationError.cs
- DependencyPropertyHelper.cs
- ObjectDataSourceView.cs
- RbTree.cs
- Blend.cs
- ErrorCodes.cs
- ByteStack.cs
- GACIdentityPermission.cs
- TemplateColumn.cs
- PrtCap_Builder.cs
- WeakReferenceKey.cs
- GenericArgumentsUpdater.cs
- WindowsGraphicsWrapper.cs
- UnsafeNativeMethods.cs
- TextFindEngine.cs
- EntitySetBase.cs
- CqlParserHelpers.cs
- KnownBoxes.cs
- CodeStatement.cs
- DebuggerAttributes.cs
- ExpressionPrefixAttribute.cs
- QilFunction.cs