Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- storepermission.cs
- UIServiceHelper.cs
- PeerFlooder.cs
- AsyncPostBackErrorEventArgs.cs
- EventBindingService.cs
- MessageQueueEnumerator.cs
- FileRecordSequenceHelper.cs
- NullEntityWrapper.cs
- SqlDataSourceFilteringEventArgs.cs
- Font.cs
- RotateTransform.cs
- RepeaterItemEventArgs.cs
- DateTimePickerDesigner.cs
- WpfGeneratedKnownProperties.cs
- MenuAutoFormat.cs
- UnsafeNativeMethodsTablet.cs
- CryptoStream.cs
- ObfuscationAttribute.cs
- HyperLinkField.cs
- SelectionEditor.cs
- XmlUtilWriter.cs
- OledbConnectionStringbuilder.cs
- AdobeCFFWrapper.cs
- BindableAttribute.cs
- MultitargetUtil.cs
- AttributeCollection.cs
- InvokeSchedule.cs
- TreeNodeCollection.cs
- DynamicDocumentPaginator.cs
- Track.cs
- TailPinnedEventArgs.cs
- CellLabel.cs
- _NegoState.cs
- PriorityQueue.cs
- Matrix3DStack.cs
- AttributeProviderAttribute.cs
- Exceptions.cs
- OutputCacheSection.cs
- VirtualDirectoryMappingCollection.cs
- ContentType.cs
- CodeDirectionExpression.cs
- RadioButtonFlatAdapter.cs
- WinEventWrap.cs
- PtsPage.cs
- IndicFontClient.cs
- Sql8ExpressionRewriter.cs
- UidPropertyAttribute.cs
- XPathDescendantIterator.cs
- MatrixAnimationUsingKeyFrames.cs
- PrtTicket_Public_Simple.cs
- SqlExpressionNullability.cs
- ArrayExtension.cs
- HtmlTextArea.cs
- DecimalConverter.cs
- ParameterCollection.cs
- PrePrepareMethodAttribute.cs
- LicenseContext.cs
- FormsAuthenticationUserCollection.cs
- WeakKeyDictionary.cs
- sqlstateclientmanager.cs
- SystemColorTracker.cs
- Mappings.cs
- WebPartCollection.cs
- WindowsMenu.cs
- ParamArrayAttribute.cs
- CollectionExtensions.cs
- ImageAutomationPeer.cs
- UrlUtility.cs
- CookieHandler.cs
- ContentElementAutomationPeer.cs
- CodeArrayCreateExpression.cs
- DefaultValueTypeConverter.cs
- ComponentChangedEvent.cs
- DataView.cs
- ComboBox.cs
- FontCacheLogic.cs
- DbConnectionFactory.cs
- EntityModelBuildProvider.cs
- QueryCacheManager.cs
- ToggleProviderWrapper.cs
- XmlSchemaExporter.cs
- SoapAttributeAttribute.cs
- SequentialOutput.cs
- WrappedDispatcherException.cs
- OletxTransactionManager.cs
- SqlAggregateChecker.cs
- WebPartDisplayModeCollection.cs
- DynamicMethod.cs
- ValidatorCollection.cs
- StackOverflowException.cs
- WebPartConnectionsConfigureVerb.cs
- EditingScope.cs
- CorrelationManager.cs
- Viewport2DVisual3D.cs
- DataGridViewRowPostPaintEventArgs.cs
- TypeCollectionDesigner.xaml.cs
- KnownTypesHelper.cs
- DataGridViewRowStateChangedEventArgs.cs
- DataGridViewBindingCompleteEventArgs.cs
- DataColumn.cs