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
- UnaryNode.cs
- ServiceModelStringsVersion1.cs
- Configuration.cs
- ValidatorCompatibilityHelper.cs
- SqlDataSourceCustomCommandPanel.cs
- MergeFailedEvent.cs
- NullableIntMinMaxAggregationOperator.cs
- ListViewGroupConverter.cs
- PerformanceCountersElement.cs
- TreeNodeEventArgs.cs
- XmlSecureResolver.cs
- HyperLinkColumn.cs
- FileAuthorizationModule.cs
- LocatorBase.cs
- JoinElimination.cs
- KnownTypesHelper.cs
- SaveFileDialogDesigner.cs
- ColorTransform.cs
- EventPrivateKey.cs
- XmlTextReaderImpl.cs
- ColorDialog.cs
- FilterQueryOptionExpression.cs
- SettingsAttributes.cs
- Int32Storage.cs
- ControlPaint.cs
- ParserContext.cs
- QueryHandler.cs
- ManageRequest.cs
- RTLAwareMessageBox.cs
- MemberListBinding.cs
- WaitForChangedResult.cs
- QuaternionKeyFrameCollection.cs
- DBSqlParser.cs
- TraceXPathNavigator.cs
- AsymmetricCryptoHandle.cs
- RefreshPropertiesAttribute.cs
- TextElementEnumerator.cs
- WebPartEventArgs.cs
- BufferModeSettings.cs
- ScrollBar.cs
- LineProperties.cs
- DecodeHelper.cs
- CompilerWrapper.cs
- FixedSOMTextRun.cs
- LayoutEditorPart.cs
- PropagatorResult.cs
- XslVisitor.cs
- securitycriticaldata.cs
- FileDialogCustomPlaces.cs
- FrameworkContentElement.cs
- PhysicalOps.cs
- SystemNetworkInterface.cs
- UpDownEvent.cs
- TransactionWaitAsyncResult.cs
- XmlEncodedRawTextWriter.cs
- EmptyElement.cs
- WinFormsSecurity.cs
- TreeNodeBinding.cs
- SecurityProtocolCorrelationState.cs
- BitStream.cs
- SpeechAudioFormatInfo.cs
- DelimitedListTraceListener.cs
- SessionStateItemCollection.cs
- XmlBoundElement.cs
- ValidationResult.cs
- TrueReadOnlyCollection.cs
- InplaceBitmapMetadataWriter.cs
- KeyInstance.cs
- Parameter.cs
- SecurityManager.cs
- System.Data_BID.cs
- PageVisual.cs
- Label.cs
- Freezable.cs
- AppDomain.cs
- CreateRefExpr.cs
- SafeFindHandle.cs
- mansign.cs
- WorkflowControlEndpoint.cs
- WebExceptionStatus.cs
- HashRepartitionEnumerator.cs
- CodeTypeMember.cs
- EmptyStringExpandableObjectConverter.cs
- TrackingStringDictionary.cs
- BufferAllocator.cs
- EnvelopedSignatureTransform.cs
- DocumentApplicationJournalEntry.cs
- SrgsRuleRef.cs
- ControlAdapter.cs
- ProviderConnectionPointCollection.cs
- KeyPressEvent.cs
- Enum.cs
- FeatureSupport.cs
- SelectionManager.cs
- MdImport.cs
- ArithmeticException.cs
- RelationshipNavigation.cs
- ResourceManager.cs
- GridViewColumnHeaderAutomationPeer.cs
- CapabilitiesPattern.cs