Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Media / Animation / StopStoryboard.cs / 1 / StopStoryboard.cs
/****************************************************************************\ * * File: StopStoryboard.cs * * This object includes a Storyboard reference. When triggered, the Storyboard * stops. * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using System.Diagnostics; // Debug.Assert namespace System.Windows.Media.Animation { ////// StopStoryboard will call stop on its Storyboard reference when /// it is triggered. /// public sealed class StopStoryboard : 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.Stop(containingFE); } else { storyboard.Stop(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
- BuilderInfo.cs
- StructuredType.cs
- InheritanceUI.cs
- WindowsTokenRoleProvider.cs
- StaticContext.cs
- ControlEvent.cs
- PriorityQueue.cs
- PropertyIDSet.cs
- NetworkStream.cs
- ValidateNames.cs
- DataBoundControl.cs
- BindingManagerDataErrorEventArgs.cs
- ResourceIDHelper.cs
- BCLDebug.cs
- SqlFileStream.cs
- MouseBinding.cs
- BamlRecordReader.cs
- ToolStripLocationCancelEventArgs.cs
- EnumMember.cs
- TypeHelpers.cs
- TableRowCollection.cs
- MetadataItemCollectionFactory.cs
- CommonDialog.cs
- ActivityCodeGenerator.cs
- DbConnectionPoolCounters.cs
- SqlMultiplexer.cs
- TextLineBreak.cs
- IfAction.cs
- AutomationAttributeInfo.cs
- ReaderWriterLock.cs
- FixedSOMFixedBlock.cs
- PriorityChain.cs
- FileDialog_Vista_Interop.cs
- MaskInputRejectedEventArgs.cs
- DetailsViewModeEventArgs.cs
- ObjectConverter.cs
- Span.cs
- ValidatingPropertiesEventArgs.cs
- TextShapeableCharacters.cs
- ButtonBaseAutomationPeer.cs
- TailCallAnalyzer.cs
- FeatureSupport.cs
- XPathNavigator.cs
- Assembly.cs
- SqlMethodCallConverter.cs
- DateTimeValueSerializer.cs
- IisTraceWebEventProvider.cs
- MultiDataTrigger.cs
- TCEAdapterGenerator.cs
- _ServiceNameStore.cs
- CodeDirectiveCollection.cs
- SmiEventStream.cs
- XmlDomTextWriter.cs
- VerificationAttribute.cs
- ApplicationServicesHostFactory.cs
- ColumnMapProcessor.cs
- RegexCompiler.cs
- ProtocolsConfiguration.cs
- PathFigureCollection.cs
- MailBnfHelper.cs
- WindowsFormsHostAutomationPeer.cs
- AuthenticationModuleElementCollection.cs
- ProcessInputEventArgs.cs
- PasswordDeriveBytes.cs
- StringExpressionSet.cs
- UpdateException.cs
- JpegBitmapEncoder.cs
- HttpPostedFile.cs
- EmptyStringExpandableObjectConverter.cs
- CustomAttributeFormatException.cs
- HtmlInputImage.cs
- Light.cs
- WindowsFormsSynchronizationContext.cs
- XPathPatternParser.cs
- SecureUICommand.cs
- NetNamedPipeSecurityMode.cs
- ObjectAnimationUsingKeyFrames.cs
- CacheForPrimitiveTypes.cs
- DPCustomTypeDescriptor.cs
- SHA512.cs
- AppearanceEditorPart.cs
- ResourceDescriptionAttribute.cs
- PreviewPageInfo.cs
- StructuralType.cs
- ToolStripGrip.cs
- AuthorizationRuleCollection.cs
- BufferBuilder.cs
- HasCopySemanticsAttribute.cs
- ExpressionNode.cs
- GifBitmapEncoder.cs
- XmlCustomFormatter.cs
- MarkupCompilePass2.cs
- DbRetry.cs
- IndexerNameAttribute.cs
- XamlStream.cs
- ThreadStaticAttribute.cs
- VerificationException.cs
- VoiceChangeEventArgs.cs
- RolePrincipal.cs
- ToolStripTemplateNode.cs