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
- nulltextnavigator.cs
- SqlCrossApplyToCrossJoin.cs
- DrawingContext.cs
- ClientSideQueueItem.cs
- RequestBringIntoViewEventArgs.cs
- EventListenerClientSide.cs
- ToolStripControlHost.cs
- PageContentCollection.cs
- ErrorFormatterPage.cs
- WebBrowserDocumentCompletedEventHandler.cs
- FileInfo.cs
- DBCommandBuilder.cs
- SoapProtocolImporter.cs
- CompareInfo.cs
- Control.cs
- WorkerProcess.cs
- NullableDecimalAverageAggregationOperator.cs
- BindingElement.cs
- DrawingGroup.cs
- MTConfigUtil.cs
- AutomationProperty.cs
- WebPartTransformerAttribute.cs
- SqlTypesSchemaImporter.cs
- TimersDescriptionAttribute.cs
- SoapAttributeOverrides.cs
- XmlSchemaComplexContentExtension.cs
- ToolBarButtonDesigner.cs
- RepeaterItemEventArgs.cs
- AnnotationResource.cs
- Serializer.cs
- EntityClientCacheKey.cs
- Cursor.cs
- FileLogRecordStream.cs
- GridPatternIdentifiers.cs
- SqlNodeAnnotation.cs
- MemberHolder.cs
- XomlCompilerParameters.cs
- DataControlField.cs
- HttpModuleAction.cs
- Part.cs
- ElementMarkupObject.cs
- AxWrapperGen.cs
- arc.cs
- GrammarBuilderPhrase.cs
- TransformedBitmap.cs
- Rotation3D.cs
- JavaScriptSerializer.cs
- RubberbandSelector.cs
- errorpatternmatcher.cs
- BamlLocalizabilityResolver.cs
- DateTimeParse.cs
- MissingMemberException.cs
- DetailsViewDeleteEventArgs.cs
- OpCodes.cs
- ComPlusServiceHost.cs
- ValidatedControlConverter.cs
- SharedDp.cs
- SrgsText.cs
- GridViewColumnHeaderAutomationPeer.cs
- NotSupportedException.cs
- ProxyGenerationError.cs
- Int32Animation.cs
- UrlMappingCollection.cs
- InputBinding.cs
- Registry.cs
- GroupLabel.cs
- ConfigurationElement.cs
- InkPresenterAutomationPeer.cs
- RealProxy.cs
- UITypeEditors.cs
- QilXmlWriter.cs
- CacheDependency.cs
- controlskin.cs
- LOSFormatter.cs
- DecimalConverter.cs
- SQLByteStorage.cs
- WebPartAuthorizationEventArgs.cs
- DependencyPropertyDescriptor.cs
- ElementsClipboardData.cs
- FontCacheLogic.cs
- ServiceProviders.cs
- AutoSizeComboBox.cs
- PageParserFilter.cs
- DataObjectEventArgs.cs
- TopClause.cs
- wmiprovider.cs
- StorageAssociationTypeMapping.cs
- HtmlInputImage.cs
- ValueTable.cs
- UnhandledExceptionEventArgs.cs
- Border.cs
- _NestedSingleAsyncResult.cs
- HandlerBase.cs
- EntryPointNotFoundException.cs
- XmlAnyElementAttribute.cs
- ReadOnlyDataSourceView.cs
- TimeoutValidationAttribute.cs
- BehaviorEditorPart.cs
- RSAPKCS1SignatureFormatter.cs
- NativeObjectSecurity.cs