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
- ValidateNames.cs
- RichTextBox.cs
- CngKey.cs
- SingleTagSectionHandler.cs
- PolyQuadraticBezierSegment.cs
- _HTTPDateParse.cs
- FileSystemWatcher.cs
- PolicyStatement.cs
- DataGridViewColumnConverter.cs
- WindowsAltTab.cs
- QueryCacheEntry.cs
- ColorConverter.cs
- RuleElement.cs
- UniqueIdentifierService.cs
- TreeSet.cs
- DataTable.cs
- ListViewHitTestInfo.cs
- MD5.cs
- ColorTransform.cs
- NavigationCommands.cs
- Attributes.cs
- Int64AnimationUsingKeyFrames.cs
- odbcmetadatacollectionnames.cs
- UnmanagedMemoryStreamWrapper.cs
- DefaultTypeArgumentAttribute.cs
- WorkflowItemsPresenter.cs
- DirectoryNotFoundException.cs
- MinimizableAttributeTypeConverter.cs
- StreamSecurityUpgradeProvider.cs
- Error.cs
- HttpCachePolicyElement.cs
- NativeActivityFaultContext.cs
- DataFormats.cs
- UrlAuthorizationModule.cs
- SafeNativeMethodsOther.cs
- FloatUtil.cs
- WebBrowserContainer.cs
- FacetDescription.cs
- QueryOutputWriter.cs
- Vector3DAnimationUsingKeyFrames.cs
- mansign.cs
- OleDbErrorCollection.cs
- Metadata.cs
- URLString.cs
- CodeObject.cs
- JsonQNameDataContract.cs
- WebService.cs
- SqlResolver.cs
- ButtonChrome.cs
- listitem.cs
- DocumentSequenceHighlightLayer.cs
- DiscoveryService.cs
- RepeaterItemEventArgs.cs
- EventWaitHandleSecurity.cs
- AuthStoreRoleProvider.cs
- ScriptResourceInfo.cs
- SqlAliasesReferenced.cs
- PagePropertiesChangingEventArgs.cs
- UInt16Storage.cs
- ReferencedCollectionType.cs
- ToolboxControl.cs
- MatrixUtil.cs
- XamlSerializerUtil.cs
- KnownIds.cs
- DataSourceDescriptorCollection.cs
- BinaryMessageFormatter.cs
- ButtonBase.cs
- EntityContainerEmitter.cs
- DigitalSignature.cs
- SoapObjectInfo.cs
- UserMapPath.cs
- WorkerProcess.cs
- WebPartZoneCollection.cs
- IpcChannel.cs
- XmlLanguageConverter.cs
- InputScope.cs
- HttpHandlersSection.cs
- TransactedBatchingBehavior.cs
- DivideByZeroException.cs
- ModelEditingScope.cs
- TableAutomationPeer.cs
- LinkButton.cs
- ResourceContainer.cs
- CharacterHit.cs
- validation.cs
- PropertyDescriptor.cs
- AudioException.cs
- Helpers.cs
- SapiAttributeParser.cs
- EventBuilder.cs
- ObjectPropertyMapping.cs
- ipaddressinformationcollection.cs
- ActionNotSupportedException.cs
- DataControlLinkButton.cs
- LoginView.cs
- SoapParser.cs
- ObjectViewQueryResultData.cs
- Utility.cs
- GetPageCompletedEventArgs.cs
- RowUpdatingEventArgs.cs