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
- PersistenceTypeAttribute.cs
- SettingsPropertyCollection.cs
- PrimitiveXmlSerializers.cs
- TextWriterEngine.cs
- PanelStyle.cs
- mediaeventshelper.cs
- EncodingDataItem.cs
- RectKeyFrameCollection.cs
- DeploymentSection.cs
- Point3DAnimation.cs
- ProfileEventArgs.cs
- FixedHyperLink.cs
- Point3D.cs
- HotSpot.cs
- CalendarDay.cs
- BamlReader.cs
- PagesChangedEventArgs.cs
- RelationshipManager.cs
- SharedPerformanceCounter.cs
- Identifier.cs
- ToggleButtonAutomationPeer.cs
- TCPClient.cs
- RuntimeHelpers.cs
- SendAgentStatusRequest.cs
- HtmlElementCollection.cs
- ControlCachePolicy.cs
- DiscardableAttribute.cs
- FormsAuthenticationConfiguration.cs
- SoapEnvelopeProcessingElement.cs
- GraphicsContext.cs
- Point4DConverter.cs
- DescendentsWalkerBase.cs
- ToolboxDataAttribute.cs
- SignedXml.cs
- HttpClientCertificate.cs
- EtwTrackingParticipant.cs
- PropertyChangingEventArgs.cs
- KeyValueSerializer.cs
- followingsibling.cs
- DocumentsTrace.cs
- GridViewUpdateEventArgs.cs
- CodeSubDirectoriesCollection.cs
- XamlFigureLengthSerializer.cs
- DataRowView.cs
- HwndStylusInputProvider.cs
- TriggerCollection.cs
- Decimal.cs
- ExpressionBuilderContext.cs
- PassportPrincipal.cs
- SqlTopReducer.cs
- WebPartMinimizeVerb.cs
- EditorAttributeInfo.cs
- UdpDuplexChannel.cs
- EncoderReplacementFallback.cs
- NameValueSectionHandler.cs
- SqlConnectionPoolProviderInfo.cs
- TransportSecurityProtocolFactory.cs
- InputLangChangeEvent.cs
- TextTreeInsertUndoUnit.cs
- WebBrowserHelper.cs
- wmiprovider.cs
- IncrementalHitTester.cs
- JapaneseLunisolarCalendar.cs
- PenLineCapValidation.cs
- HttpListenerTimeoutManager.cs
- ContextMenuService.cs
- NativeMethods.cs
- Comparer.cs
- StringArrayConverter.cs
- MemberHolder.cs
- WebUtil.cs
- DataGridColumnHeadersPresenter.cs
- PenContext.cs
- ExtendedProtectionPolicyElement.cs
- ActivityCodeDomReferenceService.cs
- HtmlShimManager.cs
- PartialList.cs
- Soap12FormatExtensions.cs
- PointHitTestResult.cs
- JumpList.cs
- datacache.cs
- SuppressMessageAttribute.cs
- PlainXmlWriter.cs
- SqlInternalConnection.cs
- SoapReflectionImporter.cs
- DataPagerCommandEventArgs.cs
- WebSysDefaultValueAttribute.cs
- SecurityKeyUsage.cs
- XmlObjectSerializerReadContextComplexJson.cs
- WorkflowServiceAttributes.cs
- Point3DCollection.cs
- OleDbRowUpdatingEvent.cs
- SQLBoolean.cs
- TypeUtils.cs
- LockCookie.cs
- ActiveXHost.cs
- handlecollector.cs
- ConfigXmlAttribute.cs
- GridViewEditEventArgs.cs
- EpmCustomContentSerializer.cs