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
- SynchronizationLockException.cs
- GenericPrincipal.cs
- SessionParameter.cs
- DelegateSerializationHolder.cs
- WorkItem.cs
- ProxyHelper.cs
- ProviderConnectionPointCollection.cs
- XsltLibrary.cs
- ComponentEditorPage.cs
- SQLBoolean.cs
- IChannel.cs
- Vector.cs
- AxHost.cs
- XmlDataDocument.cs
- EncoderParameters.cs
- PassportPrincipal.cs
- dbenumerator.cs
- SqlDataSourceConnectionPanel.cs
- XmlDictionaryReaderQuotas.cs
- SqlMethodCallConverter.cs
- NavigationHelper.cs
- WebBaseEventKeyComparer.cs
- ConfigurationElementCollection.cs
- ByteStreamGeometryContext.cs
- FileDialog.cs
- EntityTransaction.cs
- ByteStreamGeometryContext.cs
- ExecutionContext.cs
- ProfileModule.cs
- MarginCollapsingState.cs
- DataGridViewControlCollection.cs
- LinkLabel.cs
- Root.cs
- PriorityQueue.cs
- QilDataSource.cs
- RegexRunner.cs
- recordstate.cs
- SqlTypeConverter.cs
- CodeTypeReferenceSerializer.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- HttpDictionary.cs
- KeyValuePairs.cs
- PatternMatcher.cs
- SubpageParaClient.cs
- Calendar.cs
- DataGridComponentEditor.cs
- InputScopeConverter.cs
- EntityDataSourceDataSelection.cs
- DataGridColumnHeader.cs
- ImageConverter.cs
- SByteConverter.cs
- ZipIOExtraFieldPaddingElement.cs
- DataObject.cs
- CompilerScopeManager.cs
- DependencyPropertyValueSerializer.cs
- PerformanceCounterPermissionAttribute.cs
- PathFigureCollection.cs
- CodeDelegateCreateExpression.cs
- Resources.Designer.cs
- TreeNodeStyle.cs
- ManipulationStartingEventArgs.cs
- ValidationResults.cs
- AdRotator.cs
- MenuAutomationPeer.cs
- XmlCodeExporter.cs
- ShortcutKeysEditor.cs
- ColumnResult.cs
- ExceptionTrace.cs
- CharAnimationBase.cs
- ImageMetadata.cs
- XmlTextReaderImplHelpers.cs
- ScriptingProfileServiceSection.cs
- ListMarkerLine.cs
- Separator.cs
- ProfileSettings.cs
- ShaderEffect.cs
- ColumnHeaderConverter.cs
- FormDocumentDesigner.cs
- _LazyAsyncResult.cs
- JavaScriptString.cs
- PseudoWebRequest.cs
- DataGridRowEventArgs.cs
- Stream.cs
- SqlDataSourceCustomCommandPanel.cs
- RuleSetDialog.Designer.cs
- SoapAttributes.cs
- DefaultObjectMappingItemCollection.cs
- EncoderBestFitFallback.cs
- OptionalMessageQuery.cs
- ClientTargetSection.cs
- PersistenceException.cs
- CodeLinePragma.cs
- TextSyndicationContent.cs
- PeerEndPoint.cs
- CustomErrorCollection.cs
- Rotation3DAnimation.cs
- AncillaryOps.cs
- RIPEMD160.cs
- MobileResource.cs
- ToolboxComponentsCreatedEventArgs.cs