Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / QuaternionAnimation.cs / 1305600 / QuaternionAnimation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; using System.Windows; using MS.Internal.KnownBoxes; namespace System.Windows.Media.Animation { ////// Animates the value of a bool property using linear interpolation /// between two values. The values are determined by the combination of /// From, To, or By values that are set on the animation. /// public partial class QuaternionAnimation : QuaternionAnimationBase { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(QuaternionAnimation), 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 { ////// Animates the value of a bool property using linear interpolation /// between two values. The values are determined by the combination of /// From, To, or By values that are set on the animation. /// public partial class QuaternionAnimation : QuaternionAnimationBase { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(QuaternionAnimation), 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
- FixedElement.cs
- PropertyTab.cs
- PKCS1MaskGenerationMethod.cs
- WindowsEditBox.cs
- WindowsStartMenu.cs
- _NegoStream.cs
- Screen.cs
- RegexRunnerFactory.cs
- SqlFlattener.cs
- HttpListenerRequest.cs
- ObjectDataSourceFilteringEventArgs.cs
- GiveFeedbackEventArgs.cs
- XmlSerializerAssemblyAttribute.cs
- BaseTemplatedMobileComponentEditor.cs
- CharKeyFrameCollection.cs
- Token.cs
- AbsoluteQuery.cs
- DocumentReference.cs
- CompilerErrorCollection.cs
- TextBoxBase.cs
- XmlSerializer.cs
- RegexTree.cs
- EventArgs.cs
- XmlComment.cs
- Operand.cs
- SqlResolver.cs
- TemplateLookupAction.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- OuterGlowBitmapEffect.cs
- sqlcontext.cs
- ExpressionBinding.cs
- QueryableFilterUserControl.cs
- HelpProvider.cs
- DbProviderServices.cs
- ConfigurationElementCollection.cs
- RoutedPropertyChangedEventArgs.cs
- InkCanvasFeedbackAdorner.cs
- _HTTPDateParse.cs
- CompilationLock.cs
- ErrorWrapper.cs
- ObjectContext.cs
- BinaryObjectWriter.cs
- HtmlInputReset.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- XmlDataDocument.cs
- DBSchemaTable.cs
- COMException.cs
- ITextView.cs
- XamlWrappingReader.cs
- InternalPolicyElement.cs
- SchemaSetCompiler.cs
- RecognitionResult.cs
- WebReference.cs
- XmlEncoding.cs
- ProcessHostMapPath.cs
- DispatcherObject.cs
- QilName.cs
- AutomationInteropProvider.cs
- FixUpCollection.cs
- PropertyPathConverter.cs
- UpWmlPageAdapter.cs
- PropertyMetadata.cs
- TextRenderer.cs
- LayoutSettings.cs
- WorkflowFileItem.cs
- XmlSchemaExternal.cs
- IssuanceLicense.cs
- XmlSchemaParticle.cs
- ContextStack.cs
- AutomationIdentifier.cs
- MdiWindowListStrip.cs
- SecurityChannelListener.cs
- CharAnimationUsingKeyFrames.cs
- InheritanceContextChangedEventManager.cs
- AttachedPropertyDescriptor.cs
- NativeMethods.cs
- StorageInfo.cs
- NativeMsmqMessage.cs
- DataContractAttribute.cs
- Vector3DValueSerializer.cs
- SegmentTree.cs
- GC.cs
- SafePEFileHandle.cs
- VisualStyleTypesAndProperties.cs
- ComplexPropertyEntry.cs
- SqlWebEventProvider.cs
- WebMessageBodyStyleHelper.cs
- DbBuffer.cs
- MsmqInputChannelListener.cs
- XmlIgnoreAttribute.cs
- VectorValueSerializer.cs
- TextTreeExtractElementUndoUnit.cs
- RSAProtectedConfigurationProvider.cs
- DispatcherObject.cs
- KeyValueInternalCollection.cs
- RemoteHelper.cs
- precedingquery.cs
- ShapeTypeface.cs
- XmlHelper.cs
- XmlQueryType.cs