Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Media / Animation / SkipStoryboardToFill.cs / 1 / SkipStoryboardToFill.cs
/****************************************************************************\ * * File: SkipStoryboardToFill.cs * * This object includes a Storyboard reference. When triggered, the Storyboard * SkipToFills. * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using System.Diagnostics; // Debug.Assert namespace System.Windows.Media.Animation { ////// SkipStoryboardToFill will call SkipToFill on its Storyboard reference when /// it is triggered. /// public sealed class SkipStoryboardToFill : 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.SkipToFill(containingFE); } else { storyboard.SkipToFill(containingFCE); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /****************************************************************************\ * * File: SkipStoryboardToFill.cs * * This object includes a Storyboard reference. When triggered, the Storyboard * SkipToFills. * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using System.Diagnostics; // Debug.Assert namespace System.Windows.Media.Animation { ////// SkipStoryboardToFill will call SkipToFill on its Storyboard reference when /// it is triggered. /// public sealed class SkipStoryboardToFill : 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.SkipToFill(containingFE); } else { storyboard.SkipToFill(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
- DataGridView.cs
- CompositeCollection.cs
- ProtocolsConfigurationHandler.cs
- ClientTargetCollection.cs
- LookupBindingPropertiesAttribute.cs
- BasicCellRelation.cs
- PrintSystemException.cs
- BindingNavigator.cs
- ChannelServices.cs
- ObjectDataSourceMethodEditor.cs
- ScrollBarRenderer.cs
- TextServicesProperty.cs
- FlagsAttribute.cs
- HtmlCommandAdapter.cs
- EncodingFallbackAwareXmlTextWriter.cs
- UInt64Converter.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- LogPolicy.cs
- OutOfMemoryException.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ParseNumbers.cs
- WorkflowOperationInvoker.cs
- SmtpMail.cs
- Command.cs
- OptionalMessageQuery.cs
- TailPinnedEventArgs.cs
- SystemException.cs
- Peer.cs
- Win32Native.cs
- IconBitmapDecoder.cs
- NavigationHelper.cs
- Calendar.cs
- StretchValidation.cs
- TrackingMemoryStream.cs
- KeyValueInternalCollection.cs
- PartialCachingControl.cs
- EventLogStatus.cs
- XmlDocumentSerializer.cs
- SplitterCancelEvent.cs
- PatternMatcher.cs
- URLAttribute.cs
- WebPartConnectionsConnectVerb.cs
- BitmapCache.cs
- HttpCookieCollection.cs
- DataRelationPropertyDescriptor.cs
- ExpressionPrinter.cs
- DetectRunnableInstancesTask.cs
- ServiceReference.cs
- Attributes.cs
- BitmapEffectDrawing.cs
- CompareValidator.cs
- UTF7Encoding.cs
- SettingsProviderCollection.cs
- InteropAutomationProvider.cs
- Frame.cs
- HostedTcpTransportManager.cs
- FormatException.cs
- SystemGatewayIPAddressInformation.cs
- ChtmlTextWriter.cs
- Size3D.cs
- ControlBuilderAttribute.cs
- xdrvalidator.cs
- ToolBarTray.cs
- DateTimeFormat.cs
- XmlElement.cs
- EntityDataSourceValidationException.cs
- MimeTypePropertyAttribute.cs
- WebEvents.cs
- DbParameterCollection.cs
- NextPreviousPagerField.cs
- HeaderUtility.cs
- WindowsRebar.cs
- AssemblyCacheEntry.cs
- RedistVersionInfo.cs
- AssemblyHelper.cs
- jithelpers.cs
- DSASignatureDeformatter.cs
- UnsafeNativeMethods.cs
- HttpResponseMessageProperty.cs
- SQLInt32Storage.cs
- Msmq4PoisonHandler.cs
- WebServicesSection.cs
- RequestTimeoutManager.cs
- EntityExpressionVisitor.cs
- OAVariantLib.cs
- EnumBuilder.cs
- SqlCacheDependencySection.cs
- PeerNearMe.cs
- TextWriterTraceListener.cs
- SingleAnimationBase.cs
- ToolboxItem.cs
- AsyncDataRequest.cs
- SelectorAutomationPeer.cs
- EffectiveValueEntry.cs
- SymbolDocumentGenerator.cs
- SqlDataSourceEnumerator.cs
- SupportsEventValidationAttribute.cs
- InstanceDataCollection.cs
- ExecutionEngineException.cs
- Mutex.cs