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
- DigestTraceRecordHelper.cs
- ActivationArguments.cs
- ProjectionPathBuilder.cs
- DataGridViewColumnEventArgs.cs
- DataSet.cs
- BaseTemplateParser.cs
- XmlElementAttributes.cs
- ImageClickEventArgs.cs
- ApplicationManager.cs
- XmlEncodedRawTextWriter.cs
- ContextStaticAttribute.cs
- Model3DGroup.cs
- NumberFormatter.cs
- PenCursorManager.cs
- WebPartDisplayMode.cs
- DBConcurrencyException.cs
- BindingManagerDataErrorEventArgs.cs
- WebErrorHandler.cs
- ThousandthOfEmRealPoints.cs
- InvalidPrinterException.cs
- MenuDesigner.cs
- TreeNodeCollection.cs
- NameSpaceExtractor.cs
- TextSelectionProcessor.cs
- PrintingPermission.cs
- SpeechRecognizer.cs
- ResourceSet.cs
- ValidatedControlConverter.cs
- ConfigDefinitionUpdates.cs
- Size3DConverter.cs
- ITextView.cs
- WorkflowInstanceExtensionCollection.cs
- TextSpanModifier.cs
- MsmqInputMessagePool.cs
- TypeDescriptionProvider.cs
- CallbackValidatorAttribute.cs
- ByteFacetDescriptionElement.cs
- CharacterShapingProperties.cs
- MetadataItem.cs
- PasswordTextNavigator.cs
- StringFormat.cs
- InternalSafeNativeMethods.cs
- SafeMarshalContext.cs
- DrawingCollection.cs
- PerformanceCounterPermission.cs
- WindowsTreeView.cs
- _CookieModule.cs
- SqlStream.cs
- BitmapEffect.cs
- SecurityRuntime.cs
- SourceFilter.cs
- MatrixKeyFrameCollection.cs
- Expressions.cs
- BitmapEffectCollection.cs
- SimpleHandlerFactory.cs
- XmlNodeChangedEventArgs.cs
- LabelLiteral.cs
- GridViewHeaderRowPresenter.cs
- ContentOperations.cs
- NativeActivityFaultContext.cs
- OverflowException.cs
- AttributeInfo.cs
- ProviderCollection.cs
- VirtualPathData.cs
- EntityDataSource.cs
- StatusBarPanel.cs
- GridView.cs
- DataGridViewBand.cs
- SmiMetaData.cs
- COM2ExtendedBrowsingHandler.cs
- HTMLTagNameToTypeMapper.cs
- ImageCodecInfo.cs
- FontFamilyValueSerializer.cs
- WebPartHelpVerb.cs
- WebMessageEncoderFactory.cs
- ServiceReference.cs
- externdll.cs
- ReferentialConstraint.cs
- IsolatedStorageException.cs
- EmptyReadOnlyDictionaryInternal.cs
- TextRunCache.cs
- RuleAttributes.cs
- Enum.cs
- DeclaredTypeElement.cs
- PropertyInfoSet.cs
- XslAstAnalyzer.cs
- TemplateBaseAction.cs
- StringUtil.cs
- SecurityPermission.cs
- PerformanceCounterCategory.cs
- CultureInfoConverter.cs
- Int64KeyFrameCollection.cs
- WebPartManager.cs
- Accessors.cs
- SchemaCollectionCompiler.cs
- CanExecuteRoutedEventArgs.cs
- ChtmlTextWriter.cs
- DPCustomTypeDescriptor.cs
- HTMLTagNameToTypeMapper.cs
- CodeGeneratorOptions.cs