Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Media / Animation / SkipStoryboardToFill.cs / 1305600 / 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
- AssemblyFilter.cs
- DodSequenceMerge.cs
- SelectionService.cs
- DESCryptoServiceProvider.cs
- Message.cs
- WhiteSpaceTrimStringConverter.cs
- XmlWhitespace.cs
- AttachedProperty.cs
- LinkUtilities.cs
- DesignerView.Commands.cs
- Trace.cs
- URIFormatException.cs
- _Connection.cs
- Baml2006ReaderSettings.cs
- Stroke.cs
- PointHitTestResult.cs
- TransactionManager.cs
- Message.cs
- HelpProvider.cs
- RawStylusActions.cs
- SessionStateContainer.cs
- ComponentGlyph.cs
- HttpListenerResponse.cs
- ResumeStoryboard.cs
- CommandDesigner.cs
- SettingsProviderCollection.cs
- BinaryMethodMessage.cs
- RoutingChannelExtension.cs
- XsltSettings.cs
- SqlDependencyUtils.cs
- FormViewActionList.cs
- SelectedDatesCollection.cs
- FieldBuilder.cs
- SqlCacheDependency.cs
- Fx.cs
- FormsAuthenticationTicket.cs
- ModuleElement.cs
- XmlDictionaryString.cs
- BlockCollection.cs
- DocumentSequence.cs
- OperatingSystem.cs
- XPathChildIterator.cs
- ProfileGroupSettings.cs
- ReadOnlyCollection.cs
- ReturnType.cs
- CurrencyManager.cs
- EntityProviderFactory.cs
- ToggleButton.cs
- ControlCommandSet.cs
- BuildDependencySet.cs
- Annotation.cs
- DomNameTable.cs
- EventProviderWriter.cs
- NamedPipeConnectionPoolSettings.cs
- SpanIndex.cs
- RegistryPermission.cs
- AppSettingsExpressionBuilder.cs
- WasAdminWrapper.cs
- MSAANativeProvider.cs
- MSG.cs
- NamespaceList.cs
- SqlProviderManifest.cs
- XmlObjectSerializerWriteContextComplex.cs
- DataGridViewCell.cs
- Panel.cs
- MaterializeFromAtom.cs
- ProviderBase.cs
- WeakEventManager.cs
- SelectedDatesCollection.cs
- AnimationClock.cs
- TripleDESCryptoServiceProvider.cs
- DbReferenceCollection.cs
- FieldAccessException.cs
- MemberMaps.cs
- VerticalAlignConverter.cs
- TransformValueSerializer.cs
- LostFocusEventManager.cs
- TimelineClockCollection.cs
- OrderedEnumerableRowCollection.cs
- LinqToSqlWrapper.cs
- UnicastIPAddressInformationCollection.cs
- SettingsProviderCollection.cs
- ProcessThread.cs
- SortAction.cs
- HostingMessageProperty.cs
- XmlSchemaElement.cs
- CodeLinePragma.cs
- Roles.cs
- GlobalItem.cs
- JavaScriptSerializer.cs
- FixedSOMTableRow.cs
- ItemsControl.cs
- SpellerInterop.cs
- SendSecurityHeaderElement.cs
- XmlQueryStaticData.cs
- MergeLocalizationDirectives.cs
- ClrPerspective.cs
- SQLInt64Storage.cs
- MetadataUtilsSmi.cs
- BaseInfoTable.cs