Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Media / Animation / SkipStoryboardToFill.cs / 1305600 / 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
- TemplateXamlParser.cs
- NavigationService.cs
- AnnouncementSendsAsyncResult.cs
- TypeElement.cs
- LabelLiteral.cs
- ResourceFallbackManager.cs
- ListViewItem.cs
- EventPrivateKey.cs
- CachedPathData.cs
- VirtualPathUtility.cs
- XmlSchemaGroupRef.cs
- RuleSettings.cs
- ObjectCloneHelper.cs
- ToolStripItemImageRenderEventArgs.cs
- FlowDocumentPaginator.cs
- ModelEditingScope.cs
- XmlUrlResolver.cs
- ScrollPattern.cs
- ContextMarshalException.cs
- ObjectQueryState.cs
- COM2TypeInfoProcessor.cs
- IgnoreFileBuildProvider.cs
- CompoundFileDeflateTransform.cs
- WebPartManagerInternals.cs
- TextContainerChangedEventArgs.cs
- SBCSCodePageEncoding.cs
- IRCollection.cs
- securitymgrsite.cs
- SelectingProviderEventArgs.cs
- XDeferredAxisSource.cs
- TextTreeExtractElementUndoUnit.cs
- DataControlLinkButton.cs
- EnumValAlphaComparer.cs
- NativeObjectSecurity.cs
- HeaderedItemsControl.cs
- WebService.cs
- Array.cs
- ExpressionConverter.cs
- SoapMessage.cs
- JpegBitmapEncoder.cs
- ElementNotAvailableException.cs
- TypeHelpers.cs
- FilterException.cs
- ProcessModuleDesigner.cs
- VoiceSynthesis.cs
- StylesEditorDialog.cs
- UnsafeNetInfoNativeMethods.cs
- FixedSOMTextRun.cs
- BitmapEffect.cs
- ChtmlSelectionListAdapter.cs
- SqlPersonalizationProvider.cs
- ProfilePropertySettingsCollection.cs
- SourceSwitch.cs
- SqlCrossApplyToCrossJoin.cs
- HtmlInputReset.cs
- ProxyManager.cs
- NotConverter.cs
- RequestCacheValidator.cs
- QueryOutputWriter.cs
- SqlParameter.cs
- GridViewEditEventArgs.cs
- CustomAssemblyResolver.cs
- DataException.cs
- ConfigurationException.cs
- X509Certificate2.cs
- ServiceObjectContainer.cs
- CodeTypeReferenceSerializer.cs
- SecUtil.cs
- FileDialogPermission.cs
- DynamicValueConverter.cs
- XsltContext.cs
- EntitySqlQueryState.cs
- LabelLiteral.cs
- TypeToken.cs
- UInt64Converter.cs
- TextLineResult.cs
- ReflectEventDescriptor.cs
- RoleGroup.cs
- ConnectionConsumerAttribute.cs
- Rotation3DAnimationBase.cs
- SqlGenericUtil.cs
- MethodBody.cs
- StructureChangedEventArgs.cs
- MethodCallTranslator.cs
- ImageListStreamer.cs
- Matrix.cs
- CatalogPartChrome.cs
- UIElementPropertyUndoUnit.cs
- SignedXml.cs
- OutputCacheModule.cs
- MetadataUtilsSmi.cs
- FontFaceLayoutInfo.cs
- JumpPath.cs
- Int32CollectionConverter.cs
- CustomCategoryAttribute.cs
- Stylus.cs
- SettingsPropertyCollection.cs
- XmlSchemaExporter.cs
- httpserverutility.cs
- ActivityExecutorSurrogate.cs