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
- DataGridColumnHeadersPresenter.cs
- GridErrorDlg.cs
- CompositeActivityCodeGenerator.cs
- ToolboxItemCollection.cs
- MatrixAnimationBase.cs
- Highlights.cs
- HttpDebugHandler.cs
- X509ThumbprintKeyIdentifierClause.cs
- _TLSstream.cs
- NativeMethodsOther.cs
- ClientApiGenerator.cs
- ParameterBuilder.cs
- DnsEndpointIdentity.cs
- DirectoryObjectSecurity.cs
- SimpleHandlerFactory.cs
- ApplicationId.cs
- EventItfInfo.cs
- AttributeSetAction.cs
- BigInt.cs
- EditorZoneAutoFormat.cs
- ImageField.cs
- AnnouncementEventArgs.cs
- SqlCommandSet.cs
- PolyQuadraticBezierSegment.cs
- XmlILIndex.cs
- TraceUtils.cs
- WorkflowPageSetupDialog.cs
- SymbolPair.cs
- SystemResourceHost.cs
- DbProviderFactory.cs
- ClassicBorderDecorator.cs
- System.Data_BID.cs
- TransformerInfo.cs
- Utility.cs
- EventRouteFactory.cs
- PrintPreviewGraphics.cs
- __TransparentProxy.cs
- DocumentOrderQuery.cs
- HttpProfileGroupBase.cs
- MultipleFilterMatchesException.cs
- ProviderConnectionPoint.cs
- RectangleHotSpot.cs
- EdmType.cs
- CatalogPartCollection.cs
- XslCompiledTransform.cs
- BamlTreeUpdater.cs
- SimpleHandlerBuildProvider.cs
- ExpandCollapseProviderWrapper.cs
- JsonFormatGeneratorStatics.cs
- DataTableMapping.cs
- SecurityContext.cs
- BaseValidator.cs
- ExpressionEditorAttribute.cs
- IOThreadTimer.cs
- Compiler.cs
- PersonalizationStateInfoCollection.cs
- DataRowComparer.cs
- WebPartMenuStyle.cs
- XmlEnumAttribute.cs
- DataBindingExpressionBuilder.cs
- ListViewContainer.cs
- PathTooLongException.cs
- ReadOnlyMetadataCollection.cs
- TransactionFlowElement.cs
- XmlChildNodes.cs
- AuthenticationService.cs
- VisualBrush.cs
- LinkedResourceCollection.cs
- ElementFactory.cs
- SqlDataRecord.cs
- DataBoundControlHelper.cs
- ExitEventArgs.cs
- HtmlTable.cs
- DesignOnlyAttribute.cs
- CustomCategoryAttribute.cs
- BaseTreeIterator.cs
- PropertyToken.cs
- DataObject.cs
- TextTreeUndoUnit.cs
- ProvidePropertyAttribute.cs
- LeafCellTreeNode.cs
- SingleConverter.cs
- ContentPosition.cs
- columnmapkeybuilder.cs
- CapiSafeHandles.cs
- FragmentQueryProcessor.cs
- XmlDocumentType.cs
- ErrorFormatterPage.cs
- InstalledVoice.cs
- XmlObjectSerializerWriteContextComplex.cs
- HttpRuntimeSection.cs
- SqlRemoveConstantOrderBy.cs
- UserControlBuildProvider.cs
- GlobalAllocSafeHandle.cs
- SystemColors.cs
- TypeToken.cs
- FixedBufferAttribute.cs
- ConsoleTraceListener.cs
- _CacheStreams.cs
- MarkupCompilePass2.cs