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
- FormViewModeEventArgs.cs
- Int32Rect.cs
- DataGridViewColumnEventArgs.cs
- MessageEncoder.cs
- StyleCollection.cs
- SemanticAnalyzer.cs
- XslAstAnalyzer.cs
- ObjectDataSourceSelectingEventArgs.cs
- NavigationProperty.cs
- RemoveStoryboard.cs
- BitmapMetadata.cs
- SiteMap.cs
- DigitShape.cs
- DoubleMinMaxAggregationOperator.cs
- ReferentialConstraintRoleElement.cs
- HTTPNotFoundHandler.cs
- XmlExpressionDumper.cs
- XmlBoundElement.cs
- RegistrySecurity.cs
- EraserBehavior.cs
- SortQuery.cs
- SelectedDatesCollection.cs
- BitmapEffectDrawingContextWalker.cs
- LogPolicy.cs
- DeleteHelper.cs
- MetadataUtil.cs
- BamlTreeUpdater.cs
- SendMailErrorEventArgs.cs
- QilFunction.cs
- DynamicValidatorEventArgs.cs
- ProvidersHelper.cs
- CapabilitiesUse.cs
- SelectedDatesCollection.cs
- RangeBaseAutomationPeer.cs
- ContentTextAutomationPeer.cs
- PluralizationServiceUtil.cs
- IDictionary.cs
- XmlTextReaderImplHelpers.cs
- StylusDownEventArgs.cs
- SizeAnimation.cs
- Annotation.cs
- ConstructorNeedsTagAttribute.cs
- SHA1Cng.cs
- Trace.cs
- iisPickupDirectory.cs
- securitymgrsite.cs
- TranslateTransform3D.cs
- CopyNodeSetAction.cs
- Event.cs
- StringHandle.cs
- UnaryOperationBinder.cs
- Misc.cs
- XmlJsonWriter.cs
- PageThemeCodeDomTreeGenerator.cs
- SQlBooleanStorage.cs
- TextTreeTextNode.cs
- ExpressionBinding.cs
- Maps.cs
- SerialErrors.cs
- WindowsEditBox.cs
- XmlNodeList.cs
- TraceLevelStore.cs
- GraphicsPath.cs
- StorageComplexPropertyMapping.cs
- CompositeDesignerAccessibleObject.cs
- CapabilitiesRule.cs
- XmlObjectSerializerWriteContext.cs
- Operand.cs
- COM2Enum.cs
- BitmapEffect.cs
- FileVersion.cs
- KeyGestureValueSerializer.cs
- NativeMethods.cs
- ValidationVisibilityAttribute.cs
- ProcessHostMapPath.cs
- CookieParameter.cs
- NavigateUrlConverter.cs
- HttpFileCollection.cs
- EntityTypeBase.cs
- XmlQuerySequence.cs
- PrintControllerWithStatusDialog.cs
- UnsafeNativeMethods.cs
- MexNamedPipeBindingElement.cs
- ArrangedElementCollection.cs
- Converter.cs
- UrlMappingCollection.cs
- HandleExceptionArgs.cs
- LoginUtil.cs
- UnsafeNetInfoNativeMethods.cs
- ConnectionManagementSection.cs
- ConnectionPointCookie.cs
- ReaderOutput.cs
- XmlChildEnumerator.cs
- PartialTrustVisibleAssembliesSection.cs
- TileModeValidation.cs
- EdmMember.cs
- NativeMethodsOther.cs
- HtmlSelect.cs
- MsmqPoisonMessageException.cs
- XmlName.cs