Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / EasingQuaternionKeyFrame.cs / 1305600 / EasingQuaternionKeyFrame.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
//---------------------------------------------------------------------------
using System;
using System.Windows;
using MS.Internal.KnownBoxes;
namespace System.Windows.Media.Animation
{
///
/// This class is used as part of a QuaternionKeyFrameCollection in
/// conjunction with a KeyFrameQuaternionAnimation to animate a
/// Quaternion property value along a set of key frames.
///
/// This QuaternionKeyFrame interpolates the between the Quaternion Value of
/// the previous key frame and its own Value Linearly with Easing to produce its output value.
///
public partial class EasingQuaternionKeyFrame : QuaternionKeyFrame
{
///
/// UseShortestPath Property
///
public static readonly DependencyProperty UseShortestPathProperty =
DependencyProperty.Register(
"UseShortestPath",
typeof(bool),
typeof(EasingQuaternionKeyFrame),
new PropertyMetadata(/* defaultValue = */ BooleanBoxes.TrueBox));
///
/// If true, the animation will automatically flip the sign of the destination
/// Quaternion to ensure the shortest path is taken.
///
public bool UseShortestPath
{
get
{
return (bool) GetValue(UseShortestPathProperty);
}
set
{
SetValue(UseShortestPathProperty, value);
}
}
}
}
// 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
- ProcessInfo.cs
- InputLanguageSource.cs
- DoubleAnimation.cs
- CommandCollectionEditor.cs
- ConfigXmlAttribute.cs
- ListViewSortEventArgs.cs
- SettingsAttributes.cs
- ModifiableIteratorCollection.cs
- ObjectStorage.cs
- UnsafeNativeMethods.cs
- SetterBase.cs
- ConfigUtil.cs
- ProfileService.cs
- PersonalizationStateInfo.cs
- CommandLineParser.cs
- IgnoreFileBuildProvider.cs
- VerificationException.cs
- IisTraceListener.cs
- FixedFlowMap.cs
- ClientUrlResolverWrapper.cs
- PartialList.cs
- AutomationPropertyInfo.cs
- DataTableNewRowEvent.cs
- DataGridColumnCollection.cs
- TabControlAutomationPeer.cs
- XmlReader.cs
- ReliableSessionElement.cs
- PrintPreviewGraphics.cs
- WindowsProgressbar.cs
- EngineSiteSapi.cs
- RequestDescription.cs
- DotAtomReader.cs
- ExportOptions.cs
- FormView.cs
- TreeNode.cs
- TextTreeInsertElementUndoUnit.cs
- XslTransformFileEditor.cs
- MarkupObject.cs
- BinHexDecoder.cs
- CreateUserWizard.cs
- OleDbDataReader.cs
- ParserContext.cs
- SHA512.cs
- ToolStripContainer.cs
- CacheVirtualItemsEvent.cs
- IdentifierCollection.cs
- DataTableClearEvent.cs
- ServiceObjectContainer.cs
- Relationship.cs
- SafeNativeMethods.cs
- ThreadInterruptedException.cs
- ListViewInsertedEventArgs.cs
- NameObjectCollectionBase.cs
- DefaultBinder.cs
- UpdatePanel.cs
- OutputCacheModule.cs
- PermissionListSet.cs
- InvalidCommandTreeException.cs
- TreeViewEvent.cs
- DataControlField.cs
- Annotation.cs
- SystemIcmpV4Statistics.cs
- ProfilePropertyMetadata.cs
- SchemaTypeEmitter.cs
- ComplexBindingPropertiesAttribute.cs
- OleDbDataAdapter.cs
- DataTrigger.cs
- DocumentPageViewAutomationPeer.cs
- InputLanguageSource.cs
- TransactionTable.cs
- LogicalExpr.cs
- InertiaRotationBehavior.cs
- ColumnHeader.cs
- UnsafeNativeMethods.cs
- PrintingPermissionAttribute.cs
- Component.cs
- PolicyLevel.cs
- ImageListStreamer.cs
- MailAddress.cs
- Int32KeyFrameCollection.cs
- ConnectionManagementSection.cs
- StackOverflowException.cs
- XmlAtomicValue.cs
- SingleConverter.cs
- AssemblyName.cs
- DayRenderEvent.cs
- TiffBitmapEncoder.cs
- MouseButton.cs
- MenuAdapter.cs
- WindowProviderWrapper.cs
- RemoteWebConfigurationHostStream.cs
- ToolboxItemSnapLineBehavior.cs
- mediaeventshelper.cs
- ImageSourceConverter.cs
- DataColumnChangeEvent.cs
- TextTreeInsertUndoUnit.cs
- ToolStripItemGlyph.cs
- Speller.cs
- ModelFunctionTypeElement.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs