Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- FormViewPagerRow.cs
- DesignBinding.cs
- TextFormatterContext.cs
- BitmapEffectInputData.cs
- MetafileHeaderWmf.cs
- DataGridViewColumnCollection.cs
- StoryFragments.cs
- MarkerProperties.cs
- Simplifier.cs
- SelectionEditingBehavior.cs
- ConnectionStringEditor.cs
- TypeConverterHelper.cs
- DataControlField.cs
- OdbcInfoMessageEvent.cs
- StatusBarPanel.cs
- SchemaNotation.cs
- BasicHttpBinding.cs
- Point3D.cs
- PagedDataSource.cs
- XmlEncodedRawTextWriter.cs
- CompilerGlobalScopeAttribute.cs
- SrgsRuleRef.cs
- ReachNamespaceInfo.cs
- SmtpNegotiateAuthenticationModule.cs
- GeometryDrawing.cs
- CodeDirectiveCollection.cs
- CaseInsensitiveComparer.cs
- AdornerDecorator.cs
- PeerServiceMessageContracts.cs
- documentsequencetextpointer.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- SQLInt64Storage.cs
- MoveSizeWinEventHandler.cs
- ExistsInCollection.cs
- WriterOutput.cs
- EmbeddedMailObject.cs
- XmlCustomFormatter.cs
- Annotation.cs
- PartitionResolver.cs
- ItemType.cs
- DesignerOptionService.cs
- BitmapFrame.cs
- EventHandlerList.cs
- RelatedCurrencyManager.cs
- MenuItemCollectionEditor.cs
- WrapPanel.cs
- ElementHost.cs
- DetailsViewUpdatedEventArgs.cs
- XmlNodeReader.cs
- ConnectionInterfaceCollection.cs
- RegexCharClass.cs
- SqlUserDefinedTypeAttribute.cs
- FormViewCommandEventArgs.cs
- TargetPerspective.cs
- WebPartCloseVerb.cs
- CngKeyCreationParameters.cs
- DeviceOverridableAttribute.cs
- RightsManagementInformation.cs
- PropertyGridEditorPart.cs
- LowerCaseStringConverter.cs
- ExtensionWindowHeader.cs
- HtmlElementErrorEventArgs.cs
- BackEase.cs
- XmlText.cs
- EntityDataSourceUtil.cs
- configsystem.cs
- LedgerEntry.cs
- MD5.cs
- WaitHandle.cs
- DesignerActionService.cs
- FormParameter.cs
- Misc.cs
- ImmutableAssemblyCacheEntry.cs
- XPathException.cs
- SystemResourceHost.cs
- TimeZone.cs
- AlphabetConverter.cs
- InkCanvas.cs
- CallId.cs
- DecimalKeyFrameCollection.cs
- MutexSecurity.cs
- AttachedAnnotation.cs
- EntityDataSourceWrapper.cs
- Types.cs
- Splitter.cs
- AssemblyAttributesGoHere.cs
- UserControl.cs
- LineServices.cs
- DetailsViewPageEventArgs.cs
- FileInfo.cs
- ColorAnimationUsingKeyFrames.cs
- DES.cs
- XmlSchemaInferenceException.cs
- DtrList.cs
- FontWeights.cs
- SqlCacheDependency.cs
- Screen.cs
- BuilderPropertyEntry.cs
- _DomainName.cs
- SqlMetaData.cs