Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ExtentCqlBlock.cs
- FrameworkElement.cs
- FunctionImportElement.cs
- DependencyPropertyAttribute.cs
- SettingsPropertyNotFoundException.cs
- OdbcFactory.cs
- FloatUtil.cs
- _UriSyntax.cs
- CallInfo.cs
- InternalConfigSettingsFactory.cs
- EventSinkHelperWriter.cs
- EmissiveMaterial.cs
- WebPartAuthorizationEventArgs.cs
- MultipleViewPatternIdentifiers.cs
- AssemblyAttributesGoHere.cs
- TcpTransportBindingElement.cs
- CacheMemory.cs
- WindowsFormsEditorServiceHelper.cs
- SponsorHelper.cs
- FullTextState.cs
- SafeNativeMethodsMilCoreApi.cs
- StyleHelper.cs
- PersonalizationProviderHelper.cs
- PropertyManager.cs
- StorageEndPropertyMapping.cs
- ProcessHostConfigUtils.cs
- CodeArrayCreateExpression.cs
- UmAlQuraCalendar.cs
- Rule.cs
- FontSource.cs
- AsyncWaitHandle.cs
- WebResponse.cs
- DispatcherTimer.cs
- validationstate.cs
- ContextDataSource.cs
- ViewKeyConstraint.cs
- IndependentlyAnimatedPropertyMetadata.cs
- StateMachineWorkflowDesigner.cs
- UpdateTracker.cs
- ScrollChrome.cs
- ProcessThreadCollection.cs
- XmlAttributeOverrides.cs
- DeviceSpecificDialogCachedState.cs
- UnSafeCharBuffer.cs
- SqlComparer.cs
- CompensateDesigner.cs
- XamlTemplateSerializer.cs
- ControlCollection.cs
- ContextConfiguration.cs
- httpapplicationstate.cs
- RequestCacheValidator.cs
- SizeChangedInfo.cs
- DataGridLengthConverter.cs
- HScrollBar.cs
- StringFreezingAttribute.cs
- GridToolTip.cs
- MachineKeySection.cs
- Brush.cs
- EventRoute.cs
- ObjectListShowCommandsEventArgs.cs
- StreamUpgradeBindingElement.cs
- CacheEntry.cs
- XmlNode.cs
- DiagnosticsConfigurationHandler.cs
- InternalBufferManager.cs
- SynchronizedDispatch.cs
- TextServicesManager.cs
- ListViewSelectEventArgs.cs
- XPathSelectionIterator.cs
- DataGridViewBindingCompleteEventArgs.cs
- BufferBuilder.cs
- PermissionRequestEvidence.cs
- COSERVERINFO.cs
- DependencyObjectType.cs
- ProtocolsConfigurationEntry.cs
- HorizontalAlignConverter.cs
- CqlQuery.cs
- EntityContainerEmitter.cs
- ConstraintCollection.cs
- DbParameterCollectionHelper.cs
- StorageEntityTypeMapping.cs
- EntityCollection.cs
- DesignerProperties.cs
- MatrixConverter.cs
- SolidColorBrush.cs
- FixedTextContainer.cs
- StrokeDescriptor.cs
- XamlStream.cs
- HttpListener.cs
- MetadataSource.cs
- SafeFileMappingHandle.cs
- SafeBitVector32.cs
- LinqDataSource.cs
- ContentElement.cs
- ContainerParaClient.cs
- PageThemeCodeDomTreeGenerator.cs
- Section.cs
- WindowCollection.cs
- ManipulationStartingEventArgs.cs
- NetworkStream.cs