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
- AnimationStorage.cs
- JsonFormatWriterGenerator.cs
- CompositeDataBoundControl.cs
- FloaterParaClient.cs
- RegexTree.cs
- IndicFontClient.cs
- CacheChildrenQuery.cs
- Header.cs
- TimeEnumHelper.cs
- ReflectEventDescriptor.cs
- PerfCounters.cs
- Classification.cs
- DataGridTextColumn.cs
- IItemProperties.cs
- SelectedGridItemChangedEvent.cs
- SamlNameIdentifierClaimResource.cs
- PriorityItem.cs
- NavigationService.cs
- ContextMenuAutomationPeer.cs
- SpotLight.cs
- XmlCustomFormatter.cs
- MouseGesture.cs
- TTSEngineProxy.cs
- RsaSecurityKey.cs
- ProtocolElementCollection.cs
- TextLine.cs
- GPPOINT.cs
- PolicyStatement.cs
- TypeExtensionSerializer.cs
- _AutoWebProxyScriptEngine.cs
- WebUtil.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BamlTreeUpdater.cs
- X509SubjectKeyIdentifierClause.cs
- DataStorage.cs
- ConsumerConnectionPoint.cs
- TraceSection.cs
- SafeFileMappingHandle.cs
- EntitySetBaseCollection.cs
- DataProtection.cs
- ListBoxItem.cs
- TokenFactoryBase.cs
- InfiniteIntConverter.cs
- ExternalException.cs
- WindowsButton.cs
- PassportAuthenticationEventArgs.cs
- VBIdentifierTrimConverter.cs
- CacheForPrimitiveTypes.cs
- ReachPageContentSerializer.cs
- DrawingBrush.cs
- HttpWriter.cs
- StructuralCache.cs
- DefaultPropertiesToSend.cs
- EncodingNLS.cs
- MatrixTransform.cs
- Thread.cs
- FormViewAutoFormat.cs
- OutOfProcStateClientManager.cs
- Decoder.cs
- XmlEntity.cs
- ComponentResourceManager.cs
- PerformanceCounterNameAttribute.cs
- UniformGrid.cs
- XmlSchemaAnyAttribute.cs
- Rfc2898DeriveBytes.cs
- ColumnResizeUndoUnit.cs
- Color.cs
- UrlMappingsSection.cs
- ICspAsymmetricAlgorithm.cs
- XmlRawWriter.cs
- OperationCanceledException.cs
- WebProxyScriptElement.cs
- XamlBuildTaskServices.cs
- ReadOnlyNameValueCollection.cs
- TargetParameterCountException.cs
- ArrangedElementCollection.cs
- SystemWebExtensionsSectionGroup.cs
- Win32SafeHandles.cs
- ProcessHostMapPath.cs
- Invariant.cs
- PromptEventArgs.cs
- ComNativeDescriptor.cs
- MultiTrigger.cs
- ChangeNode.cs
- WinFormsSecurity.cs
- WindowsTokenRoleProvider.cs
- TextWriterTraceListener.cs
- ListViewGroup.cs
- XmlChoiceIdentifierAttribute.cs
- VSWCFServiceContractGenerator.cs
- DbProviderFactories.cs
- Int32RectValueSerializer.cs
- PagesSection.cs
- ConnectionStringsExpressionBuilder.cs
- DetailsViewInsertedEventArgs.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- HtmlControlPersistable.cs
- _LocalDataStoreMgr.cs
- TypeBuilder.cs
- SqlBuilder.cs