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 / LinearQuaternionKeyFrame.cs / 1 / LinearQuaternionKeyFrame.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; using System.Windows; using MS.Internal.KnownBoxes; namespace System.Windows.Media.Animation { ////// This class is used as part of a QuaternionKeyFrameCollection in /// conjunction with a KeyFrameQuaternionAnimation to animate a /// Quaternion property value along a set of key frames. /// /// This QuaternionKeyFrame interpolates the between the Quaternion Value of /// the previous key frame and its own Value linearly to produce its output value. /// public partial class LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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 { ////// This class is used as part of a QuaternionKeyFrameCollection in /// conjunction with a KeyFrameQuaternionAnimation to animate a /// Quaternion property value along a set of key frames. /// /// This QuaternionKeyFrame interpolates the between the Quaternion Value of /// the previous key frame and its own Value linearly to produce its output value. /// public partial class LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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
- AutomationIdentifier.cs
- ContractCodeDomInfo.cs
- TypeValidationEventArgs.cs
- ConnectionPointConverter.cs
- CanExecuteRoutedEventArgs.cs
- PaginationProgressEventArgs.cs
- ValidatorCollection.cs
- ObjectHandle.cs
- Visitor.cs
- SecureStringHasher.cs
- DataKeyCollection.cs
- WarningException.cs
- DataGridViewRowsAddedEventArgs.cs
- DocumentApplicationJournalEntryEventArgs.cs
- HttpResponse.cs
- TypeInfo.cs
- PolyLineSegment.cs
- ValueConversionAttribute.cs
- dataSvcMapFileLoader.cs
- BinaryFormatterWriter.cs
- SchemaNotation.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- Label.cs
- SecurityTokenValidationException.cs
- DelegateHelpers.cs
- TabRenderer.cs
- DiscoveryReference.cs
- DataGrid.cs
- RecordsAffectedEventArgs.cs
- TableRowCollection.cs
- MustUnderstandBehavior.cs
- ScrollItemProviderWrapper.cs
- DataRelationPropertyDescriptor.cs
- DataService.cs
- CheckBoxRenderer.cs
- MeasurementDCInfo.cs
- DataGridViewAutoSizeModeEventArgs.cs
- Message.cs
- RuleConditionDialog.cs
- MemoryFailPoint.cs
- BrowserInteropHelper.cs
- QueryPageSettingsEventArgs.cs
- ParseHttpDate.cs
- DrawingImage.cs
- ZeroOpNode.cs
- TypeToken.cs
- XamlValidatingReader.cs
- LOSFormatter.cs
- TransactionFlowElement.cs
- DataKeyArray.cs
- DocumentPageViewAutomationPeer.cs
- ClientApiGenerator.cs
- ValidationSummary.cs
- FileDialogCustomPlacesCollection.cs
- GroupBoxRenderer.cs
- TemplateBindingExtension.cs
- Decimal.cs
- TextEffect.cs
- SQLConvert.cs
- _DigestClient.cs
- HandoffBehavior.cs
- Model3DGroup.cs
- SchemaCollectionCompiler.cs
- WinFormsUtils.cs
- PagedControl.cs
- MD5CryptoServiceProvider.cs
- LabelLiteral.cs
- FileUpload.cs
- SafeNativeMemoryHandle.cs
- ProcessingInstructionAction.cs
- Win32.cs
- VisualStyleElement.cs
- CoTaskMemUnicodeSafeHandle.cs
- ConfigurationProperty.cs
- PaginationProgressEventArgs.cs
- RegistryPermission.cs
- TreeNodeClickEventArgs.cs
- DbConnectionOptions.cs
- EDesignUtil.cs
- XmlDictionaryReaderQuotasElement.cs
- QueryCacheManager.cs
- Label.cs
- XmlSerializationWriter.cs
- _CookieModule.cs
- DataGridRowClipboardEventArgs.cs
- QilSortKey.cs
- SystemWebCachingSectionGroup.cs
- AttributeCollection.cs
- LineVisual.cs
- WsiProfilesElementCollection.cs
- RegistryConfigurationProvider.cs
- ComponentDispatcherThread.cs
- Animatable.cs
- FilterQueryOptionExpression.cs
- OLEDB_Enum.cs
- PropertyConverter.cs
- PolicyManager.cs
- HTMLTextWriter.cs
- TypeUnloadedException.cs
- MasterPageCodeDomTreeGenerator.cs