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 / LinearQuaternionKeyFrame.cs / 1 / LinearQuaternionKeyFrame.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 to produce its output value. /// public partial class LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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 to produce its output value. /// public partial class LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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
- SessionPageStatePersister.cs
- CryptoSession.cs
- MenuItemCollectionEditorDialog.cs
- SpeakInfo.cs
- BmpBitmapDecoder.cs
- DataKeyArray.cs
- RefType.cs
- ValidationResult.cs
- HtmlTableCellCollection.cs
- AsyncPostBackTrigger.cs
- OdbcReferenceCollection.cs
- DesignerCategoryAttribute.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DoubleAnimationClockResource.cs
- AudienceUriMode.cs
- NotifyCollectionChangedEventArgs.cs
- Substitution.cs
- DesignTimeVisibleAttribute.cs
- ProfileModule.cs
- JsonGlobals.cs
- CodeDelegateCreateExpression.cs
- NullRuntimeConfig.cs
- InfoCardX509Validator.cs
- ControlIdConverter.cs
- HttpCachePolicyElement.cs
- AppDomainAttributes.cs
- XamlReader.cs
- KnownTypeAttribute.cs
- GridEntry.cs
- DBCommand.cs
- RequestCachingSection.cs
- EntityRecordInfo.cs
- EasingQuaternionKeyFrame.cs
- Panel.cs
- SqlBuilder.cs
- WindowsBrush.cs
- ToolStripManager.cs
- ISessionStateStore.cs
- XmlC14NWriter.cs
- ArithmeticException.cs
- ExpandCollapsePattern.cs
- MsmqAppDomainProtocolHandler.cs
- TraceFilter.cs
- ImageSourceTypeConverter.cs
- NotificationContext.cs
- MarkupExtensionReturnTypeAttribute.cs
- DropDownButton.cs
- MeshGeometry3D.cs
- TypeConvertions.cs
- BasicAsyncResult.cs
- HorizontalAlignConverter.cs
- TypeDescriptor.cs
- DataControlField.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- ObjectRef.cs
- GuidTagList.cs
- WebPartTransformerAttribute.cs
- BindingsCollection.cs
- UIElement3D.cs
- RegistryPermission.cs
- InvokeSchedule.cs
- DbRetry.cs
- ToolStripDropDownDesigner.cs
- TreeNodeStyleCollection.cs
- StandardTransformFactory.cs
- XmlDataImplementation.cs
- CheckBoxFlatAdapter.cs
- OptionalColumn.cs
- VBCodeProvider.cs
- ListDesigner.cs
- StaticContext.cs
- JoinTreeNode.cs
- SqlWorkflowInstanceStoreLock.cs
- TransformValueSerializer.cs
- UnSafeCharBuffer.cs
- DecodeHelper.cs
- AttachedPropertyDescriptor.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- DocumentationServerProtocol.cs
- ConstraintStruct.cs
- BinHexEncoder.cs
- IISUnsafeMethods.cs
- DisposableCollectionWrapper.cs
- documentation.cs
- ColorTransform.cs
- MessageSecurityOverHttpElement.cs
- ActivationServices.cs
- Literal.cs
- RefExpr.cs
- OAVariantLib.cs
- EndPoint.cs
- DetailsViewPagerRow.cs
- AnnotationMap.cs
- FileDialog.cs
- WebPartCloseVerb.cs
- XmlDictionaryString.cs
- XmlDocumentFragment.cs
- OutputCacheProfileCollection.cs
- EntitySetBaseCollection.cs
- Label.cs