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
- SizeIndependentAnimationStorage.cs
- ObsoleteAttribute.cs
- WrappedIUnknown.cs
- DropShadowEffect.cs
- CodeValidator.cs
- AssociationTypeEmitter.cs
- InstanceCollisionException.cs
- TabletDevice.cs
- UpdateProgress.cs
- RectangleGeometry.cs
- BrushValueSerializer.cs
- mactripleDES.cs
- CollectionType.cs
- ColorAnimationBase.cs
- KnownColorTable.cs
- EditorPartCollection.cs
- TypeUtil.cs
- DynamicValidatorEventArgs.cs
- UrlMappingCollection.cs
- MatrixCamera.cs
- SerializationSectionGroup.cs
- InternalTypeHelper.cs
- FileChangeNotifier.cs
- DataPager.cs
- ChildTable.cs
- Array.cs
- ServerIdentity.cs
- XmlDesignerDataSourceView.cs
- Point3DCollection.cs
- AVElementHelper.cs
- ItemAutomationPeer.cs
- TrustLevelCollection.cs
- RegionData.cs
- TileBrush.cs
- DataGridHeaderBorder.cs
- precedingsibling.cs
- DistributedTransactionPermission.cs
- ComboBox.cs
- Trace.cs
- AnimationException.cs
- CompressedStack.cs
- WindowsStartMenu.cs
- UnicodeEncoding.cs
- OneOfScalarConst.cs
- UpnEndpointIdentityExtension.cs
- DataBindEngine.cs
- TileBrush.cs
- MailSettingsSection.cs
- BitArray.cs
- ViewValidator.cs
- XPathScanner.cs
- TraceSource.cs
- AppDomainInstanceProvider.cs
- BindingOperations.cs
- PerformanceCounterManager.cs
- MarkupCompilePass1.cs
- SettingsPropertyNotFoundException.cs
- NonParentingControl.cs
- InputScopeManager.cs
- StorageInfo.cs
- EntitySetRetriever.cs
- FormViewUpdatedEventArgs.cs
- ApplicationGesture.cs
- XmlWriterTraceListener.cs
- Sequence.cs
- InvalidWorkflowException.cs
- WebPartEditorCancelVerb.cs
- MenuTracker.cs
- CompiledQueryCacheEntry.cs
- ActiveXSite.cs
- DesignerAttributeInfo.cs
- WindowsRichEdit.cs
- CreateUserErrorEventArgs.cs
- ProfilePropertyMetadata.cs
- SmtpCommands.cs
- WindowsFormsLinkLabel.cs
- PositiveTimeSpanValidatorAttribute.cs
- ProviderMetadata.cs
- ImageList.cs
- BCryptHashAlgorithm.cs
- RedistVersionInfo.cs
- Mouse.cs
- FloaterParaClient.cs
- ByteStreamGeometryContext.cs
- Soap.cs
- DesignerActionListCollection.cs
- QilUnary.cs
- RIPEMD160.cs
- Annotation.cs
- RangeContentEnumerator.cs
- RC2.cs
- PrtTicket_Public_Simple.cs
- TargetParameterCountException.cs
- EditModeSwitchButton.cs
- SettingsPropertyIsReadOnlyException.cs
- ObjectSet.cs
- Interlocked.cs
- WindowProviderWrapper.cs
- EventMappingSettingsCollection.cs
- AccessibilityHelperForVista.cs