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
- SchemaAttDef.cs
- PropertyGroupDescription.cs
- HttpWrapper.cs
- BinaryExpressionHelper.cs
- NativeMethods.cs
- BinaryObjectInfo.cs
- AttributeConverter.cs
- DocumentXPathNavigator.cs
- RotateTransform.cs
- SqlRecordBuffer.cs
- WorkflowMarkupSerializationException.cs
- AsnEncodedData.cs
- CodeTypeMemberCollection.cs
- ValueOfAction.cs
- TemplateBuilder.cs
- BitmapFrame.cs
- PartialClassGenerationTask.cs
- Int32KeyFrameCollection.cs
- ThicknessConverter.cs
- ConsoleKeyInfo.cs
- CorruptStoreException.cs
- Component.cs
- ComponentChangingEvent.cs
- HwndSourceKeyboardInputSite.cs
- TextTreeUndo.cs
- ConstraintConverter.cs
- BufferedWebEventProvider.cs
- EntityDataSourceColumn.cs
- EntityClassGenerator.cs
- SQLMembershipProvider.cs
- HTMLTextWriter.cs
- TypeHelpers.cs
- CounterNameConverter.cs
- AddressingProperty.cs
- VerificationAttribute.cs
- MessageCredentialType.cs
- translator.cs
- XmlSchemaImport.cs
- WebPartMenuStyle.cs
- PersonalizablePropertyEntry.cs
- CompiledRegexRunnerFactory.cs
- ModulesEntry.cs
- DbParameterHelper.cs
- ErrorProvider.cs
- GenericIdentity.cs
- ListItem.cs
- OdbcException.cs
- Vector3dCollection.cs
- SplineKeyFrames.cs
- ImageSourceValueSerializer.cs
- ConfigurationValidatorBase.cs
- TableAutomationPeer.cs
- WindowsRichEditRange.cs
- BitmapEffect.cs
- ProtocolsConfigurationEntry.cs
- BackgroundWorker.cs
- Binding.cs
- RSAOAEPKeyExchangeFormatter.cs
- RawKeyboardInputReport.cs
- RecordsAffectedEventArgs.cs
- TextStore.cs
- ReaderWriterLock.cs
- FileDialog_Vista.cs
- ipaddressinformationcollection.cs
- QilExpression.cs
- FlowLayoutPanel.cs
- SerializerDescriptor.cs
- TemplateBindingExtensionConverter.cs
- Int16.cs
- OutputWindow.cs
- WinFormsUtils.cs
- RootBrowserWindowProxy.cs
- ReflectionPermission.cs
- AutomationElement.cs
- NumericExpr.cs
- WebServiceParameterData.cs
- MouseEvent.cs
- DbUpdateCommandTree.cs
- DesignerLabelAdapter.cs
- QueryAccessibilityHelpEvent.cs
- DictionaryCustomTypeDescriptor.cs
- DataViewSetting.cs
- DataObjectPastingEventArgs.cs
- streamingZipPartStream.cs
- CodeDomExtensionMethods.cs
- MetabaseServerConfig.cs
- MethodInfo.cs
- FileChangeNotifier.cs
- PropertyRecord.cs
- DesignTimeType.cs
- CroppedBitmap.cs
- OperatingSystem.cs
- BrowserDefinitionCollection.cs
- DropTarget.cs
- InvalidCommandTreeException.cs
- AutoResetEvent.cs
- SafeSecurityHandles.cs
- HitTestParameters.cs
- _UriSyntax.cs
- Errors.cs