Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ZipIOCentralDirectoryDigitalSignature.cs
- ToolStripManager.cs
- Metafile.cs
- FormsAuthenticationCredentials.cs
- PermissionAttributes.cs
- Manipulation.cs
- WindowsRebar.cs
- BaseCodePageEncoding.cs
- XmlSerializationReader.cs
- COM2PictureConverter.cs
- AstTree.cs
- ApplicationManager.cs
- PointKeyFrameCollection.cs
- VirtualPathUtility.cs
- DynamicILGenerator.cs
- Configuration.cs
- ValidateNames.cs
- Context.cs
- ContextMenuStripActionList.cs
- FilePrompt.cs
- CapacityStreamGeometryContext.cs
- XmlSchemaImporter.cs
- EndPoint.cs
- Ticks.cs
- ETagAttribute.cs
- ACL.cs
- DesignerDataRelationship.cs
- BaseValidator.cs
- RSAPKCS1SignatureFormatter.cs
- ConnectionPoint.cs
- MultiByteCodec.cs
- BamlBinaryWriter.cs
- ListDictionaryInternal.cs
- TraceSource.cs
- NumericUpDownAcceleration.cs
- WindowInteropHelper.cs
- ExeConfigurationFileMap.cs
- NativeRecognizer.cs
- XmlCountingReader.cs
- TargetControlTypeAttribute.cs
- ScriptModule.cs
- _IPv4Address.cs
- SpellCheck.cs
- SystemIcmpV6Statistics.cs
- ItemCollection.cs
- MatrixStack.cs
- ConstraintStruct.cs
- HashHelper.cs
- QilXmlReader.cs
- XmlSchemaSimpleContentExtension.cs
- ReachUIElementCollectionSerializerAsync.cs
- XPathScanner.cs
- WindowsGraphicsWrapper.cs
- OrderPreservingSpoolingTask.cs
- ToolboxBitmapAttribute.cs
- X509ThumbprintKeyIdentifierClause.cs
- InputQueueChannel.cs
- StreamGeometry.cs
- ISAPIApplicationHost.cs
- DodSequenceMerge.cs
- SoapConverter.cs
- WebPartConnectionCollection.cs
- GridViewHeaderRowPresenter.cs
- XmlILStorageConverter.cs
- SudsParser.cs
- CreateParams.cs
- ChannelServices.cs
- CharConverter.cs
- StringUtil.cs
- ToolBarTray.cs
- SymbolEqualComparer.cs
- DBSqlParser.cs
- TreeBuilder.cs
- SqlFunctionAttribute.cs
- GridViewRowPresenter.cs
- ComEventsSink.cs
- BulletedListDesigner.cs
- TreeViewCancelEvent.cs
- Slider.cs
- XmlLinkedNode.cs
- DBConnectionString.cs
- Pens.cs
- Scripts.cs
- SynchronousChannelMergeEnumerator.cs
- ImageIndexConverter.cs
- WSDualHttpSecurityMode.cs
- CodeCatchClauseCollection.cs
- EventsTab.cs
- CryptoSession.cs
- OdbcRowUpdatingEvent.cs
- SpotLight.cs
- GeneralTransformCollection.cs
- ViewManager.cs
- GeneralTransform2DTo3DTo2D.cs
- CodeNamespaceImport.cs
- BrushMappingModeValidation.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DelegateCompletionCallbackWrapper.cs
- RoleManagerModule.cs
- AsymmetricSignatureFormatter.cs