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
- EntityContainerEmitter.cs
- X509Certificate.cs
- WebException.cs
- ValidatingReaderNodeData.cs
- ScriptRegistrationManager.cs
- SamlSecurityTokenAuthenticator.cs
- HtmlInputReset.cs
- AsymmetricSecurityProtocol.cs
- SiteOfOriginPart.cs
- _FixedSizeReader.cs
- InheritanceAttribute.cs
- DataTableMapping.cs
- MaskPropertyEditor.cs
- Merger.cs
- HttpContextWrapper.cs
- PersonalizationState.cs
- DataGridViewRowCollection.cs
- WorkerRequest.cs
- XmlAnyAttributeAttribute.cs
- ParallelQuery.cs
- PathTooLongException.cs
- LocalizationComments.cs
- RichTextBoxContextMenu.cs
- RawUIStateInputReport.cs
- ResXDataNode.cs
- RTLAwareMessageBox.cs
- OutputWindow.cs
- ReceiveActivityDesignerTheme.cs
- XmlCountingReader.cs
- WebPartAuthorizationEventArgs.cs
- StyleCollection.cs
- CodeMethodReturnStatement.cs
- ListParaClient.cs
- XmlUTF8TextReader.cs
- IndicCharClassifier.cs
- FormViewUpdatedEventArgs.cs
- ArgumentReference.cs
- CompareInfo.cs
- AttributeCallbackBuilder.cs
- FloaterParagraph.cs
- FileSystemInfo.cs
- ResetableIterator.cs
- EntityDataReader.cs
- InputLanguage.cs
- TrustManagerPromptUI.cs
- MetadataArtifactLoaderCompositeResource.cs
- DeriveBytes.cs
- HtmlInputFile.cs
- SHA512Managed.cs
- SqlNodeAnnotations.cs
- GroupBoxAutomationPeer.cs
- DataTransferEventArgs.cs
- ClientUrlResolverWrapper.cs
- XPathPatternBuilder.cs
- ModelProperty.cs
- AutomationPropertyInfo.cs
- DesignerDataRelationship.cs
- FrameSecurityDescriptor.cs
- FilteredXmlReader.cs
- SqlGenerator.cs
- ModelItemCollectionImpl.cs
- PagesSection.cs
- webproxy.cs
- WebPartHelpVerb.cs
- FixedHighlight.cs
- Invariant.cs
- CurrencyManager.cs
- NullReferenceException.cs
- StateItem.cs
- Cell.cs
- TreeViewBindingsEditorForm.cs
- ObjectDataProvider.cs
- Oid.cs
- MarkupCompiler.cs
- ErrorWrapper.cs
- DesignerVerb.cs
- Scene3D.cs
- WebContext.cs
- ObjectResult.cs
- TabControl.cs
- PixelFormat.cs
- TypeGeneratedEventArgs.cs
- RelationshipDetailsRow.cs
- EntityCommandDefinition.cs
- LinkLabel.cs
- SizeFConverter.cs
- CodeAttributeDeclaration.cs
- Assert.cs
- ExtensionDataObject.cs
- TileBrush.cs
- EntityUtil.cs
- AppSettingsExpressionBuilder.cs
- BrushMappingModeValidation.cs
- AmbiguousMatchException.cs
- util.cs
- OleDbParameter.cs
- WebPartVerbCollection.cs
- TextEncodedRawTextWriter.cs
- TrustManagerMoreInformation.cs
- DrawToolTipEventArgs.cs