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
- RoutedEventConverter.cs
- ObjectQueryState.cs
- ConfigXmlElement.cs
- SqlDependencyUtils.cs
- DragEventArgs.cs
- LabelDesigner.cs
- DataGridRowsPresenter.cs
- ContextConfiguration.cs
- FixedTextContainer.cs
- InheritanceUI.cs
- CharEnumerator.cs
- LinkClickEvent.cs
- oledbmetadatacollectionnames.cs
- CheckBoxField.cs
- Rotation3DAnimationBase.cs
- StreamReader.cs
- DataTablePropertyDescriptor.cs
- ProvidersHelper.cs
- ScrollProviderWrapper.cs
- _ScatterGatherBuffers.cs
- GenericIdentity.cs
- MouseGesture.cs
- TimerElapsedEvenArgs.cs
- XamlUtilities.cs
- control.ime.cs
- SourceFileBuildProvider.cs
- ExpressionBindingCollection.cs
- XamlPoint3DCollectionSerializer.cs
- DesignTableCollection.cs
- ColumnWidthChangedEvent.cs
- CrossSiteScriptingValidation.cs
- ExtendedProtectionPolicyElement.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Debug.cs
- UIElementParaClient.cs
- LocationFactory.cs
- ComponentResourceKey.cs
- InputManager.cs
- QueryParameter.cs
- SqlException.cs
- ErrorWrapper.cs
- PageFunction.cs
- HintTextMaxWidthConverter.cs
- Decoder.cs
- ResourceDescriptionAttribute.cs
- SchemaElementDecl.cs
- Highlights.cs
- VersionedStream.cs
- SHA512.cs
- EnumValAlphaComparer.cs
- Mutex.cs
- HttpAsyncResult.cs
- EntityDataSourceStatementEditorForm.cs
- StorageMappingItemCollection.cs
- DrawingGroup.cs
- WebPartEditVerb.cs
- RewritingSimplifier.cs
- AutomationProperty.cs
- HttpHandlerAction.cs
- Typeface.cs
- DataTable.cs
- StringFreezingAttribute.cs
- Vector3D.cs
- BamlRecordReader.cs
- TablePattern.cs
- PageParserFilter.cs
- ColumnResult.cs
- EventLevel.cs
- ProtectedConfiguration.cs
- HtmlTitle.cs
- ConfigXmlAttribute.cs
- PropertyTab.cs
- SystemUdpStatistics.cs
- ValueCollectionParameterReader.cs
- ObjectDataSourceView.cs
- ToolBarTray.cs
- ContainerFilterService.cs
- SamlAssertion.cs
- IssuanceLicense.cs
- SessionStateUtil.cs
- XPathItem.cs
- DoubleAnimationClockResource.cs
- PageWrapper.cs
- IncrementalHitTester.cs
- InkCanvasAutomationPeer.cs
- Msec.cs
- StateDesigner.LayoutSelectionGlyph.cs
- Control.cs
- MailAddressParser.cs
- WindowsStatic.cs
- AppDomainFactory.cs
- TabControlCancelEvent.cs
- ScriptBehaviorDescriptor.cs
- XPathMultyIterator.cs
- KerberosSecurityTokenProvider.cs
- HtmlLink.cs
- LayoutEditorPart.cs
- DataGridViewCell.cs
- XmlHierarchicalDataSourceView.cs
- ThreadPool.cs