Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DynamicActionMessageFilter.cs
- DbConnectionInternal.cs
- OdbcEnvironmentHandle.cs
- BCLDebug.cs
- NavigationFailedEventArgs.cs
- Command.cs
- SiteMapNodeItemEventArgs.cs
- Expander.cs
- ToolStripContainerActionList.cs
- HttpRequest.cs
- BindingsCollection.cs
- SynchronizedDispatch.cs
- NoneExcludedImageIndexConverter.cs
- DataTransferEventArgs.cs
- SchemaMapping.cs
- CreateParams.cs
- _emptywebproxy.cs
- CompilerCollection.cs
- InstanceNotReadyException.cs
- Literal.cs
- UnionCodeGroup.cs
- WindowClosedEventArgs.cs
- SuppressMergeCheckAttribute.cs
- FontFamilyConverter.cs
- TextFormatterHost.cs
- AdPostCacheSubstitution.cs
- DispatchChannelSink.cs
- BoolExpression.cs
- OdbcFactory.cs
- ActivityWithResultWrapper.cs
- DrawingVisualDrawingContext.cs
- IntSecurity.cs
- OverrideMode.cs
- RoleManagerEventArgs.cs
- Help.cs
- HashMembershipCondition.cs
- QueryableDataSource.cs
- KeyTimeConverter.cs
- LeafCellTreeNode.cs
- CursorConverter.cs
- PolicyVersion.cs
- SplitContainer.cs
- DesignerHelpers.cs
- VirtualDirectoryMapping.cs
- TextParagraphView.cs
- StylusPointPropertyId.cs
- TypeConverterHelper.cs
- fixedPageContentExtractor.cs
- MsmqIntegrationBindingElement.cs
- ValueUtilsSmi.cs
- SimpleType.cs
- StopStoryboard.cs
- PagePropertiesChangingEventArgs.cs
- SolidBrush.cs
- BindingGraph.cs
- TextPointer.cs
- ThumbButtonInfoCollection.cs
- LiteralText.cs
- CatalogUtil.cs
- VersionUtil.cs
- BitmapPalettes.cs
- DocumentOrderQuery.cs
- SmtpTransport.cs
- InteropDesigner.xaml.cs
- ToolStripLabel.cs
- latinshape.cs
- CacheSection.cs
- XmlDataSourceNodeDescriptor.cs
- InkCanvasAutomationPeer.cs
- SizeValueSerializer.cs
- XmlElementAttribute.cs
- BaseContextMenu.cs
- OdbcStatementHandle.cs
- XmlSortKey.cs
- QilFactory.cs
- ListViewItemEventArgs.cs
- PlanCompilerUtil.cs
- HttpConfigurationContext.cs
- ChildChangedEventArgs.cs
- __Error.cs
- FillBehavior.cs
- PolicyStatement.cs
- MediaScriptCommandRoutedEventArgs.cs
- FormatterServices.cs
- SoapObjectReader.cs
- WebBrowsableAttribute.cs
- PropertyMapper.cs
- ColumnMapTranslator.cs
- SequenceDesignerAccessibleObject.cs
- IIS7WorkerRequest.cs
- EventEntry.cs
- ParallelDesigner.xaml.cs
- SelectedDatesCollection.cs
- StreamGeometryContext.cs
- CodeComment.cs
- EmptyImpersonationContext.cs
- DiscoveryVersion.cs
- WindowsTokenRoleProvider.cs
- CachedRequestParams.cs
- ServicesUtilities.cs