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
- CheckBox.cs
- KeyConverter.cs
- Signature.cs
- ConnectionOrientedTransportChannelFactory.cs
- XmlNamespaceDeclarationsAttribute.cs
- ErrorTableItemStyle.cs
- Metadata.cs
- _Connection.cs
- InputScopeConverter.cs
- AVElementHelper.cs
- RootProfilePropertySettingsCollection.cs
- CommandEventArgs.cs
- WebPartEditorApplyVerb.cs
- SafeProcessHandle.cs
- ArraySortHelper.cs
- AutomationIdentifier.cs
- ToolboxItemLoader.cs
- FilterException.cs
- Deserializer.cs
- CqlParserHelpers.cs
- NameTable.cs
- DesignerHelpers.cs
- EncryptedData.cs
- ObjectList.cs
- ScheduleChanges.cs
- FocusWithinProperty.cs
- RequestResizeEvent.cs
- ListViewDeletedEventArgs.cs
- TrustManager.cs
- MultiBindingExpression.cs
- NetworkInformationException.cs
- WebBrowserHelper.cs
- UserValidatedEventArgs.cs
- BoundField.cs
- ReadOnlyHierarchicalDataSource.cs
- MimeObjectFactory.cs
- BindingListCollectionView.cs
- LiteralControl.cs
- CreateWorkflowOwnerCommand.cs
- Oci.cs
- Grammar.cs
- LayoutEditorPart.cs
- HtmlControlPersistable.cs
- DynamicMetaObject.cs
- TextRunCacheImp.cs
- TableDetailsCollection.cs
- IntSecurity.cs
- DocumentViewerBase.cs
- ToolboxItemImageConverter.cs
- RowCache.cs
- Constant.cs
- DataBindEngine.cs
- DrawTreeNodeEventArgs.cs
- AnnotationMap.cs
- DataControlReference.cs
- EncoderNLS.cs
- ScriptingRoleServiceSection.cs
- DataColumnCollection.cs
- DesignSurfaceManager.cs
- ImageButton.cs
- IpcClientManager.cs
- XmlUnspecifiedAttribute.cs
- EditorPartChrome.cs
- ObjectStateManagerMetadata.cs
- PermissionSet.cs
- BinaryMessageEncodingBindingElement.cs
- SystemDiagnosticsSection.cs
- FileInfo.cs
- RayMeshGeometry3DHitTestResult.cs
- CodeArgumentReferenceExpression.cs
- DbConnectionPoolCounters.cs
- RectangleConverter.cs
- ClickablePoint.cs
- ResourceDictionaryCollection.cs
- RtfControls.cs
- QueryableFilterUserControl.cs
- DrawItemEvent.cs
- TreeWalkHelper.cs
- ApplicationDirectoryMembershipCondition.cs
- ColorDialog.cs
- ImageCodecInfo.cs
- FeatureSupport.cs
- MachineSettingsSection.cs
- HebrewCalendar.cs
- TransformationRules.cs
- Publisher.cs
- autovalidator.cs
- DuplicateWaitObjectException.cs
- XmlTextWriter.cs
- VBCodeProvider.cs
- Quaternion.cs
- BaseDataListPage.cs
- PtsContext.cs
- ActivityCodeDomReferenceService.cs
- RightNameExpirationInfoPair.cs
- DesignerAttribute.cs
- TransactionChannelListener.cs
- ZipIOExtraFieldPaddingElement.cs
- XmlSchemaDocumentation.cs
- SqlServer2KCompatibilityAnnotation.cs