Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / LinearQuaternionKeyFrame.cs / 1305600 / 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
- ChangeToolStripParentVerb.cs
- ToolStripDropDown.cs
- ActivityCollectionMarkupSerializer.cs
- DataRecordObjectView.cs
- ProfilePropertySettings.cs
- HwndKeyboardInputProvider.cs
- SR.Designer.cs
- GAC.cs
- MemberInfoSerializationHolder.cs
- DPTypeDescriptorContext.cs
- XmlObjectSerializerReadContextComplexJson.cs
- _SslStream.cs
- MetadataConversionError.cs
- ScrollItemPatternIdentifiers.cs
- PKCS1MaskGenerationMethod.cs
- RunInstallerAttribute.cs
- PropertyMetadata.cs
- TabletDeviceInfo.cs
- StylusDevice.cs
- ParsedRoute.cs
- TextParagraphCache.cs
- BooleanStorage.cs
- ContentTextAutomationPeer.cs
- WindowsScroll.cs
- GeometryModel3D.cs
- AppDomainShutdownMonitor.cs
- Encoder.cs
- SspiSafeHandles.cs
- DefaultValidator.cs
- TreeNodeCollection.cs
- DiagnosticTraceSource.cs
- SettingsContext.cs
- DoubleCollectionConverter.cs
- DrawingGroupDrawingContext.cs
- ResourceDescriptionAttribute.cs
- StylusEventArgs.cs
- DbMetaDataFactory.cs
- CompoundFileIOPermission.cs
- DataGridComponentEditor.cs
- AssemblyNameProxy.cs
- PeerNameRecord.cs
- ControlSerializer.cs
- FrameworkContextData.cs
- HandlerMappingMemo.cs
- DataObjectFieldAttribute.cs
- GridViewUpdateEventArgs.cs
- CommonGetThemePartSize.cs
- HttpProcessUtility.cs
- nulltextcontainer.cs
- ApplicationId.cs
- Exception.cs
- HttpListenerRequestUriBuilder.cs
- WebPartTransformer.cs
- ItemCollection.cs
- EntryWrittenEventArgs.cs
- MsmqChannelFactory.cs
- Cursors.cs
- DocumentGridPage.cs
- WinFormsComponentEditor.cs
- Pens.cs
- UnsafeNativeMethods.cs
- TransformCollection.cs
- CommandBindingCollection.cs
- NavigationWindowAutomationPeer.cs
- ContextDataSourceContextData.cs
- TextRangeSerialization.cs
- Cursor.cs
- UniformGrid.cs
- DataGridPagingPage.cs
- JsonDataContract.cs
- State.cs
- Set.cs
- EventDescriptor.cs
- PipeSecurity.cs
- EventRecord.cs
- EncoderReplacementFallback.cs
- ConfigurationSectionGroup.cs
- EpmSyndicationContentSerializer.cs
- TypeValidationEventArgs.cs
- CompilerCollection.cs
- XmlDataSourceView.cs
- CheckBox.cs
- MimeParameters.cs
- QueryableDataSourceView.cs
- TextDocumentView.cs
- ExtendedProtectionPolicyTypeConverter.cs
- OracleDateTime.cs
- ProfileSection.cs
- RegexEditorDialog.cs
- ToolStripDropDown.cs
- DataTrigger.cs
- PhoneCall.cs
- TypeConverterValueSerializer.cs
- RectConverter.cs
- SelectionRangeConverter.cs
- OracleCommandBuilder.cs
- CodePageEncoding.cs
- ClientBuildManager.cs
- CoTaskMemHandle.cs
- HttpCacheParams.cs