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
- SessionParameter.cs
- HttpHostedTransportConfiguration.cs
- TableAutomationPeer.cs
- LabelEditEvent.cs
- PropertyTabAttribute.cs
- SafeFileHandle.cs
- TemplateColumn.cs
- FormsAuthenticationUserCollection.cs
- FamilyCollection.cs
- FormattedText.cs
- SubMenuStyle.cs
- WorkflowRuntimeServiceElement.cs
- PixelFormatConverter.cs
- DataGridPagingPage.cs
- Processor.cs
- HttpResponse.cs
- BinaryUtilClasses.cs
- Content.cs
- PropertyItemInternal.cs
- ECDiffieHellmanCng.cs
- SystemIPGlobalProperties.cs
- ToolboxItemImageConverter.cs
- mediapermission.cs
- SmiMetaDataProperty.cs
- ECDsa.cs
- Byte.cs
- Grant.cs
- SchemaType.cs
- ViewStateException.cs
- ObjectDataSourceMethodEditor.cs
- SessionStateContainer.cs
- sqlpipe.cs
- QilScopedVisitor.cs
- EncodingDataItem.cs
- ExceptionWrapper.cs
- DataControlField.cs
- EndpointPerformanceCounters.cs
- BCLDebug.cs
- GlyphInfoList.cs
- PeekCompletedEventArgs.cs
- XsltLibrary.cs
- MessageFormatterConverter.cs
- ReadOnlyHierarchicalDataSourceView.cs
- StoreItemCollection.Loader.cs
- NegatedConstant.cs
- StoreAnnotationsMap.cs
- WorkflowViewElement.cs
- MemoryFailPoint.cs
- MdiWindowListItemConverter.cs
- CopyOnWriteList.cs
- WorkflowCreationContext.cs
- MetadataSource.cs
- ContentDesigner.cs
- InitializingNewItemEventArgs.cs
- AutoResetEvent.cs
- BaseContextMenu.cs
- FileIOPermission.cs
- Transform3D.cs
- DefaultTextStoreTextComposition.cs
- WebRequestModulesSection.cs
- TextStore.cs
- ClientSponsor.cs
- ButtonField.cs
- SortKey.cs
- WindowsRichEdit.cs
- CuspData.cs
- Pair.cs
- WindowsAuthenticationModule.cs
- XmlResolver.cs
- WindowsAuthenticationEventArgs.cs
- hresults.cs
- InvalidCardException.cs
- CodeVariableReferenceExpression.cs
- OdbcConnectionFactory.cs
- BitmapEffectDrawingContextState.cs
- Screen.cs
- SignedXml.cs
- MetadataUtilsSmi.cs
- HelpProvider.cs
- DesignTimeDataBinding.cs
- ComIntegrationManifestGenerator.cs
- OdbcEnvironmentHandle.cs
- TransformerConfigurationWizardBase.cs
- FragmentNavigationEventArgs.cs
- MarginsConverter.cs
- AppSettingsExpressionBuilder.cs
- MailDefinition.cs
- ValueChangedEventManager.cs
- DbDataRecord.cs
- BamlLocalizationDictionary.cs
- ValidationError.cs
- XmlNodeComparer.cs
- TypeKeyValue.cs
- WorkerRequest.cs
- Block.cs
- JsonReaderWriterFactory.cs
- DataGridPreparingCellForEditEventArgs.cs
- QueryAccessibilityHelpEvent.cs
- LinkLabelLinkClickedEvent.cs
- XmlRootAttribute.cs