Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / Animation / ResolvedKeyFrameEntry.cs / 1 / ResolvedKeyFrameEntry.cs
//------------------------------------------------------------------------------
// Microsoft Windows Client Platform
// Copyright (c) Microsoft Corporation
//
// File: ResolvedKeyFrameEntry.cs
//-----------------------------------------------------------------------------
namespace System.Windows.Media.Animation
{
internal struct ResolvedKeyFrameEntry : IComparable
{
internal Int32 _originalKeyFrameIndex;
internal TimeSpan _resolvedKeyTime;
public Int32 CompareTo(object other)
{
ResolvedKeyFrameEntry otherEntry = (ResolvedKeyFrameEntry)other;
if (otherEntry._resolvedKeyTime > _resolvedKeyTime)
{
return -1;
}
else if (otherEntry._resolvedKeyTime < _resolvedKeyTime)
{
return 1;
}
else
{
if (otherEntry._originalKeyFrameIndex > _originalKeyFrameIndex)
{
return -1;
}
else if (otherEntry._originalKeyFrameIndex < _originalKeyFrameIndex)
{
return 1;
}
else
{
return 0;
}
}
}
}
}
// 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
- ThicknessAnimationUsingKeyFrames.cs
- Point3DIndependentAnimationStorage.cs
- CodeDOMUtility.cs
- Thread.cs
- StorageEndPropertyMapping.cs
- CompilationSection.cs
- StorageMappingItemCollection.cs
- odbcmetadatafactory.cs
- DynamicDiscoSearcher.cs
- RequestQueryProcessor.cs
- Base64Decoder.cs
- MetadataItem.cs
- ImageSourceConverter.cs
- ChannelManager.cs
- Bold.cs
- PageCodeDomTreeGenerator.cs
- ScriptingScriptResourceHandlerSection.cs
- TemplateNodeContextMenu.cs
- TraceSection.cs
- BufferModeSettings.cs
- EventRoute.cs
- ApplicationServiceHelper.cs
- FrameworkReadOnlyPropertyMetadata.cs
- GregorianCalendar.cs
- MeshGeometry3D.cs
- HandleCollector.cs
- Triplet.cs
- _Semaphore.cs
- DictionaryBase.cs
- MultiBinding.cs
- XmlCharCheckingWriter.cs
- BufferedReadStream.cs
- XmlSecureResolver.cs
- ViewManager.cs
- EffectiveValueEntry.cs
- InvalidWMPVersionException.cs
- DesignTimeParseData.cs
- QilXmlWriter.cs
- RangeBaseAutomationPeer.cs
- RuntimeEnvironment.cs
- FragmentQuery.cs
- StandardBindingCollectionElement.cs
- ContextBase.cs
- MultiByteCodec.cs
- BoundsDrawingContextWalker.cs
- DetailsViewDesigner.cs
- BitmapEffectCollection.cs
- ChtmlTextWriter.cs
- ObjectDataSourceSelectingEventArgs.cs
- Thumb.cs
- SettingsPropertyCollection.cs
- GetPageNumberCompletedEventArgs.cs
- TextEditorCopyPaste.cs
- TimelineClockCollection.cs
- isolationinterop.cs
- ProfilePropertyNameValidator.cs
- SafeEventLogWriteHandle.cs
- ZipIOCentralDirectoryFileHeader.cs
- TcpPortSharing.cs
- AdCreatedEventArgs.cs
- StateItem.cs
- ConnectionsZone.cs
- PerSessionInstanceContextProvider.cs
- Hex.cs
- ActivityBuilderHelper.cs
- ICspAsymmetricAlgorithm.cs
- DeploymentSectionCache.cs
- RowVisual.cs
- Utils.cs
- BooleanStorage.cs
- InternalControlCollection.cs
- CryptoHandle.cs
- TrackingWorkflowEventArgs.cs
- ContainerUtilities.cs
- SqlNotificationEventArgs.cs
- AssociationType.cs
- SatelliteContractVersionAttribute.cs
- PageAsyncTaskManager.cs
- DocumentViewerBaseAutomationPeer.cs
- MetadataWorkspace.cs
- CodeVariableReferenceExpression.cs
- _IPv4Address.cs
- ZeroOpNode.cs
- DataBinder.cs
- SudsCommon.cs
- SplitContainer.cs
- MarshalDirectiveException.cs
- ImageEditor.cs
- DataGridViewBindingCompleteEventArgs.cs
- CancellationState.cs
- WinEventWrap.cs
- Win32.cs
- ConfigPathUtility.cs
- AnnotationResource.cs
- dtdvalidator.cs
- StatusBarPanelClickEvent.cs
- RequiredFieldValidator.cs
- ReferentialConstraintRoleElement.cs
- PopupRoot.cs
- QuotedPairReader.cs