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
- SoundPlayer.cs
- PassportAuthenticationModule.cs
- StringBlob.cs
- Transform.cs
- ListBoxItemWrapperAutomationPeer.cs
- ColorTransformHelper.cs
- TypeSystem.cs
- IgnoreFlushAndCloseStream.cs
- ToggleButtonAutomationPeer.cs
- LabelAutomationPeer.cs
- MeshGeometry3D.cs
- ItemMap.cs
- CheckBox.cs
- SimpleTypesSurrogate.cs
- SparseMemoryStream.cs
- RemotingConfiguration.cs
- DBBindings.cs
- StringHandle.cs
- ClientScriptManagerWrapper.cs
- PropertyGridEditorPart.cs
- Predicate.cs
- SqlRetyper.cs
- XamlSerializerUtil.cs
- TagPrefixCollection.cs
- Missing.cs
- XmlRawWriter.cs
- GridViewCellAutomationPeer.cs
- StringSorter.cs
- XmlSerializerVersionAttribute.cs
- SimpleWorkerRequest.cs
- CodeNamespaceImportCollection.cs
- TextProperties.cs
- MultipartContentParser.cs
- DataGridViewRowCollection.cs
- Polyline.cs
- TypeForwardedToAttribute.cs
- BinarySerializer.cs
- Debug.cs
- AggregateNode.cs
- FormCollection.cs
- TimelineGroup.cs
- DateBoldEvent.cs
- infer.cs
- JpegBitmapEncoder.cs
- PersonalizationState.cs
- IxmlLineInfo.cs
- MimeParameter.cs
- SerialStream.cs
- SeparatorAutomationPeer.cs
- CounterCreationData.cs
- EntityDataSourceView.cs
- CacheAxisQuery.cs
- XmlWriterDelegator.cs
- InkCanvasInnerCanvas.cs
- SqlCommand.cs
- LOSFormatter.cs
- DbBuffer.cs
- EncoderExceptionFallback.cs
- Quaternion.cs
- DecoderExceptionFallback.cs
- NumberFormatInfo.cs
- GeneralTransform3DGroup.cs
- SRDisplayNameAttribute.cs
- AutomationPropertyChangedEventArgs.cs
- DbDataRecord.cs
- ProviderBase.cs
- ActivityWithResultConverter.cs
- AuthenticationConfig.cs
- XmlEncodedRawTextWriter.cs
- TCEAdapterGenerator.cs
- WinFormsSecurity.cs
- PingReply.cs
- SqlReferenceCollection.cs
- RegisteredDisposeScript.cs
- ClientEndpointLoader.cs
- ContentFilePart.cs
- ClickablePoint.cs
- GridViewRowEventArgs.cs
- ServicePerformanceCounters.cs
- WorkflowInstance.cs
- BufferAllocator.cs
- TimeSpan.cs
- InkPresenter.cs
- HttpResponseHeader.cs
- QueryOperationResponseOfT.cs
- _ProxyRegBlob.cs
- MetadataSource.cs
- StaticSiteMapProvider.cs
- ContentValidator.cs
- webbrowsersite.cs
- SinglePageViewer.cs
- ExpressionPrinter.cs
- Image.cs
- HttpStreamMessage.cs
- MasterPage.cs
- DataControlPagerLinkButton.cs
- Empty.cs
- DragDeltaEventArgs.cs
- ValidatedControlConverter.cs
- SwitchExpression.cs