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
- ExtractorMetadata.cs
- NetworkInterface.cs
- AssemblyInfo.cs
- MaskPropertyEditor.cs
- JournalEntryStack.cs
- GeneralTransform3DTo2DTo3D.cs
- AsnEncodedData.cs
- PseudoWebRequest.cs
- NodeFunctions.cs
- ModelService.cs
- ApplicationHost.cs
- ListenerAdapter.cs
- Debug.cs
- DataGridColumnCollectionEditor.cs
- CaseInsensitiveHashCodeProvider.cs
- TransactionFilter.cs
- DataShape.cs
- DataViewListener.cs
- BitmapData.cs
- SQLResource.cs
- HMACMD5.cs
- PostBackTrigger.cs
- TextBox.cs
- ProtocolsConfigurationHandler.cs
- ConnectionStringSettingsCollection.cs
- ControlUtil.cs
- ProfileServiceManager.cs
- NameValuePermission.cs
- Slider.cs
- DesignTimeSiteMapProvider.cs
- EventLevel.cs
- SiteMap.cs
- ReadWriteObjectLock.cs
- HandleRef.cs
- FindCompletedEventArgs.cs
- FixedPageProcessor.cs
- DefaultDiscoveryService.cs
- FillBehavior.cs
- NativeMethods.cs
- AutoResetEvent.cs
- BitmapMetadataBlob.cs
- ScriptReferenceEventArgs.cs
- Activity.cs
- GroupBoxDesigner.cs
- Pen.cs
- SimpleLine.cs
- StateWorkerRequest.cs
- DataTableCollection.cs
- Cursor.cs
- RolePrincipal.cs
- KeyboardEventArgs.cs
- BitmapEffectInput.cs
- ListViewDataItem.cs
- TreeViewCancelEvent.cs
- DataGridLinkButton.cs
- ServicePointManager.cs
- ArrangedElementCollection.cs
- DeclarativeExpressionConditionDeclaration.cs
- User.cs
- InstanceContext.cs
- SiteMapDataSource.cs
- DataView.cs
- MemberCollection.cs
- MergablePropertyAttribute.cs
- MergeFailedEvent.cs
- ResolvedKeyFrameEntry.cs
- TableHeaderCell.cs
- ToolStrip.cs
- CodeCommentStatement.cs
- ProviderUtil.cs
- ObjectDataSourceView.cs
- ArrayHelper.cs
- PeerNameRecord.cs
- XmlNode.cs
- IPGlobalProperties.cs
- HwndKeyboardInputProvider.cs
- ListViewItem.cs
- NonBatchDirectoryCompiler.cs
- ServiceNotStartedException.cs
- AuthenticationServiceManager.cs
- ExpanderAutomationPeer.cs
- File.cs
- InheritanceService.cs
- CodeMethodInvokeExpression.cs
- VisualStyleRenderer.cs
- DrawingContextWalker.cs
- ObjectQueryExecutionPlan.cs
- HScrollProperties.cs
- StandardOleMarshalObject.cs
- GetReadStreamResult.cs
- RequiredFieldValidator.cs
- UseAttributeSetsAction.cs
- PageSetupDialog.cs
- HashJoinQueryOperatorEnumerator.cs
- EncodingNLS.cs
- ToolStripDropDownClosingEventArgs.cs
- HttpWriter.cs
- odbcmetadatacolumnnames.cs
- Size.cs
- ControlDesigner.cs