Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- UnknownWrapper.cs
- AutomationProperties.cs
- ResourceSetExpression.cs
- AssemblyBuilder.cs
- SafeCloseHandleCritical.cs
- ActivityLocationReferenceEnvironment.cs
- SkipStoryboardToFill.cs
- XmlEntity.cs
- QilLoop.cs
- followingquery.cs
- COAUTHIDENTITY.cs
- HttpModulesInstallComponent.cs
- InnerItemCollectionView.cs
- invalidudtexception.cs
- PassportAuthentication.cs
- XmlSchema.cs
- TdsParameterSetter.cs
- DataTableClearEvent.cs
- WebPartDisplayModeCancelEventArgs.cs
- _LocalDataStore.cs
- ResizeBehavior.cs
- MethodBody.cs
- SQLString.cs
- SuppressIldasmAttribute.cs
- SmuggledIUnknown.cs
- DataRecord.cs
- OleDbDataReader.cs
- EDesignUtil.cs
- MsmqAppDomainProtocolHandler.cs
- IndependentlyAnimatedPropertyMetadata.cs
- TraversalRequest.cs
- XmlSchemaSimpleTypeRestriction.cs
- AutoScrollHelper.cs
- WebFaultClientMessageInspector.cs
- DataListCommandEventArgs.cs
- TraceInternal.cs
- WindowsRegion.cs
- RuleProcessor.cs
- MetadataCache.cs
- Vector3DCollectionValueSerializer.cs
- Point.cs
- DBDataPermission.cs
- DbBuffer.cs
- SqlPersonalizationProvider.cs
- IdentityModelDictionary.cs
- ValueUtilsSmi.cs
- ColorContext.cs
- Facet.cs
- GroupStyle.cs
- SecurityCriticalDataForSet.cs
- SynchronizedDispatch.cs
- CalculatedColumn.cs
- Exceptions.cs
- StateMachine.cs
- SoundPlayer.cs
- WebServiceAttribute.cs
- ThumbAutomationPeer.cs
- DataGridViewSelectedColumnCollection.cs
- HtmlInputReset.cs
- UnsafeNativeMethods.cs
- ObjectDataSourceStatusEventArgs.cs
- GZipStream.cs
- BookmarkNameHelper.cs
- CompiledQuery.cs
- TabControlAutomationPeer.cs
- BaseInfoTable.cs
- Panel.cs
- NodeInfo.cs
- SqlDataSourceCommandEventArgs.cs
- CompositeScriptReference.cs
- DoubleAnimationBase.cs
- AttributeUsageAttribute.cs
- ScriptingProfileServiceSection.cs
- HMACSHA384.cs
- OleDbSchemaGuid.cs
- ButtonColumn.cs
- XmlExtensionFunction.cs
- PropertyGridEditorPart.cs
- BindingSource.cs
- BaseProcessor.cs
- BaseParagraph.cs
- ConfigXmlAttribute.cs
- PolicyLevel.cs
- MimeXmlImporter.cs
- SqlException.cs
- objectresult_tresulttype.cs
- CommandValueSerializer.cs
- SoapServerMethod.cs
- SqlTriggerContext.cs
- GifBitmapDecoder.cs
- UITypeEditor.cs
- FormViewPageEventArgs.cs
- UTF7Encoding.cs
- TypeContext.cs
- XmlSchemaImporter.cs
- DataSetUtil.cs
- IEnumerable.cs
- ClassHandlersStore.cs
- KeyBinding.cs
- InkSerializer.cs