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
- UTF8Encoding.cs
- ScriptDescriptor.cs
- LineSegment.cs
- _CookieModule.cs
- PageThemeCodeDomTreeGenerator.cs
- DataGridViewCheckBoxCell.cs
- AxParameterData.cs
- SqlResolver.cs
- PolicyDesigner.cs
- DataGridSortCommandEventArgs.cs
- _LocalDataStoreMgr.cs
- TreeSet.cs
- VariableAction.cs
- DoubleLink.cs
- FormsAuthenticationEventArgs.cs
- BaseParser.cs
- followingquery.cs
- WinInetCache.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- XmlSchemaInclude.cs
- GeneralTransform3D.cs
- SynchronizedPool.cs
- ExpressionSelection.cs
- DataRelationCollection.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- QueryContinueDragEvent.cs
- GridViewRowEventArgs.cs
- ImageListImage.cs
- StringDictionaryCodeDomSerializer.cs
- SQLResource.cs
- assertwrapper.cs
- ContainerAction.cs
- PriorityQueue.cs
- NameGenerator.cs
- GridViewDeleteEventArgs.cs
- HttpCachePolicyBase.cs
- HtmlFormParameterReader.cs
- Decimal.cs
- URIFormatException.cs
- IndentedWriter.cs
- DrawingContextWalker.cs
- FontStretchConverter.cs
- DbConnectionClosed.cs
- FormViewInsertedEventArgs.cs
- Mappings.cs
- EntityPropertyMappingAttribute.cs
- MLangCodePageEncoding.cs
- DataGridViewAddColumnDialog.cs
- RestHandler.cs
- NameTable.cs
- HandlerFactoryCache.cs
- TableItemPattern.cs
- SafeThemeHandle.cs
- CodeIterationStatement.cs
- cache.cs
- ValueTypePropertyReference.cs
- QilGenerator.cs
- Exceptions.cs
- MetadataArtifactLoaderComposite.cs
- ButtonFlatAdapter.cs
- DataServiceQueryException.cs
- Visitor.cs
- SessionChannels.cs
- FileLevelControlBuilderAttribute.cs
- ActivityDesignerHelper.cs
- HttpInputStream.cs
- PerspectiveCamera.cs
- AtomMaterializer.cs
- WorkflowServiceNamespace.cs
- ProtocolProfile.cs
- BufferedWebEventProvider.cs
- PenThreadWorker.cs
- TimeStampChecker.cs
- SupportingTokenProviderSpecification.cs
- DrawingCollection.cs
- HostedImpersonationContext.cs
- ConnectionStringSettingsCollection.cs
- DataView.cs
- FacetChecker.cs
- CompilerGeneratedAttribute.cs
- MaterialGroup.cs
- RootBuilder.cs
- NonBatchDirectoryCompiler.cs
- ErrorStyle.cs
- SmiGettersStream.cs
- RadioButtonStandardAdapter.cs
- Pen.cs
- KnownBoxes.cs
- IntegerValidator.cs
- ConnectionStringEditor.cs
- PolyLineSegmentFigureLogic.cs
- MetadataUtilsSmi.cs
- StreamMarshaler.cs
- UnmanagedBitmapWrapper.cs
- CompletionProxy.cs
- SingleAnimationUsingKeyFrames.cs
- CollectionChangeEventArgs.cs
- SqlReferenceCollection.cs
- GregorianCalendarHelper.cs
- ViewCellRelation.cs