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 / QuaternionAnimation.cs / 1 / 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
- BrowserDefinitionCollection.cs
- WebPartChrome.cs
- HandledEventArgs.cs
- TickBar.cs
- ProvidePropertyAttribute.cs
- ResourcesChangeInfo.cs
- ActivitiesCollection.cs
- XmlSchemaDocumentation.cs
- GeneralTransform3DGroup.cs
- WebPartEventArgs.cs
- XmlDataSourceView.cs
- TraceContext.cs
- DataExpression.cs
- OperandQuery.cs
- DataGridViewRowEventArgs.cs
- hresults.cs
- Pair.cs
- StateChangeEvent.cs
- MobileListItem.cs
- AvTraceDetails.cs
- SignedXmlDebugLog.cs
- Converter.cs
- ProjectionAnalyzer.cs
- DisplayMemberTemplateSelector.cs
- VirtualDirectoryMapping.cs
- OledbConnectionStringbuilder.cs
- InputReport.cs
- ExceptQueryOperator.cs
- ControlCachePolicy.cs
- BooleanKeyFrameCollection.cs
- ResourceAttributes.cs
- CodeRemoveEventStatement.cs
- StylusPointPropertyInfoDefaults.cs
- ConfigXmlAttribute.cs
- Int16Converter.cs
- HttpCookiesSection.cs
- DocumentCollection.cs
- ModelFactory.cs
- XPathPatternParser.cs
- ThicknessAnimationUsingKeyFrames.cs
- XmlSerializationWriter.cs
- Visitor.cs
- UITypeEditors.cs
- AuthenticatedStream.cs
- MatrixAnimationBase.cs
- PagerSettings.cs
- TypefaceMetricsCache.cs
- ReadContentAsBinaryHelper.cs
- DynamicValidatorEventArgs.cs
- HashFinalRequest.cs
- DataGridViewRowEventArgs.cs
- XsdValidatingReader.cs
- RSAPKCS1SignatureFormatter.cs
- CreateRefExpr.cs
- ToolStripManager.cs
- SparseMemoryStream.cs
- SpecialNameAttribute.cs
- IfAction.cs
- Vector3DCollectionValueSerializer.cs
- SHA384Managed.cs
- PKCS1MaskGenerationMethod.cs
- Button.cs
- CryptographicAttribute.cs
- TableRowCollection.cs
- UserValidatedEventArgs.cs
- DrawingContextDrawingContextWalker.cs
- SiteMapDataSourceView.cs
- GlobalizationSection.cs
- Int64AnimationBase.cs
- OutputScopeManager.cs
- CodePageEncoding.cs
- KnownColorTable.cs
- RawKeyboardInputReport.cs
- RoutedEventArgs.cs
- SafePipeHandle.cs
- Math.cs
- Script.cs
- DispatchWrapper.cs
- XmlSchemaExternal.cs
- ObjectPersistData.cs
- HealthMonitoringSection.cs
- FileDialog_Vista_Interop.cs
- TraceRecords.cs
- IImplicitResourceProvider.cs
- Subtree.cs
- OdbcConnectionOpen.cs
- LinkUtilities.cs
- AccessorTable.cs
- HttpApplicationStateBase.cs
- XmlILModule.cs
- ThemeDictionaryExtension.cs
- WebPartConnectionsConnectVerb.cs
- ValueUnavailableException.cs
- MediaElement.cs
- InputGestureCollection.cs
- KeyTime.cs
- ReadOnlyCollectionBase.cs
- Conditional.cs
- RootDesignerSerializerAttribute.cs
- CharacterString.cs