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
- MachineKey.cs
- SafeCryptoHandles.cs
- HttpRawResponse.cs
- DoubleAnimationBase.cs
- connectionpool.cs
- GridViewUpdatedEventArgs.cs
- Compiler.cs
- ElementUtil.cs
- PermissionToken.cs
- ByteAnimationUsingKeyFrames.cs
- OdbcCommand.cs
- ConfigXmlComment.cs
- Thickness.cs
- TextBox.cs
- Int32Animation.cs
- FrameworkTextComposition.cs
- CodeActivity.cs
- X509ThumbprintKeyIdentifierClause.cs
- SourceElementsCollection.cs
- DataGridViewSortCompareEventArgs.cs
- ManagedIStream.cs
- ActivityDesignerAccessibleObject.cs
- RotateTransform.cs
- DateTimeConverter2.cs
- PreparingEnlistment.cs
- SafeProcessHandle.cs
- EventToken.cs
- SkipStoryboardToFill.cs
- StdValidatorsAndConverters.cs
- printdlgexmarshaler.cs
- XmlImplementation.cs
- RoleManagerSection.cs
- BitmapSource.cs
- DataProtection.cs
- EncryptedKey.cs
- XPathBuilder.cs
- DelayedRegex.cs
- MemoryStream.cs
- PhoneCall.cs
- CheckoutException.cs
- ProxyWebPartManager.cs
- BindStream.cs
- WebCategoryAttribute.cs
- DataSourceSerializationException.cs
- translator.cs
- HwndKeyboardInputProvider.cs
- ViewValidator.cs
- ValueExpressions.cs
- InputMethod.cs
- ConfigurationPermission.cs
- HttpModuleActionCollection.cs
- EtwProvider.cs
- GenericTextProperties.cs
- DateTimeStorage.cs
- RecognizedWordUnit.cs
- InkPresenter.cs
- CommandConverter.cs
- NativeMethods.cs
- MatrixAnimationUsingPath.cs
- BinaryFormatter.cs
- RefType.cs
- PrinterUnitConvert.cs
- DataControlPagerLinkButton.cs
- Utils.cs
- SecurityTokenRequirement.cs
- TraceListeners.cs
- Mouse.cs
- PathSegmentCollection.cs
- UpWmlMobileTextWriter.cs
- TypeCollectionPropertyEditor.cs
- ResourceManager.cs
- RadioButtonBaseAdapter.cs
- OracleSqlParser.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- MeasureItemEvent.cs
- HttpHeaderCollection.cs
- ClientRolePrincipal.cs
- CheckoutException.cs
- ConnectionManagementElement.cs
- SafeProcessHandle.cs
- PageAction.cs
- ProfileInfo.cs
- base64Transforms.cs
- NativeMethods.cs
- MinMaxParagraphWidth.cs
- ForeignConstraint.cs
- RotateTransform3D.cs
- BuiltInExpr.cs
- SurrogateEncoder.cs
- SqlClientMetaDataCollectionNames.cs
- ScriptControlManager.cs
- ApplicationId.cs
- FixUp.cs
- RawStylusInputCustomDataList.cs
- XmlSerializerNamespaces.cs
- BindValidator.cs
- IDReferencePropertyAttribute.cs
- ScriptReference.cs
- ArgIterator.cs
- EventLog.cs