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
- CrossContextChannel.cs
- TransformerTypeCollection.cs
- UserInitiatedNavigationPermission.cs
- VariantWrapper.cs
- PropertiesTab.cs
- ParallelTimeline.cs
- HierarchicalDataTemplate.cs
- LeaseManager.cs
- Context.cs
- CustomWebEventKey.cs
- FontUnitConverter.cs
- BaseDataList.cs
- CodeExporter.cs
- EncryptRequest.cs
- ListContractAdapter.cs
- GeneralTransform.cs
- FieldNameLookup.cs
- AssociationSetEnd.cs
- DetailsViewAutoFormat.cs
- JsonWriter.cs
- PhotoPrintingIntent.cs
- HwndHostAutomationPeer.cs
- RefExpr.cs
- SpecularMaterial.cs
- UnsafeNativeMethods.cs
- ProcessHostFactoryHelper.cs
- X509Utils.cs
- ErrorStyle.cs
- ProcessProtocolHandler.cs
- HttpResponseBase.cs
- XPathParser.cs
- OpCellTreeNode.cs
- RegionInfo.cs
- TrackingValidationObjectDictionary.cs
- ShaderRenderModeValidation.cs
- DefaultExpressionVisitor.cs
- TreeNodeEventArgs.cs
- MenuItemBindingCollection.cs
- DataDocumentXPathNavigator.cs
- PointConverter.cs
- ExtendedProperty.cs
- Stack.cs
- Int32Storage.cs
- _SslState.cs
- SelectionPattern.cs
- NavigationCommands.cs
- CollectionBuilder.cs
- HostVisual.cs
- TemplateInstanceAttribute.cs
- Clipboard.cs
- Int32Rect.cs
- UserControlBuildProvider.cs
- CookieParameter.cs
- _ConnectionGroup.cs
- KnownIds.cs
- X509ScopedServiceCertificateElementCollection.cs
- MetaModel.cs
- LinqDataSourceSelectEventArgs.cs
- LexicalChunk.cs
- UrlMappingCollection.cs
- DecimalAnimationBase.cs
- XmlExceptionHelper.cs
- UserPreferenceChangingEventArgs.cs
- GenericUriParser.cs
- Exceptions.cs
- ControlIdConverter.cs
- DataServiceResponse.cs
- BulletedListEventArgs.cs
- LinqDataSourceHelper.cs
- DateTimeSerializationSection.cs
- ResponseStream.cs
- InfoCardSymmetricAlgorithm.cs
- DefaultMemberAttribute.cs
- CodePropertyReferenceExpression.cs
- PointLightBase.cs
- XmlNamespaceMapping.cs
- DbConnectionStringCommon.cs
- TextTrailingWordEllipsis.cs
- FloatMinMaxAggregationOperator.cs
- ScriptHandlerFactory.cs
- ValueChangedEventManager.cs
- ToolboxCategoryItems.cs
- DBConnectionString.cs
- MulticastNotSupportedException.cs
- XmlTypeAttribute.cs
- DeferredSelectedIndexReference.cs
- PrefixHandle.cs
- FileFormatException.cs
- PropertyPathWorker.cs
- GlyphRunDrawing.cs
- WindowsListViewGroupHelper.cs
- MinMaxParagraphWidth.cs
- InternalSafeNativeMethods.cs
- ListItemConverter.cs
- Validator.cs
- ServerProtocol.cs
- AddInEnvironment.cs
- TextAction.cs
- HttpChannelBindingToken.cs
- SmtpDigestAuthenticationModule.cs