Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DeferrableContent.cs
- ConsoleEntryPoint.cs
- WhitespaceRuleLookup.cs
- Event.cs
- EnumUnknown.cs
- ListMarkerSourceInfo.cs
- tooltip.cs
- XmlCharacterData.cs
- SystemIPInterfaceProperties.cs
- OdbcHandle.cs
- FontConverter.cs
- MemberAssignmentAnalysis.cs
- JsonFormatReaderGenerator.cs
- LinqDataSourceInsertEventArgs.cs
- HttpListener.cs
- TypedAsyncResult.cs
- IdentitySection.cs
- OdbcConnection.cs
- SpnEndpointIdentity.cs
- GlyphTypeface.cs
- FacetChecker.cs
- RegexGroup.cs
- UnmanagedBitmapWrapper.cs
- templategroup.cs
- __Error.cs
- MissingMethodException.cs
- ProfilePropertyNameValidator.cs
- TraceSwitch.cs
- CompressedStack.cs
- ReferencedType.cs
- CFGGrammar.cs
- BindingsSection.cs
- PopOutPanel.cs
- basemetadatamappingvisitor.cs
- Cloud.cs
- BinaryMessageEncodingBindingElement.cs
- SimpleApplicationHost.cs
- VirtualDirectoryMappingCollection.cs
- ToolZone.cs
- PopOutPanel.cs
- BaseTemplateCodeDomTreeGenerator.cs
- UriSectionReader.cs
- XmlSchemaElement.cs
- SweepDirectionValidation.cs
- XmlNamespaceMappingCollection.cs
- Model3D.cs
- assemblycache.cs
- OSFeature.cs
- DateTimeParse.cs
- DefaultBindingPropertyAttribute.cs
- BitSet.cs
- CrossAppDomainChannel.cs
- SessionStateContainer.cs
- Int32CollectionValueSerializer.cs
- TypeToken.cs
- SafeThreadHandle.cs
- TemplateBindingExtensionConverter.cs
- HostVisual.cs
- SmtpFailedRecipientException.cs
- HtmlElement.cs
- ValidatorCompatibilityHelper.cs
- DesignerEditorPartChrome.cs
- SqlCommandBuilder.cs
- ResourceAssociationSet.cs
- NativeMethods.cs
- EventListener.cs
- WindowsFormsLinkLabel.cs
- SQLDouble.cs
- SpStreamWrapper.cs
- Utils.cs
- SocketAddress.cs
- WebPartTransformer.cs
- ControlPaint.cs
- OverloadGroupAttribute.cs
- DispatcherTimer.cs
- TemplatePropertyEntry.cs
- ObjectDataSourceSelectingEventArgs.cs
- ListBase.cs
- ipaddressinformationcollection.cs
- Stackframe.cs
- DataGridViewColumn.cs
- SqlAliaser.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- GrowingArray.cs
- CharacterString.cs
- EventWaitHandleSecurity.cs
- PeerCredential.cs
- Vector.cs
- SoapMessage.cs
- DecoderReplacementFallback.cs
- SqlReorderer.cs
- BitHelper.cs
- EFAssociationProvider.cs
- ASCIIEncoding.cs
- SByteConverter.cs
- SecurityKeyIdentifier.cs
- HuffCodec.cs
- MetaTable.cs
- RepeatBehaviorConverter.cs
- MobileUserControlDesigner.cs