Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Media / Animation / StopStoryboard.cs / 1305600 / 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
- ProgressBarRenderer.cs
- PropertyItemInternal.cs
- HeaderCollection.cs
- FormClosedEvent.cs
- AutomationEvent.cs
- DataGrid.cs
- dataprotectionpermissionattribute.cs
- MouseEventArgs.cs
- UnsafeNativeMethods.cs
- ExpressionCopier.cs
- ServiceHandle.cs
- SiteMapNodeCollection.cs
- GridLength.cs
- EntityDescriptor.cs
- APCustomTypeDescriptor.cs
- StopStoryboard.cs
- Char.cs
- EmbeddedMailObjectsCollection.cs
- AttributeCollection.cs
- EmbeddedMailObject.cs
- ServiceNameElement.cs
- InterleavedZipPartStream.cs
- ArgumentNullException.cs
- ConfigurationStrings.cs
- SettingsContext.cs
- LineBreakRecord.cs
- MouseDevice.cs
- ObjectDataSource.cs
- DataGridItem.cs
- DesignerTextBoxAdapter.cs
- SymbolPair.cs
- RegexCharClass.cs
- PassportAuthentication.cs
- DbDataRecord.cs
- DelayedRegex.cs
- SHA256Cng.cs
- TrackingMemoryStream.cs
- NodeFunctions.cs
- SqlTypesSchemaImporter.cs
- ControlFilterExpression.cs
- ManagementEventArgs.cs
- FixedSOMSemanticBox.cs
- EdmItemCollection.OcAssemblyCache.cs
- ExpandableObjectConverter.cs
- UIPropertyMetadata.cs
- StatusBar.cs
- MonitoringDescriptionAttribute.cs
- CustomAttributeFormatException.cs
- BitVector32.cs
- SatelliteContractVersionAttribute.cs
- wmiprovider.cs
- KeyNotFoundException.cs
- PointHitTestParameters.cs
- ColumnTypeConverter.cs
- TreeBuilderBamlTranslator.cs
- TypedOperationInfo.cs
- FilterRepeater.cs
- XmlSchemaAny.cs
- NativeBuffer.cs
- DisplayNameAttribute.cs
- WindowsHyperlink.cs
- ViewLoader.cs
- UriExt.cs
- sqlser.cs
- ControlIdConverter.cs
- Group.cs
- InternalBufferOverflowException.cs
- EdgeModeValidation.cs
- Underline.cs
- ExpressionStringBuilder.cs
- ChannelServices.cs
- SQLMoneyStorage.cs
- ACE.cs
- StringUtil.cs
- HttpConfigurationSystem.cs
- FixedSOMTableCell.cs
- _emptywebproxy.cs
- QilGeneratorEnv.cs
- VisualTreeFlattener.cs
- Delay.cs
- PasswordBoxAutomationPeer.cs
- WebPartActionVerb.cs
- SQLByteStorage.cs
- WorkflowServiceHost.cs
- HtmlFormParameterReader.cs
- CompilerState.cs
- ValidatingPropertiesEventArgs.cs
- TransportationConfigurationTypeInstallComponent.cs
- UnsafeNativeMethods.cs
- SHA384.cs
- ThreadStaticAttribute.cs
- X509KeyIdentifierClauseType.cs
- DbConnectionPoolIdentity.cs
- XamlSerializer.cs
- ObjectView.cs
- ClassImporter.cs
- ServiceOperationUIEditor.cs
- Nodes.cs
- SQLDateTime.cs
- WorkerRequest.cs