Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DataServiceQueryException.cs
- StandardCommands.cs
- Tile.cs
- Solver.cs
- LogExtent.cs
- EntryPointNotFoundException.cs
- BindingContext.cs
- assertwrapper.cs
- Module.cs
- CatalogZone.cs
- DesignerImageAdapter.cs
- MgmtConfigurationRecord.cs
- AutomationFocusChangedEventArgs.cs
- CollectionViewGroupRoot.cs
- DataGridViewBand.cs
- HeaderLabel.cs
- XNodeNavigator.cs
- GuidConverter.cs
- HwndMouseInputProvider.cs
- WaitingCursor.cs
- HttpRuntimeSection.cs
- SafeBitVector32.cs
- PackUriHelper.cs
- SelectedDatesCollection.cs
- DataViewSetting.cs
- RawAppCommandInputReport.cs
- FormsAuthenticationModule.cs
- TextElementEnumerator.cs
- DataSvcMapFileSerializer.cs
- CodeIterationStatement.cs
- Animatable.cs
- TemplateBuilder.cs
- ProcessRequestArgs.cs
- SrgsOneOf.cs
- SynchronizationScope.cs
- AsyncStreamReader.cs
- UpdateRecord.cs
- Pointer.cs
- ResourceContainer.cs
- _OSSOCK.cs
- LinkButton.cs
- WrapPanel.cs
- DataControlFieldCollection.cs
- TypeSource.cs
- Pkcs7Signer.cs
- InvokePatternIdentifiers.cs
- ScriptModule.cs
- InstanceDescriptor.cs
- LogArchiveSnapshot.cs
- ResXBuildProvider.cs
- Menu.cs
- GeneralTransform3D.cs
- DocumentPaginator.cs
- StrongNameMembershipCondition.cs
- RouteParameter.cs
- PartialTrustValidationBehavior.cs
- RotateTransform3D.cs
- EventHandlerList.cs
- SmtpNtlmAuthenticationModule.cs
- ApplicationDirectory.cs
- UrlPropertyAttribute.cs
- TableCellAutomationPeer.cs
- Automation.cs
- BindStream.cs
- Type.cs
- LineMetrics.cs
- XmlSchemaParticle.cs
- srgsitem.cs
- figurelength.cs
- MaterialGroup.cs
- DataGridSortCommandEventArgs.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- InitializingNewItemEventArgs.cs
- PrePrepareMethodAttribute.cs
- ProgressBarHighlightConverter.cs
- DSACryptoServiceProvider.cs
- Italic.cs
- Stack.cs
- SystemNetworkInterface.cs
- SimpleTextLine.cs
- BinaryVersion.cs
- _emptywebproxy.cs
- Geometry.cs
- RelativeSource.cs
- UnaryNode.cs
- QuaternionAnimation.cs
- Documentation.cs
- AnyReturnReader.cs
- HtmlElementCollection.cs
- MsmqIntegrationMessagePool.cs
- IsolatedStorage.cs
- WizardPanel.cs
- EUCJPEncoding.cs
- Color.cs
- TypeBuilder.cs
- RequestCachingSection.cs
- DefaultAsyncDataDispatcher.cs
- Annotation.cs
- PnrpPermission.cs
- SourceSwitch.cs