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
- SignedXml.cs
- OutputScope.cs
- Helper.cs
- SchemaEntity.cs
- MetadataProperty.cs
- LockCookie.cs
- BaseCAMarshaler.cs
- ProfilePropertyNameValidator.cs
- SoapEnumAttribute.cs
- ApplicationId.cs
- StreamUpdate.cs
- ExpressionBuilderCollection.cs
- Style.cs
- XmlNodeComparer.cs
- IISUnsafeMethods.cs
- ProofTokenCryptoHandle.cs
- InternalConfirm.cs
- CacheSection.cs
- CollectionBase.cs
- FusionWrap.cs
- ListBoxItem.cs
- AutoResetEvent.cs
- OpenTypeLayout.cs
- PaginationProgressEventArgs.cs
- JsonWriterDelegator.cs
- SmtpMail.cs
- ObjectDataSourceDisposingEventArgs.cs
- TextEditorCopyPaste.cs
- LightweightCodeGenerator.cs
- CompressionTracing.cs
- ToolStripItemGlyph.cs
- ActivationWorker.cs
- IPHostEntry.cs
- TitleStyle.cs
- ToolStripLabel.cs
- FloaterParaClient.cs
- DataSourceCache.cs
- ParserHooks.cs
- SiteMapNodeCollection.cs
- ScrollItemPatternIdentifiers.cs
- SplineKeyFrames.cs
- EditingMode.cs
- NGCSerializationManagerAsync.cs
- EpmSourcePathSegment.cs
- Rules.cs
- ConvertersCollection.cs
- IRCollection.cs
- EntityDataSourceDataSelection.cs
- _LazyAsyncResult.cs
- AccessDataSourceView.cs
- UpdatePanelControlTrigger.cs
- ActiveDocumentEvent.cs
- OleDbRowUpdatingEvent.cs
- CookielessHelper.cs
- FixedDocument.cs
- ScalarConstant.cs
- FixedDocumentPaginator.cs
- SecurityKeyIdentifierClause.cs
- autovalidator.cs
- EdmError.cs
- FrameworkReadOnlyPropertyMetadata.cs
- TableChangeProcessor.cs
- LinkButton.cs
- SynchronizingStream.cs
- RootProfilePropertySettingsCollection.cs
- EncodingStreamWrapper.cs
- SymmetricAlgorithm.cs
- SafeSystemMetrics.cs
- ObjectQuery_EntitySqlExtensions.cs
- WebZoneDesigner.cs
- DataViewSetting.cs
- XmlLanguageConverter.cs
- ContextStack.cs
- AlignmentXValidation.cs
- TemplatePagerField.cs
- Point4D.cs
- DbConnectionPoolGroupProviderInfo.cs
- PropertyRecord.cs
- DataTableCollection.cs
- BamlLocalizationDictionary.cs
- ModuleBuilder.cs
- BuilderInfo.cs
- querybuilder.cs
- WebResourceAttribute.cs
- LassoHelper.cs
- FindResponse.cs
- ValueQuery.cs
- HttpConfigurationContext.cs
- ComplexType.cs
- TemplateControlBuildProvider.cs
- QueryCacheKey.cs
- DNS.cs
- InkCanvas.cs
- SortDescriptionCollection.cs
- SqlTriggerContext.cs
- HttpDictionary.cs
- ObjectDataSourceMethodEventArgs.cs
- Publisher.cs
- Int16KeyFrameCollection.cs
- Utility.cs