Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- BasicExpressionVisitor.cs
- AdornerPresentationContext.cs
- TextServicesManager.cs
- CommittableTransaction.cs
- PublishLicense.cs
- FlatButtonAppearance.cs
- UnknownWrapper.cs
- DispatchWrapper.cs
- UTF7Encoding.cs
- ExpressionList.cs
- FontStretch.cs
- XmlReflectionMember.cs
- DataFormats.cs
- ParserExtension.cs
- FlowLayoutPanel.cs
- ZipArchive.cs
- TargetPerspective.cs
- XPathNavigator.cs
- DocumentStream.cs
- HostingEnvironmentException.cs
- XamlInt32CollectionSerializer.cs
- TemplateControlBuildProvider.cs
- TemplateEditingFrame.cs
- IdSpace.cs
- DetailsViewPageEventArgs.cs
- SmtpException.cs
- SortQuery.cs
- RbTree.cs
- wmiprovider.cs
- MultiPageTextView.cs
- ConnectivityStatus.cs
- ClassicBorderDecorator.cs
- Rule.cs
- XmlSchemaCollection.cs
- DbConnectionStringBuilder.cs
- ItemChangedEventArgs.cs
- DataControlReferenceCollection.cs
- LoginUtil.cs
- SortedDictionary.cs
- TemplateComponentConnector.cs
- CheckPair.cs
- LabelDesigner.cs
- NavigationCommands.cs
- Nodes.cs
- followingsibling.cs
- OutputCacheSettings.cs
- ManagedWndProcTracker.cs
- AdornerDecorator.cs
- DllHostInitializer.cs
- WebHttpSecurityModeHelper.cs
- Function.cs
- StyleXamlParser.cs
- ItemContainerGenerator.cs
- XmlCountingReader.cs
- OleDbTransaction.cs
- XmlNodeReader.cs
- UniqueIdentifierService.cs
- WebServiceMethodData.cs
- ReaderWriterLockWrapper.cs
- PopupRoot.cs
- RawStylusInputCustomData.cs
- EpmSyndicationContentSerializer.cs
- SequentialUshortCollection.cs
- PasswordBox.cs
- StringConcat.cs
- TreePrinter.cs
- ColumnMap.cs
- ScriptDescriptor.cs
- COM2TypeInfoProcessor.cs
- FactoryGenerator.cs
- DataContractSerializerOperationFormatter.cs
- Substitution.cs
- ReverseInheritProperty.cs
- TreeNodeStyle.cs
- TableLayoutStyle.cs
- HeaderCollection.cs
- PermissionSetTriple.cs
- MediaCommands.cs
- CompModSwitches.cs
- TTSVoice.cs
- MailBnfHelper.cs
- Brushes.cs
- SiteIdentityPermission.cs
- GeneralTransform3DGroup.cs
- ConfigViewGenerator.cs
- OracleParameter.cs
- FixedHyperLink.cs
- SafeHandle.cs
- GridViewEditEventArgs.cs
- AssertUtility.cs
- RuntimeHandles.cs
- WindowsAuthenticationEventArgs.cs
- HttpStreams.cs
- RelationshipWrapper.cs
- HttpProfileBase.cs
- AssemblyAttributes.cs
- MobileUITypeEditor.cs
- DesignDataSource.cs
- TrustLevelCollection.cs
- ISAPIApplicationHost.cs