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
- DataTrigger.cs
- BufferedGraphics.cs
- WindowsFormsSynchronizationContext.cs
- NativeConfigurationLoader.cs
- GenerateHelper.cs
- EditorZoneBase.cs
- IHttpResponseInternal.cs
- XmlIncludeAttribute.cs
- XmlLoader.cs
- Polygon.cs
- RelationshipNavigation.cs
- TextParaClient.cs
- DataView.cs
- CardSpaceSelector.cs
- HttpListener.cs
- XmlSchemaAll.cs
- XhtmlTextWriter.cs
- LiteralTextContainerControlBuilder.cs
- FontCollection.cs
- DataSetMappper.cs
- SqlClientWrapperSmiStream.cs
- ReadWriteObjectLock.cs
- SmiContextFactory.cs
- FixedSOMLineRanges.cs
- HandlerBase.cs
- QuaternionKeyFrameCollection.cs
- RtfToXamlReader.cs
- XmlSchemaImport.cs
- DesignTimeType.cs
- X509RecipientCertificateClientElement.cs
- QualifiedCellIdBoolean.cs
- AsyncResult.cs
- Debug.cs
- NamespaceMapping.cs
- NumberAction.cs
- MatrixAnimationBase.cs
- DescendantBaseQuery.cs
- FlagsAttribute.cs
- MediaContext.cs
- EDesignUtil.cs
- PersonalizableTypeEntry.cs
- CachedFontFamily.cs
- Expander.cs
- ConditionCollection.cs
- CqlParser.cs
- DisplayMemberTemplateSelector.cs
- RadioButtonStandardAdapter.cs
- InternalBufferOverflowException.cs
- ByteStreamMessage.cs
- DataObject.cs
- EventDescriptor.cs
- ThemeableAttribute.cs
- TemplateField.cs
- DynamicDataRoute.cs
- Wildcard.cs
- FacetEnabledSchemaElement.cs
- ProgressBar.cs
- DropDownList.cs
- XmlSchemaAppInfo.cs
- __Error.cs
- Typography.cs
- ApplicationServiceManager.cs
- SystemDropShadowChrome.cs
- WizardStepCollectionEditor.cs
- FrameworkTextComposition.cs
- SupportingTokenBindingElement.cs
- _SpnDictionary.cs
- IndentTextWriter.cs
- AnimationTimeline.cs
- DataGridViewMethods.cs
- WebPartCatalogAddVerb.cs
- RuntimeConfigLKG.cs
- Socket.cs
- HttpMethodAttribute.cs
- EntityCommand.cs
- ISCIIEncoding.cs
- SqlDataSourceQueryConverter.cs
- SqlGenericUtil.cs
- ProcessModelSection.cs
- XamlSerializerUtil.cs
- JsonEnumDataContract.cs
- FactoryId.cs
- TextChange.cs
- QilTargetType.cs
- ListControlDesigner.cs
- XmlDictionaryString.cs
- XmlTextReaderImplHelpers.cs
- XmlCodeExporter.cs
- DeclaredTypeElement.cs
- CorrelationTokenInvalidatedHandler.cs
- UnsupportedPolicyOptionsException.cs
- WorkflowElementDialog.cs
- ResourcePermissionBase.cs
- ControlIdConverter.cs
- VectorAnimation.cs
- ProcessHostServerConfig.cs
- LinearGradientBrush.cs
- EventHandlerList.cs
- IResourceProvider.cs
- DataGridColumnCollection.cs