Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / EasingQuaternionKeyFrame.cs / 1305600 / EasingQuaternionKeyFrame.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 with Easing to produce its output value. /// public partial class EasingQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(EasingQuaternionKeyFrame), 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 with Easing to produce its output value. /// public partial class EasingQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(EasingQuaternionKeyFrame), 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
- ScriptHandlerFactory.cs
- DecoderFallbackWithFailureFlag.cs
- _CacheStreams.cs
- httpapplicationstate.cs
- ADConnectionHelper.cs
- Schedule.cs
- DatagridviewDisplayedBandsData.cs
- EmptyEnumerator.cs
- FilteredSchemaElementLookUpTable.cs
- OutputScopeManager.cs
- DoubleAnimationClockResource.cs
- TextContainerChangedEventArgs.cs
- CodeNamespaceImport.cs
- QueryExpr.cs
- FrameworkElement.cs
- PropertyTabAttribute.cs
- DataRowExtensions.cs
- IdentitySection.cs
- VirtualPathUtility.cs
- HtmlTernaryTree.cs
- InvokeMemberBinder.cs
- MessageQueuePermissionEntry.cs
- UnsafeNativeMethods.cs
- StringArrayConverter.cs
- CollectionBase.cs
- TimeZone.cs
- TraceInternal.cs
- CoTaskMemSafeHandle.cs
- RSAPKCS1SignatureDeformatter.cs
- MessageHeaders.cs
- DispatcherTimer.cs
- DefaultHttpHandler.cs
- LinkUtilities.cs
- HtmlValidationSummaryAdapter.cs
- ReliableSession.cs
- OuterGlowBitmapEffect.cs
- PackageRelationshipSelector.cs
- TrackingLocationCollection.cs
- AspProxy.cs
- CheckBox.cs
- baseaxisquery.cs
- FileVersionInfo.cs
- DatagridviewDisplayedBandsData.cs
- RegularExpressionValidator.cs
- OleDbCommand.cs
- SafeProcessHandle.cs
- ResXFileRef.cs
- VirtualPathProvider.cs
- BrushMappingModeValidation.cs
- AsyncPostBackErrorEventArgs.cs
- MediaEntryAttribute.cs
- HitTestParameters.cs
- XmlMemberMapping.cs
- ListBoxDesigner.cs
- TeredoHelper.cs
- ConfigurationException.cs
- ToolStripPanelSelectionGlyph.cs
- WinEventQueueItem.cs
- RecognizedAudio.cs
- SettingsSection.cs
- ContourSegment.cs
- StylusPoint.cs
- FrameworkName.cs
- IntSecurity.cs
- LookupNode.cs
- CodeCatchClause.cs
- SingleResultAttribute.cs
- ViewEvent.cs
- ObjectSecurity.cs
- AliasExpr.cs
- TransformGroup.cs
- SqlTriggerAttribute.cs
- RectConverter.cs
- WebControl.cs
- QueryStringParameter.cs
- ClientApiGenerator.cs
- MinimizableAttributeTypeConverter.cs
- RadialGradientBrush.cs
- SubMenuStyle.cs
- TableItemProviderWrapper.cs
- CodeAccessPermission.cs
- hresults.cs
- TypeHelpers.cs
- TextFormatterHost.cs
- ToolStripItemCollection.cs
- StylusShape.cs
- PeerToPeerException.cs
- DataContext.cs
- CreateUserWizardStep.cs
- ListItemConverter.cs
- AssemblyHash.cs
- XmlSerializationReader.cs
- SocketInformation.cs
- ReaderOutput.cs
- Region.cs
- GroupPartitionExpr.cs
- FixedSOMFixedBlock.cs
- ParentQuery.cs
- ActivityInstance.cs
- PageStatePersister.cs