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
- Trigger.cs
- AutoGeneratedFieldProperties.cs
- XmlSerializerAssemblyAttribute.cs
- ColumnHeader.cs
- JoinTreeSlot.cs
- ViewGenResults.cs
- SystemEvents.cs
- SoapFault.cs
- HttpResponseInternalWrapper.cs
- DataGridViewLinkColumn.cs
- CodeDirectiveCollection.cs
- ApplicationBuildProvider.cs
- ResourceDefaultValueAttribute.cs
- TextParagraphCache.cs
- BamlLocalizer.cs
- PaintValueEventArgs.cs
- DataContractSerializerOperationBehavior.cs
- DefaultAsyncDataDispatcher.cs
- ProxyFragment.cs
- EntityType.cs
- KnownBoxes.cs
- XmlSchema.cs
- EntityCommandCompilationException.cs
- DynamicPropertyReader.cs
- WindowsGraphicsWrapper.cs
- TreePrinter.cs
- WpfXamlMember.cs
- LoadRetryStrategyFactory.cs
- UpdatePanelControlTrigger.cs
- BinaryNegotiation.cs
- PartialTrustHelpers.cs
- DateTimeConverter.cs
- InkSerializer.cs
- MonitoringDescriptionAttribute.cs
- FormsAuthenticationConfiguration.cs
- ActivityDesigner.cs
- glyphs.cs
- mda.cs
- PaginationProgressEventArgs.cs
- ScrollItemProviderWrapper.cs
- ParseNumbers.cs
- PageParserFilter.cs
- ElementHost.cs
- TabItem.cs
- DeferredTextReference.cs
- NodeInfo.cs
- AppSettingsExpressionBuilder.cs
- GestureRecognizer.cs
- ProfileGroupSettings.cs
- Pair.cs
- Timer.cs
- PathData.cs
- UnsafeNativeMethodsCLR.cs
- Propagator.ExtentPlaceholderCreator.cs
- XmlSiteMapProvider.cs
- ProgressiveCrcCalculatingStream.cs
- InitializingNewItemEventArgs.cs
- EventDescriptorCollection.cs
- EditorPartCollection.cs
- KeyInfo.cs
- XpsViewerException.cs
- CornerRadiusConverter.cs
- DbParameterCollectionHelper.cs
- RegexCode.cs
- SafeCoTaskMem.cs
- WebPartCatalogCloseVerb.cs
- TextViewSelectionProcessor.cs
- DictionaryEditChange.cs
- LayoutTable.cs
- CqlQuery.cs
- MessageParameterAttribute.cs
- MailFileEditor.cs
- TypeSource.cs
- CheckBoxAutomationPeer.cs
- DbConnectionStringCommon.cs
- DBDataPermission.cs
- StylusLogic.cs
- HtmlFormWrapper.cs
- BitmapEffect.cs
- XPathBuilder.cs
- ComboBoxItem.cs
- ComponentEditorPage.cs
- relpropertyhelper.cs
- MouseGesture.cs
- CharEntityEncoderFallback.cs
- ZoneLinkButton.cs
- LostFocusEventManager.cs
- DefaultValueTypeConverter.cs
- OdbcConnectionPoolProviderInfo.cs
- URL.cs
- ConfigUtil.cs
- XmlEventCache.cs
- HandleRef.cs
- TypedElement.cs
- SmtpReplyReader.cs
- DataGridHeaderBorder.cs
- PkcsUtils.cs
- IsolatedStorageFile.cs
- OrCondition.cs
- ScrollViewerAutomationPeer.cs