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
- CmsInterop.cs
- Gdiplus.cs
- TextSelectionProcessor.cs
- WebPartEditorApplyVerb.cs
- HtmlEncodedRawTextWriter.cs
- XamlTreeBuilder.cs
- PagedDataSource.cs
- RbTree.cs
- X509ChainElement.cs
- FixedTextContainer.cs
- TypeBuilderInstantiation.cs
- MetadataItemCollectionFactory.cs
- XmlSerializerNamespaces.cs
- LineServicesCallbacks.cs
- ConfigXmlDocument.cs
- OleDbConnectionInternal.cs
- ResXResourceWriter.cs
- Version.cs
- DebugView.cs
- OleAutBinder.cs
- DataServiceHostFactory.cs
- IResourceProvider.cs
- SequentialUshortCollection.cs
- NativeMethods.cs
- FormViewRow.cs
- Int32.cs
- QueryStringHandler.cs
- ComponentCollection.cs
- DispatcherFrame.cs
- UnsafeNativeMethods.cs
- Compiler.cs
- SystemResourceKey.cs
- TemplateComponentConnector.cs
- DbConnectionClosed.cs
- AuthorizationRule.cs
- FixUp.cs
- XsltQilFactory.cs
- EntityKey.cs
- XmlSchemaGroup.cs
- CodeCompileUnit.cs
- SqlDataSourceCustomCommandPanel.cs
- UnsafeNativeMethodsCLR.cs
- SqlCacheDependencyDatabaseCollection.cs
- RoutedEvent.cs
- SelectedDatesCollection.cs
- HttpResponseHeader.cs
- TranslateTransform.cs
- PhonemeEventArgs.cs
- DataGridRowEventArgs.cs
- RegisteredScript.cs
- SpStreamWrapper.cs
- XmlTypeAttribute.cs
- PageBreakRecord.cs
- sqlnorm.cs
- MinMaxParagraphWidth.cs
- TrackingMemoryStreamFactory.cs
- PropertyGroupDescription.cs
- WebColorConverter.cs
- CanExpandCollapseAllConverter.cs
- ContentFileHelper.cs
- ChannelManager.cs
- DocumentPageView.cs
- SliderAutomationPeer.cs
- DocumentReferenceCollection.cs
- _LocalDataStoreMgr.cs
- ExpressionQuoter.cs
- SqlReferenceCollection.cs
- SpecularMaterial.cs
- LinkedList.cs
- XamlPointCollectionSerializer.cs
- TableLayoutRowStyleCollection.cs
- ValueTypeFixupInfo.cs
- ConfigurationConverterBase.cs
- CreateUserWizard.cs
- HandlerBase.cs
- CachingParameterInspector.cs
- TransactionFormatter.cs
- MessageSecurityOverHttpElement.cs
- SpecularMaterial.cs
- MulticastNotSupportedException.cs
- DbException.cs
- ChangesetResponse.cs
- ConnectionStringSettings.cs
- EntityViewContainer.cs
- Part.cs
- GeneralTransform3DCollection.cs
- SetterTriggerConditionValueConverter.cs
- SimpleApplicationHost.cs
- TemplateParser.cs
- CultureTable.cs
- TableLayoutPanel.cs
- DeploymentSection.cs
- SuppressMessageAttribute.cs
- TrustSection.cs
- CanonicalFontFamilyReference.cs
- HtmlTableCell.cs
- RoutedPropertyChangedEventArgs.cs
- PersonalizationProvider.cs
- ErrorHandler.cs
- TextTreeTextNode.cs