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
- RightsManagementEncryptionTransform.cs
- WasHostedComPlusFactory.cs
- TransformCollection.cs
- TlsnegoTokenAuthenticator.cs
- DurationConverter.cs
- XPathDocument.cs
- DbExpressionBuilder.cs
- MenuItemStyleCollection.cs
- BaseCAMarshaler.cs
- UIntPtr.cs
- DeferredSelectedIndexReference.cs
- SqlDataSourceParameterParser.cs
- ClosableStream.cs
- RemotingConfiguration.cs
- DataColumnMappingCollection.cs
- EventLogPermissionEntry.cs
- ConsoleEntryPoint.cs
- TypeSystemProvider.cs
- HttpHandlersSection.cs
- VirtualPathUtility.cs
- WebPartPersonalization.cs
- CommonRemoteMemoryBlock.cs
- KeyEventArgs.cs
- FileUtil.cs
- PropertyItemInternal.cs
- DataGridViewTextBoxCell.cs
- EncryptedPackageFilter.cs
- CustomAttribute.cs
- StreamResourceInfo.cs
- RuntimeComponentFilter.cs
- SolidBrush.cs
- PropertyMapper.cs
- __Filters.cs
- IPHostEntry.cs
- ListViewGroupItemCollection.cs
- Event.cs
- IISMapPath.cs
- XmlBinaryReaderSession.cs
- WFItemsToSpacerVisibility.cs
- SessionIDManager.cs
- SchemaNamespaceManager.cs
- FunctionUpdateCommand.cs
- ViewCellSlot.cs
- GotoExpression.cs
- WindowsGraphics2.cs
- ToolStripContentPanel.cs
- UrlMapping.cs
- RowParagraph.cs
- MailSettingsSection.cs
- WebBrowserEvent.cs
- XmlChildNodes.cs
- RegexWriter.cs
- PowerStatus.cs
- RemotingAttributes.cs
- FormViewDeletedEventArgs.cs
- DropDownList.cs
- MessageQueuePermissionAttribute.cs
- IncomingWebResponseContext.cs
- TypeHelper.cs
- VersionPair.cs
- CallbackValidatorAttribute.cs
- LightweightCodeGenerator.cs
- SqlNotificationRequest.cs
- ClipboardProcessor.cs
- TextChange.cs
- GPPOINT.cs
- Hashtable.cs
- ThemeableAttribute.cs
- SingleTagSectionHandler.cs
- PointConverter.cs
- UserControlParser.cs
- XmlUnspecifiedAttribute.cs
- SoapDocumentServiceAttribute.cs
- XpsThumbnail.cs
- RedirectionProxy.cs
- ColumnCollection.cs
- SqlNotificationRequest.cs
- PeerApplicationLaunchInfo.cs
- HtmlControlPersistable.cs
- BitVec.cs
- TextEditorCopyPaste.cs
- EntityDataSourceWrapperCollection.cs
- nulltextcontainer.cs
- LoginView.cs
- Screen.cs
- SortQuery.cs
- RegisterInfo.cs
- UrlAuthorizationModule.cs
- ProxyWebPartManager.cs
- Cloud.cs
- TemplateBamlTreeBuilder.cs
- InputScope.cs
- QueryContext.cs
- WorkflowStateRollbackService.cs
- Invariant.cs
- CodeGen.cs
- XmlSubtreeReader.cs
- EntityContainerEntitySetDefiningQuery.cs
- SqlEnums.cs
- CodeLinePragma.cs