Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- TextTrailingCharacterEllipsis.cs
- XmlTextEncoder.cs
- NumberFormatInfo.cs
- RayMeshGeometry3DHitTestResult.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- OpenFileDialog.cs
- PackWebRequest.cs
- TextSimpleMarkerProperties.cs
- EmptyCollection.cs
- ThreadPool.cs
- StreamReader.cs
- ForAllOperator.cs
- EntityContainer.cs
- Signature.cs
- IdentityHolder.cs
- EventWaitHandleSecurity.cs
- HiddenField.cs
- DisplayNameAttribute.cs
- Oid.cs
- CodeIndexerExpression.cs
- HighlightVisual.cs
- FullTextState.cs
- AutoCompleteStringCollection.cs
- WebPageTraceListener.cs
- DirectionalLight.cs
- PictureBox.cs
- HtmlControlPersistable.cs
- CommandTreeTypeHelper.cs
- CallbackValidatorAttribute.cs
- DataGridViewCellPaintingEventArgs.cs
- JumpTask.cs
- PersonalizationDictionary.cs
- ColorMatrix.cs
- XmlDomTextWriter.cs
- SqlCacheDependency.cs
- ColorTranslator.cs
- BinaryMessageFormatter.cs
- LinqDataSourceEditData.cs
- DataTableMappingCollection.cs
- InteropAutomationProvider.cs
- SystemInfo.cs
- Tokenizer.cs
- DispatcherObject.cs
- ToolStripPanelSelectionGlyph.cs
- RijndaelManaged.cs
- SoapReflectionImporter.cs
- Soap.cs
- LinkGrep.cs
- ZoneLinkButton.cs
- FilterException.cs
- MergablePropertyAttribute.cs
- DataGridViewButtonColumn.cs
- XmlUtilWriter.cs
- ModelItemDictionaryImpl.cs
- InstallerTypeAttribute.cs
- CallbackValidatorAttribute.cs
- MissingMethodException.cs
- EntityDataSourceWrapper.cs
- Point3DValueSerializer.cs
- PersonalizationDictionary.cs
- XmlSchemaProviderAttribute.cs
- SharedPerformanceCounter.cs
- sqlinternaltransaction.cs
- XmlHierarchyData.cs
- PointUtil.cs
- AssociationSetMetadata.cs
- MsmqBindingFilter.cs
- SharedStream.cs
- CallContext.cs
- followingquery.cs
- GenerateHelper.cs
- QilTargetType.cs
- ControlIdConverter.cs
- MultiTargetingUtil.cs
- DataSourceBooleanViewSchemaConverter.cs
- IxmlLineInfo.cs
- ItemType.cs
- XmlConverter.cs
- RoutedEventArgs.cs
- DataGridColumnHeadersPresenter.cs
- Delegate.cs
- MailDefinition.cs
- ActivityDesignerAccessibleObject.cs
- LoginView.cs
- PolicyImporterElementCollection.cs
- StreamGeometry.cs
- UpdatePanelTriggerCollection.cs
- UdpDiscoveryEndpoint.cs
- ValidationErrorCollection.cs
- BaseCodeDomTreeGenerator.cs
- FlowNode.cs
- ToolStripHighContrastRenderer.cs
- WebPartDescriptionCollection.cs
- SettingsPropertyValueCollection.cs
- AccessDataSource.cs
- DSASignatureDeformatter.cs
- IfAction.cs
- DnsEndpointIdentity.cs
- XhtmlCssHandler.cs
- ContentPresenter.cs