Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ConfigurationElementProperty.cs
- ListMarkerLine.cs
- AuthorizationSection.cs
- UIElementIsland.cs
- MimeMapping.cs
- WindowsFormsLinkLabel.cs
- VScrollBar.cs
- SelectionService.cs
- FormattedText.cs
- ToolStrip.cs
- Panel.cs
- LinkedList.cs
- DataViewListener.cs
- ToolStripArrowRenderEventArgs.cs
- basecomparevalidator.cs
- XmlSchemaObject.cs
- OutputCacheModule.cs
- InkCanvasSelection.cs
- StorageMappingFragment.cs
- WebHttpEndpointElement.cs
- MetaDataInfo.cs
- TreeNodeStyle.cs
- CatalogPart.cs
- PropertyGridView.cs
- DeviceSpecificChoice.cs
- DiscoveryMessageSequence.cs
- LoadedEvent.cs
- BitmapScalingModeValidation.cs
- EnumerableValidator.cs
- ScrollBar.cs
- DBSqlParserColumnCollection.cs
- DataSourceCacheDurationConverter.cs
- OutputCacheSettingsSection.cs
- CalloutQueueItem.cs
- FormsAuthenticationCredentials.cs
- StylusPointPropertyInfoDefaults.cs
- mediaeventargs.cs
- SimpleHandlerBuildProvider.cs
- HttpPostProtocolImporter.cs
- TrackingStringDictionary.cs
- CacheSection.cs
- StrongName.cs
- BehaviorEditorPart.cs
- CodeAttributeDeclaration.cs
- ConversionContext.cs
- ProcessThread.cs
- EventDescriptor.cs
- BeginStoryboard.cs
- IndexingContentUnit.cs
- filewebresponse.cs
- FunctionCommandText.cs
- CompilerHelpers.cs
- XmlSchemaSimpleTypeRestriction.cs
- StringToken.cs
- BufferBuilder.cs
- AssemblyBuilder.cs
- ILGenerator.cs
- EndpointBehaviorElement.cs
- XmlLoader.cs
- WebCodeGenerator.cs
- IISMapPath.cs
- SafeThemeHandle.cs
- RegisteredScript.cs
- ProcessModelSection.cs
- EntityAdapter.cs
- CompilerTypeWithParams.cs
- _LocalDataStoreMgr.cs
- LinkedList.cs
- TreeNodeStyle.cs
- IMembershipProvider.cs
- StrongTypingException.cs
- Material.cs
- GridViewColumnHeader.cs
- DbProviderSpecificTypePropertyAttribute.cs
- _Connection.cs
- SdlChannelSink.cs
- hebrewshape.cs
- Token.cs
- ReachDocumentReferenceCollectionSerializer.cs
- HWStack.cs
- EmptyImpersonationContext.cs
- SwitchDesigner.xaml.cs
- HtmlTable.cs
- XmlSchemaIdentityConstraint.cs
- PropertyOverridesDialog.cs
- UxThemeWrapper.cs
- LambdaCompiler.ControlFlow.cs
- MissingSatelliteAssemblyException.cs
- PageThemeCodeDomTreeGenerator.cs
- ParserOptions.cs
- WebPartEventArgs.cs
- ScriptControlManager.cs
- WinFormsUtils.cs
- Visual3DCollection.cs
- EdmScalarPropertyAttribute.cs
- Exceptions.cs
- WebPartsPersonalization.cs
- SchemaNotation.cs
- XamlRtfConverter.cs
- SupportsEventValidationAttribute.cs