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
- SubMenuStyleCollection.cs
- XmlCharCheckingReader.cs
- CodeRemoveEventStatement.cs
- FileDialog_Vista_Interop.cs
- WebPartVerb.cs
- Underline.cs
- AddInIpcChannel.cs
- MergeExecutor.cs
- CorrelationManager.cs
- JapaneseCalendar.cs
- ReadOnlyDataSource.cs
- Identity.cs
- DataGridBoolColumn.cs
- InvalidProgramException.cs
- WsatConfiguration.cs
- DispatchOperation.cs
- DbParameterCollection.cs
- StorageConditionPropertyMapping.cs
- DataPagerCommandEventArgs.cs
- Transform3DGroup.cs
- DoubleKeyFrameCollection.cs
- Merger.cs
- IntranetCredentialPolicy.cs
- InsufficientMemoryException.cs
- ConfigurationSectionCollection.cs
- OleDbConnection.cs
- wpf-etw.cs
- ImageUrlEditor.cs
- SecurityTokenValidationException.cs
- FusionWrap.cs
- DataControlFieldTypeEditor.cs
- EntityProviderFactory.cs
- WebServiceMethodData.cs
- DataServiceConfiguration.cs
- FunctionCommandText.cs
- CharEntityEncoderFallback.cs
- MobileControlBuilder.cs
- ConvertersCollection.cs
- FlowLayoutPanelDesigner.cs
- Comparer.cs
- EntityProviderFactory.cs
- TextTreeTextNode.cs
- ServerValidateEventArgs.cs
- SoapAttributeOverrides.cs
- Fonts.cs
- ArgumentDesigner.xaml.cs
- SubtreeProcessor.cs
- HandlerElementCollection.cs
- StrongNameMembershipCondition.cs
- PerformanceCounterScope.cs
- xmlfixedPageInfo.cs
- ButtonField.cs
- ErrorWrapper.cs
- CqlLexerHelpers.cs
- TreeNodeCollection.cs
- WorkItem.cs
- BookmarkUndoUnit.cs
- FramingDecoders.cs
- PeerCredentialElement.cs
- GlobalAllocSafeHandle.cs
- RenamedEventArgs.cs
- SqlStream.cs
- KeyValueInternalCollection.cs
- CompilationUnit.cs
- SingleObjectCollection.cs
- ProtocolImporter.cs
- RepeaterCommandEventArgs.cs
- RootProfilePropertySettingsCollection.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- SettingsPropertyIsReadOnlyException.cs
- XmlConvert.cs
- DefaultAssemblyResolver.cs
- GridViewColumn.cs
- PermissionListSet.cs
- AssemblyHelper.cs
- LineInfo.cs
- ProviderCollection.cs
- EditorPart.cs
- RsaSecurityTokenParameters.cs
- JournalEntryStack.cs
- AlphaSortedEnumConverter.cs
- ByteRangeDownloader.cs
- Bezier.cs
- XmlILOptimizerVisitor.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- TextBox.cs
- IPPacketInformation.cs
- BulletedListEventArgs.cs
- ListViewItemSelectionChangedEvent.cs
- DesignerForm.cs
- DataPager.cs
- EntityFunctions.cs
- ButtonPopupAdapter.cs
- DataGridPagerStyle.cs
- GridPatternIdentifiers.cs
- TableLayoutPanelCellPosition.cs
- DiscoveryRequestHandler.cs
- TrustManagerPromptUI.cs
- NetworkInformationException.cs
- FrameworkObject.cs