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
- Border.cs
- SortQuery.cs
- SystemEvents.cs
- FilterableAttribute.cs
- ButtonRenderer.cs
- FieldNameLookup.cs
- TransformGroup.cs
- SqlXml.cs
- FirstMatchCodeGroup.cs
- embossbitmapeffect.cs
- ExternalCalls.cs
- ToolboxItemCollection.cs
- StandardCommands.cs
- ColorAnimationUsingKeyFrames.cs
- HtmlTableCellCollection.cs
- FastPropertyAccessor.cs
- OdbcConnectionHandle.cs
- CollectionAdapters.cs
- Helper.cs
- ComplexTypeEmitter.cs
- ElementUtil.cs
- TextWriterTraceListener.cs
- DbgCompiler.cs
- EnvironmentPermission.cs
- AuthenticationConfig.cs
- StorageRoot.cs
- BindingOperations.cs
- PkcsMisc.cs
- FormParameter.cs
- ValueSerializerAttribute.cs
- Int32.cs
- ExistsInCollection.cs
- XmlMemberMapping.cs
- StreamWithDictionary.cs
- TreeNodeEventArgs.cs
- StatusBarAutomationPeer.cs
- TextParagraphCache.cs
- UniqueIdentifierService.cs
- UdpChannelListener.cs
- Int64.cs
- IndentedWriter.cs
- IsolatedStorageException.cs
- MasterPageCodeDomTreeGenerator.cs
- StringPropertyBuilder.cs
- PeerInvitationResponse.cs
- CommonXSendMessage.cs
- ToolStripButton.cs
- SrgsRule.cs
- Drawing.cs
- StylusPointPropertyInfoDefaults.cs
- PersonalizableAttribute.cs
- MatrixIndependentAnimationStorage.cs
- Html32TextWriter.cs
- DictionaryChange.cs
- FormConverter.cs
- TextDataBindingHandler.cs
- HtmlInputImage.cs
- TextPattern.cs
- ListMarkerSourceInfo.cs
- SqlFileStream.cs
- IdentifierElement.cs
- SettingsPropertyIsReadOnlyException.cs
- LinqDataSourceHelper.cs
- DesignerDataSourceView.cs
- ApplicationServicesHostFactory.cs
- HttpSocketManager.cs
- SizeConverter.cs
- BasicCellRelation.cs
- FrugalMap.cs
- CalendarDesigner.cs
- PriorityQueue.cs
- XmlQueryType.cs
- TypeKeyValue.cs
- HScrollBar.cs
- RotateTransform.cs
- HttpListenerPrefixCollection.cs
- RequestStatusBarUpdateEventArgs.cs
- LassoHelper.cs
- HtmlTernaryTree.cs
- MarkupCompilePass1.cs
- AnnotationComponentManager.cs
- _IPv6Address.cs
- SqlVisitor.cs
- DeadCharTextComposition.cs
- WebPartVerb.cs
- ModelItemDictionaryImpl.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- EastAsianLunisolarCalendar.cs
- ArithmeticException.cs
- SiteMap.cs
- EditorOptionAttribute.cs
- XmlSerializer.cs
- DataGridViewCellStyleConverter.cs
- BitVector32.cs
- IgnoreFileBuildProvider.cs
- ApplyImportsAction.cs
- ValueHandle.cs
- serverconfig.cs
- EpmTargetPathSegment.cs
- SessionParameter.cs