Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Media / Animation / ResumeStoryboard.cs / 1 / ResumeStoryboard.cs
/****************************************************************************\ * * File: ResumeStoryboard.cs * * This object includes a Storyboard reference. When triggered, the Storyboard * resumes. * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using System.Diagnostics; // Debug.Assert namespace System.Windows.Media.Animation { ////// ResumeStoryboard will call resume on its Storyboard reference when /// it is triggered. /// public sealed class ResumeStoryboard : 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.Resume(containingFE); } else { storyboard.Resume(containingFCE); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /****************************************************************************\ * * File: ResumeStoryboard.cs * * This object includes a Storyboard reference. When triggered, the Storyboard * resumes. * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using System.Diagnostics; // Debug.Assert namespace System.Windows.Media.Animation { ////// ResumeStoryboard will call resume on its Storyboard reference when /// it is triggered. /// public sealed class ResumeStoryboard : 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.Resume(containingFE); } else { storyboard.Resume(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
- ClientSection.cs
- CurrencyManager.cs
- OleDbDataReader.cs
- HitTestParameters.cs
- PlatformCulture.cs
- BitmapEffectrendercontext.cs
- GroupBoxDesigner.cs
- ProtectedProviderSettings.cs
- Imaging.cs
- HtmlGenericControl.cs
- StringComparer.cs
- FlowDocumentReaderAutomationPeer.cs
- NativeMethods.cs
- IndexingContentUnit.cs
- BidOverLoads.cs
- GeneralTransform.cs
- Journaling.cs
- ExpressionBuilderCollection.cs
- CodeCommentStatementCollection.cs
- OdbcFactory.cs
- PathSegment.cs
- FtpRequestCacheValidator.cs
- AsnEncodedData.cs
- NativeObjectSecurity.cs
- ColorInterpolationModeValidation.cs
- XmlSchemaComplexContentExtension.cs
- Events.cs
- CollectionViewGroup.cs
- StatusBarPanelClickEvent.cs
- QueryResults.cs
- MetaModel.cs
- RuntimeEnvironment.cs
- LayoutEvent.cs
- StatusStrip.cs
- BitmapEditor.cs
- FontUnit.cs
- ObjectDataProvider.cs
- MetadataWorkspace.cs
- DataGridViewElement.cs
- EntityKeyElement.cs
- DesignerActionListCollection.cs
- CfgRule.cs
- WebConfigurationHostFileChange.cs
- ErrorHandler.cs
- MobileSysDescriptionAttribute.cs
- WorkflowWebHostingModule.cs
- AmbiguousMatchException.cs
- RuntimeConfigLKG.cs
- SeekableReadStream.cs
- FormViewRow.cs
- ToolboxBitmapAttribute.cs
- CalendarSelectionChangedEventArgs.cs
- WindowsListViewItemStartMenu.cs
- TriggerActionCollection.cs
- EmptyEnumerator.cs
- NativeMethods.cs
- ObjectQueryProvider.cs
- LogicalTreeHelper.cs
- HiddenField.cs
- DiagnosticEventProvider.cs
- querybuilder.cs
- ConditionBrowserDialog.cs
- EmptyTextWriter.cs
- SyndicationSerializer.cs
- TrustLevel.cs
- WMIGenerator.cs
- NamedObject.cs
- SoapFormatter.cs
- TypeConverter.cs
- IERequestCache.cs
- DurationConverter.cs
- ContainerVisual.cs
- CqlParserHelpers.cs
- SplitContainer.cs
- Rotation3DAnimationBase.cs
- FakeModelItemImpl.cs
- XPathNodeInfoAtom.cs
- BindingsCollection.cs
- DoubleKeyFrameCollection.cs
- CompiledRegexRunnerFactory.cs
- GroupStyle.cs
- PassportAuthenticationEventArgs.cs
- ColumnCollection.cs
- PrincipalPermission.cs
- HttpApplication.cs
- CodeArrayCreateExpression.cs
- SubqueryRules.cs
- XmlObjectSerializerWriteContextComplex.cs
- SessionIDManager.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ErrorFormatterPage.cs
- RepeaterItemCollection.cs
- HMACSHA256.cs
- WindowsListViewItemCheckBox.cs
- UriSectionReader.cs
- webbrowsersite.cs
- XmlStringTable.cs
- DropShadowBitmapEffect.cs
- ToggleButton.cs
- SystemInfo.cs