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
- GregorianCalendarHelper.cs
- DebugView.cs
- XmlElementAttribute.cs
- SqlInternalConnection.cs
- FieldNameLookup.cs
- ViewStateModeByIdAttribute.cs
- OdbcEnvironmentHandle.cs
- HtmlShimManager.cs
- SecurityCriticalDataForSet.cs
- PhonemeConverter.cs
- SmtpNegotiateAuthenticationModule.cs
- SystemInfo.cs
- LabelLiteral.cs
- RootNamespaceAttribute.cs
- LexicalChunk.cs
- ReadOnlyDataSourceView.cs
- ToolStripLabel.cs
- SchemaCompiler.cs
- SystemIPInterfaceStatistics.cs
- Error.cs
- PageSetupDialog.cs
- AnchoredBlock.cs
- SessionEndingEventArgs.cs
- RealProxy.cs
- safePerfProviderHandle.cs
- AstTree.cs
- DataSourceDescriptorCollection.cs
- FilterableData.cs
- CodeIdentifiers.cs
- WorkflowMarkupSerializerMapping.cs
- DockAndAnchorLayout.cs
- LinqDataSourceContextEventArgs.cs
- ConnectionOrientedTransportChannelFactory.cs
- UserNamePasswordValidator.cs
- SystemIcons.cs
- XsltQilFactory.cs
- CodeGotoStatement.cs
- StylusPoint.cs
- SqlClientWrapperSmiStreamChars.cs
- ApplicationException.cs
- XmlTextWriter.cs
- SocketElement.cs
- ColorBlend.cs
- DragDeltaEventArgs.cs
- StylusPlugin.cs
- NotifyIcon.cs
- IntersectQueryOperator.cs
- TextBlock.cs
- DrawingVisualDrawingContext.cs
- ScrollChrome.cs
- Operand.cs
- GatewayIPAddressInformationCollection.cs
- AudioSignalProblemOccurredEventArgs.cs
- DBBindings.cs
- FormView.cs
- KoreanCalendar.cs
- ExpressionBindings.cs
- ShapingWorkspace.cs
- StorageScalarPropertyMapping.cs
- NavigationExpr.cs
- WebPartEditorOkVerb.cs
- FormsAuthenticationCredentials.cs
- TraceContextEventArgs.cs
- ScriptRegistrationManager.cs
- PageSettings.cs
- DataGridViewAccessibleObject.cs
- StdValidatorsAndConverters.cs
- NameValuePermission.cs
- ConfigXmlCDataSection.cs
- WSSecurityPolicy11.cs
- TextComposition.cs
- OleDbConnectionInternal.cs
- TracedNativeMethods.cs
- BitmapEffectInputData.cs
- SafeReversePInvokeHandle.cs
- SqlDependencyListener.cs
- FixedSOMLineRanges.cs
- CharConverter.cs
- PageCanvasSize.cs
- ReferenceEqualityComparer.cs
- VersionUtil.cs
- CompilerTypeWithParams.cs
- InternalControlCollection.cs
- OpacityConverter.cs
- GrammarBuilderRuleRef.cs
- UnaryNode.cs
- TreeNodeStyle.cs
- XmlSchemaGroup.cs
- HwndSourceParameters.cs
- EntityContainer.cs
- IDispatchConstantAttribute.cs
- WorkflowRuntimeServiceElementCollection.cs
- ActionMessageFilter.cs
- XmlArrayItemAttribute.cs
- SqlRowUpdatedEvent.cs
- StringReader.cs
- DataGrid.cs
- PageContentCollection.cs
- ExceptionRoutedEventArgs.cs
- ScrollPattern.cs