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
- ProcessHostServerConfig.cs
- ViewDesigner.cs
- MailWriter.cs
- RegexReplacement.cs
- CollectionExtensions.cs
- PackWebRequestFactory.cs
- BufferBuilder.cs
- NonParentingControl.cs
- XmlElementCollection.cs
- GeometryModel3D.cs
- MasterPage.cs
- SmtpMail.cs
- TextEditorSelection.cs
- ExtendedProtectionPolicy.cs
- FigureParagraph.cs
- WindowsFormsLinkLabel.cs
- FlowLayout.cs
- CryptoHelper.cs
- EFDataModelProvider.cs
- HTMLTextWriter.cs
- WebServiceData.cs
- WriteTimeStream.cs
- NumericExpr.cs
- TextElementEnumerator.cs
- GradientBrush.cs
- Hyperlink.cs
- DbConnectionInternal.cs
- ScopedMessagePartSpecification.cs
- Missing.cs
- TemplateField.cs
- FrameworkObject.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DataGridViewLayoutData.cs
- XmlEnumAttribute.cs
- ViewDesigner.cs
- XmlIlGenerator.cs
- RegistrySecurity.cs
- MimeParameter.cs
- ObjectListCommandsPage.cs
- PropertyValueChangedEvent.cs
- StringValidatorAttribute.cs
- SizeChangedEventArgs.cs
- BaseDataListPage.cs
- InputQueueChannelAcceptor.cs
- wgx_sdk_version.cs
- MailAddressCollection.cs
- DefaultValueAttribute.cs
- InputBinder.cs
- DBCSCodePageEncoding.cs
- MultiAsyncResult.cs
- JoinTreeNode.cs
- Popup.cs
- XmlQueryRuntime.cs
- DynamicMethod.cs
- X509Utils.cs
- BasicExpressionVisitor.cs
- RightsManagementInformation.cs
- SpecialFolderEnumConverter.cs
- Registry.cs
- DbConnectionFactory.cs
- ErrorWrapper.cs
- Stack.cs
- errorpatternmatcher.cs
- translator.cs
- RijndaelManaged.cs
- Parser.cs
- ExpiredSecurityTokenException.cs
- CodeTypeDeclarationCollection.cs
- Activator.cs
- ParallelTimeline.cs
- HtmlTitle.cs
- LocatorManager.cs
- BuildResultCache.cs
- TextContainer.cs
- Point3D.cs
- TabControlAutomationPeer.cs
- namescope.cs
- ArrangedElement.cs
- EntryWrittenEventArgs.cs
- typedescriptorpermissionattribute.cs
- ToolStripItemRenderEventArgs.cs
- DateTimeOffsetStorage.cs
- VSDExceptions.cs
- SafeProcessHandle.cs
- SoapWriter.cs
- HandleTable.cs
- CmsInterop.cs
- SimpleBitVector32.cs
- MessageBuffer.cs
- SqlAggregateChecker.cs
- _TransmitFileOverlappedAsyncResult.cs
- ProtectedConfiguration.cs
- DrawTreeNodeEventArgs.cs
- ConfigXmlCDataSection.cs
- VScrollProperties.cs
- CodeSnippetExpression.cs
- ExternalException.cs
- MasterPageBuildProvider.cs
- NameSpaceEvent.cs
- ValueProviderWrapper.cs