Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media / Animation / AnimationClock.cs / 1 / AnimationClock.cs
// AnimationClock.cs namespace System.Windows.Media.Animation { ////// /// public class AnimationClock : Clock { ////// Creates a new empty AnimationClock to be used in a Clock /// tree. /// /// The Animation used to define the new /// AnimationClock. protected internal AnimationClock(AnimationTimeline animation) : base(animation) { } ////// Gets the Animation object that holds the description controlling the /// behavior of this clock. /// ////// The Animation object that holds the description controlling the /// behavior of this clock. /// public new AnimationTimeline Timeline { get { return (AnimationTimeline)base.Timeline; } } ////// Returns the current value of this AnimationClock. /// /// /// The unanimated property value or the current /// value of the previous AnimationClock in a list. ///The current value of this AnimationClock. public object GetCurrentValue(object defaultOriginValue, object defaultDestinationValue) { return ((AnimationTimeline)base.Timeline).GetCurrentValue(defaultOriginValue, defaultDestinationValue, this); } ////// Returns true if this timeline needs continuous frames. /// This is a hint that we should keep updating our time during the active period. /// ///internal override bool NeedsTicksWhenActive { get { return true; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. // AnimationClock.cs namespace System.Windows.Media.Animation { /// /// /// public class AnimationClock : Clock { ////// Creates a new empty AnimationClock to be used in a Clock /// tree. /// /// The Animation used to define the new /// AnimationClock. protected internal AnimationClock(AnimationTimeline animation) : base(animation) { } ////// Gets the Animation object that holds the description controlling the /// behavior of this clock. /// ////// The Animation object that holds the description controlling the /// behavior of this clock. /// public new AnimationTimeline Timeline { get { return (AnimationTimeline)base.Timeline; } } ////// Returns the current value of this AnimationClock. /// /// /// The unanimated property value or the current /// value of the previous AnimationClock in a list. ///The current value of this AnimationClock. public object GetCurrentValue(object defaultOriginValue, object defaultDestinationValue) { return ((AnimationTimeline)base.Timeline).GetCurrentValue(defaultOriginValue, defaultDestinationValue, this); } ////// Returns true if this timeline needs continuous frames. /// This is a hint that we should keep updating our time during the active period. /// ///internal override bool NeedsTicksWhenActive { get { return true; } } } } // 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
- NotifyCollectionChangedEventArgs.cs
- ServicePointManagerElement.cs
- RangeValueProviderWrapper.cs
- JsonStringDataContract.cs
- sitestring.cs
- FileDialogPermission.cs
- UnSafeCharBuffer.cs
- ModuleConfigurationInfo.cs
- HandlerFactoryWrapper.cs
- ResourceDisplayNameAttribute.cs
- XmlSchemaInclude.cs
- StateManagedCollection.cs
- DependencyObjectPropertyDescriptor.cs
- KnownBoxes.cs
- StandardToolWindows.cs
- PrintingPermission.cs
- UserValidatedEventArgs.cs
- GenericTextProperties.cs
- DescendantQuery.cs
- WebSysDefaultValueAttribute.cs
- sqlmetadatafactory.cs
- ClaimTypeElement.cs
- ToolBarPanel.cs
- Tokenizer.cs
- SqlColumnizer.cs
- ResolveCompletedEventArgs.cs
- DBSchemaTable.cs
- CachedTypeface.cs
- Stacktrace.cs
- ScrollItemPattern.cs
- XmlSerializer.cs
- RequiredAttributeAttribute.cs
- ComboBox.cs
- DoWorkEventArgs.cs
- HotSpot.cs
- CurrencyManager.cs
- SpotLight.cs
- OdbcInfoMessageEvent.cs
- DbParameterCollection.cs
- WindowPattern.cs
- RootProfilePropertySettingsCollection.cs
- Rijndael.cs
- ProfileGroupSettingsCollection.cs
- TableChangeProcessor.cs
- ConfigurationStrings.cs
- SrgsNameValueTag.cs
- MultiDataTrigger.cs
- QueryPageSettingsEventArgs.cs
- SqlUserDefinedTypeAttribute.cs
- AlternationConverter.cs
- ConnectionPointCookie.cs
- RelatedImageListAttribute.cs
- XamlTypeWithExplicitNamespace.cs
- SqlClientFactory.cs
- ToolStripItemCollection.cs
- Console.cs
- TraceXPathNavigator.cs
- BulletDecorator.cs
- Message.cs
- CommandLineParser.cs
- PopupControlService.cs
- WebPartDisplayModeEventArgs.cs
- DictionaryEntry.cs
- InvalidCastException.cs
- ReachFixedPageSerializer.cs
- ConnectionPointCookie.cs
- HttpCacheParams.cs
- TypedReference.cs
- CallbackValidator.cs
- WebPartEditorOkVerb.cs
- CodeAssignStatement.cs
- XmlSecureResolver.cs
- StreamBodyWriter.cs
- InputProcessorProfilesLoader.cs
- SpecularMaterial.cs
- PagedDataSource.cs
- SwitchLevelAttribute.cs
- XslNumber.cs
- FormatSelectingMessageInspector.cs
- MailDefinitionBodyFileNameEditor.cs
- DrawingContextDrawingContextWalker.cs
- ExpressionBuilder.cs
- ValueTypeFixupInfo.cs
- AdPostCacheSubstitution.cs
- PagerSettings.cs
- TransformGroup.cs
- GestureRecognitionResult.cs
- AuthenticateEventArgs.cs
- AmbientProperties.cs
- SystemColorTracker.cs
- ThicknessConverter.cs
- EventLogLink.cs
- KeyGestureValueSerializer.cs
- SqlWorkflowPersistenceService.cs
- VersionPair.cs
- RectangleF.cs
- Native.cs
- input.cs
- LogArchiveSnapshot.cs
- WpfPayload.cs