Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ProcessMonitor.cs
- SmtpReplyReader.cs
- ISAPIApplicationHost.cs
- EventLogTraceListener.cs
- DictionaryMarkupSerializer.cs
- ObjectDataProvider.cs
- AttributeAction.cs
- ToolStripMenuItemCodeDomSerializer.cs
- FastEncoder.cs
- ListViewDeletedEventArgs.cs
- ChangeInterceptorAttribute.cs
- ArgumentOutOfRangeException.cs
- DeflateStream.cs
- FileCodeGroup.cs
- ThicknessAnimationUsingKeyFrames.cs
- DBNull.cs
- GuidConverter.cs
- OperationExecutionFault.cs
- AddToCollection.cs
- DataGridViewHitTestInfo.cs
- DoubleIndependentAnimationStorage.cs
- DBConnectionString.cs
- TreeNodeEventArgs.cs
- HelpHtmlBuilder.cs
- Color.cs
- DrawingAttributes.cs
- Viewport2DVisual3D.cs
- EntityDataSourceSelectedEventArgs.cs
- ContentControl.cs
- Compilation.cs
- PingReply.cs
- EntitySet.cs
- UidPropertyAttribute.cs
- Int16.cs
- CacheVirtualItemsEvent.cs
- LineServicesCallbacks.cs
- LocatorBase.cs
- AnyAllSearchOperator.cs
- JpegBitmapEncoder.cs
- InvalidProgramException.cs
- XmlSchemaComplexType.cs
- TextClipboardData.cs
- HttpProfileBase.cs
- XmlDocument.cs
- TokenDescriptor.cs
- AnimatedTypeHelpers.cs
- IntranetCredentialPolicy.cs
- LineBreak.cs
- AutoScrollExpandMessageFilter.cs
- TextElementCollection.cs
- SettingsSavedEventArgs.cs
- ITreeGenerator.cs
- ToolStripComboBox.cs
- BooleanStorage.cs
- StatusBar.cs
- CompilerHelpers.cs
- SubpageParagraph.cs
- Size3DValueSerializer.cs
- SystemTcpStatistics.cs
- AllMembershipCondition.cs
- DescendantBaseQuery.cs
- CommandBinding.cs
- WorkflowTimerService.cs
- _DigestClient.cs
- messageonlyhwndwrapper.cs
- NavigationHelper.cs
- AttributeXamlType.cs
- SafeSecurityHandles.cs
- ChildTable.cs
- HttpHandlersSection.cs
- XPathQilFactory.cs
- PageTheme.cs
- FixedSOMLineCollection.cs
- DrawItemEvent.cs
- StringCollectionEditor.cs
- Maps.cs
- ResourceProviderFactory.cs
- WebBrowserProgressChangedEventHandler.cs
- TypeConverterMarkupExtension.cs
- BuildProviderCollection.cs
- TextTreeRootTextBlock.cs
- ProfileEventArgs.cs
- ExpandSegmentCollection.cs
- EntityModelBuildProvider.cs
- ContextMenu.cs
- ClickablePoint.cs
- SingleAnimationBase.cs
- EventMappingSettingsCollection.cs
- SHA256.cs
- SelectingProviderEventArgs.cs
- TrackBar.cs
- TriggerCollection.cs
- RawStylusInputReport.cs
- StylusShape.cs
- ResponseBodyWriter.cs
- TreeNode.cs
- Maps.cs
- ModelUtilities.cs
- Empty.cs
- ScriptResourceInfo.cs