Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / AnimationClock.cs / 1305600 / 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
- ComEventsHelper.cs
- DispatcherExceptionFilterEventArgs.cs
- HostProtectionPermission.cs
- GraphicsPathIterator.cs
- MailMessageEventArgs.cs
- SessionParameter.cs
- WebPartsSection.cs
- ConfigurationPropertyCollection.cs
- CodeFieldReferenceExpression.cs
- CodeSnippetTypeMember.cs
- SynchronizationContext.cs
- ComponentResourceManager.cs
- TextRunCacheImp.cs
- OleDbMetaDataFactory.cs
- Point4D.cs
- SynchronizingStream.cs
- InteropEnvironment.cs
- MemoryPressure.cs
- VisemeEventArgs.cs
- Task.cs
- BitmapInitialize.cs
- DayRenderEvent.cs
- Delegate.cs
- SiteMap.cs
- UnorderedHashRepartitionStream.cs
- ForeignConstraint.cs
- ButtonFlatAdapter.cs
- ProfileProvider.cs
- DropSourceBehavior.cs
- MappingMetadataHelper.cs
- AnnotationService.cs
- QilXmlWriter.cs
- BasicExpressionVisitor.cs
- TokenFactoryCredential.cs
- MetafileHeaderEmf.cs
- InstanceCreationEditor.cs
- DispatcherExceptionFilterEventArgs.cs
- DoubleStorage.cs
- ConfigurationException.cs
- TreeSet.cs
- HttpApplicationFactory.cs
- DecimalAnimationBase.cs
- RoutedPropertyChangedEventArgs.cs
- EventHandlers.cs
- AttachedProperty.cs
- SystemIPInterfaceProperties.cs
- SyndicationDeserializer.cs
- OpCodes.cs
- Conditional.cs
- HostProtectionException.cs
- LinearQuaternionKeyFrame.cs
- DataGridColumnsPage.cs
- DiffuseMaterial.cs
- TemplateInstanceAttribute.cs
- TraceXPathNavigator.cs
- TextRangeAdaptor.cs
- SevenBitStream.cs
- ApplicationSettingsBase.cs
- InputScopeConverter.cs
- WebBrowserNavigatedEventHandler.cs
- HierarchicalDataSourceControl.cs
- DataGridAddNewRow.cs
- FontCacheUtil.cs
- RadioButton.cs
- MetadataCacheItem.cs
- SmiEventStream.cs
- EditorAttribute.cs
- WindowsListViewScroll.cs
- PeerContact.cs
- SqlUDTStorage.cs
- ViewManagerAttribute.cs
- CommonRemoteMemoryBlock.cs
- SqlWebEventProvider.cs
- ThicknessAnimation.cs
- Stack.cs
- TreeNodeEventArgs.cs
- NamedElement.cs
- KeyValueConfigurationElement.cs
- DataSourceSerializationException.cs
- FlowDocumentView.cs
- ComplexPropertyEntry.cs
- ListenerSingletonConnectionReader.cs
- ModuleElement.cs
- initElementDictionary.cs
- FixedSOMPageConstructor.cs
- IndentTextWriter.cs
- MultiView.cs
- ExtensionQuery.cs
- TypedTableGenerator.cs
- FragmentQuery.cs
- TransformedBitmap.cs
- LabelAutomationPeer.cs
- PrimitiveXmlSerializers.cs
- HierarchicalDataSourceControl.cs
- sqlnorm.cs
- EncoderReplacementFallback.cs
- TimeStampChecker.cs
- ConnectionStringSettingsCollection.cs
- ProgressiveCrcCalculatingStream.cs
- StandardToolWindows.cs