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
- OdbcHandle.cs
- NullNotAllowedCollection.cs
- WebRequestModuleElement.cs
- ContentElement.cs
- CharAnimationBase.cs
- FrameworkElement.cs
- KnowledgeBase.cs
- TransformValueSerializer.cs
- AstNode.cs
- DataGridViewCellStyle.cs
- WindowsNonControl.cs
- XmlSchemaGroupRef.cs
- PageThemeParser.cs
- LinkClickEvent.cs
- DateTimeParse.cs
- TemplateInstanceAttribute.cs
- TypeToken.cs
- CodeDelegateInvokeExpression.cs
- CustomSignedXml.cs
- CompilerGeneratedAttribute.cs
- CachedFontFamily.cs
- WindowsPen.cs
- _ListenerRequestStream.cs
- Ref.cs
- StyleCollection.cs
- XmlSerializableServices.cs
- ModulesEntry.cs
- CodeGeneratorOptions.cs
- Grid.cs
- OutgoingWebRequestContext.cs
- ComponentEvent.cs
- LabelDesigner.cs
- GenericTextProperties.cs
- _BasicClient.cs
- InvokeMethodActivity.cs
- Main.cs
- Attribute.cs
- MetaTable.cs
- GlobalizationAssembly.cs
- ChameleonKey.cs
- NavigationExpr.cs
- SqlInternalConnectionSmi.cs
- OleDbSchemaGuid.cs
- WrappingXamlSchemaContext.cs
- SqlServer2KCompatibilityCheck.cs
- TextLineResult.cs
- TouchesCapturedWithinProperty.cs
- TemplatePagerField.cs
- DataSourceControlBuilder.cs
- dsa.cs
- GenerateScriptTypeAttribute.cs
- FullTextLine.cs
- PauseStoryboard.cs
- ThreadExceptionDialog.cs
- TextEditorThreadLocalStore.cs
- Axis.cs
- JsonSerializer.cs
- SiteMapNodeCollection.cs
- DictionarySectionHandler.cs
- ApplicationSettingsBase.cs
- TableChangeProcessor.cs
- DirectoryGroupQuery.cs
- ListBox.cs
- SpeakInfo.cs
- X509CertificateTrustedIssuerElement.cs
- HttpContextWrapper.cs
- ConfigurationPropertyAttribute.cs
- DataGridRow.cs
- SrgsSubset.cs
- OptimizedTemplateContent.cs
- ExecutionContext.cs
- AdornedElementPlaceholder.cs
- RectConverter.cs
- EnterpriseServicesHelper.cs
- ToolStripDropDownItem.cs
- DetailsViewModeEventArgs.cs
- SafeRightsManagementPubHandle.cs
- SeekStoryboard.cs
- ContextMenuService.cs
- SelectionItemPattern.cs
- WebPartMinimizeVerb.cs
- DataGridViewEditingControlShowingEventArgs.cs
- SQLDecimal.cs
- SoapSchemaImporter.cs
- QuotedPairReader.cs
- InkCanvasSelectionAdorner.cs
- SQLDouble.cs
- CommandValueSerializer.cs
- SizeAnimationBase.cs
- DataProtection.cs
- CodeArgumentReferenceExpression.cs
- XmlTextWriter.cs
- ToolStripPanelRow.cs
- CacheAxisQuery.cs
- ToolStripLocationCancelEventArgs.cs
- LowerCaseStringConverter.cs
- DocumentXmlWriter.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- BasicHttpBindingElement.cs
- HtmlTableCellCollection.cs