Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / QuaternionAnimation.cs / 1305600 / 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
- SqlMethodCallConverter.cs
- DescendentsWalker.cs
- TextReader.cs
- LinqDataSourceContextData.cs
- DesignerHierarchicalDataSourceView.cs
- XmlSchemaSubstitutionGroup.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ExtentKey.cs
- webproxy.cs
- RepeatButtonAutomationPeer.cs
- LocalFileSettingsProvider.cs
- PeerName.cs
- unsafeIndexingFilterStream.cs
- StreamWriter.cs
- MultiPropertyDescriptorGridEntry.cs
- safex509handles.cs
- PageThemeParser.cs
- Timeline.cs
- ClientTargetSection.cs
- SQLRoleProvider.cs
- RtfNavigator.cs
- QueueNameHelper.cs
- TextTreeDeleteContentUndoUnit.cs
- TCPListener.cs
- CommandEventArgs.cs
- SettingsBase.cs
- Rect3D.cs
- PrintController.cs
- InvalidProgramException.cs
- BitmapSourceSafeMILHandle.cs
- EnvironmentPermission.cs
- ClickablePoint.cs
- XmlSchemaAny.cs
- SplineKeyFrames.cs
- MediaTimeline.cs
- ApplicationFileParser.cs
- LinkTarget.cs
- HebrewNumber.cs
- Header.cs
- ParameterModifier.cs
- CollectionExtensions.cs
- UnsafeNativeMethods.cs
- StylusPointCollection.cs
- EnumValAlphaComparer.cs
- ComPlusDiagnosticTraceRecords.cs
- Screen.cs
- SelectingProviderEventArgs.cs
- HelpOperationInvoker.cs
- MenuEventArgs.cs
- HtmlValidationSummaryAdapter.cs
- JavaScriptString.cs
- ClipboardProcessor.cs
- xdrvalidator.cs
- AccessedThroughPropertyAttribute.cs
- CrossAppDomainChannel.cs
- XmlRawWriter.cs
- WebPartMenu.cs
- UriExt.cs
- SafeFileMapViewHandle.cs
- TimelineClockCollection.cs
- ExpandoObject.cs
- CallbackHandler.cs
- SoapBinding.cs
- RegexCapture.cs
- SQLMembershipProvider.cs
- EmptyCollection.cs
- ThicknessKeyFrameCollection.cs
- Debugger.cs
- ConstraintConverter.cs
- PrePrepareMethodAttribute.cs
- SpeechDetectedEventArgs.cs
- StateMachineHelpers.cs
- EllipseGeometry.cs
- MissingMemberException.cs
- TreeViewImageGenerator.cs
- DoWhile.cs
- TimeoutException.cs
- TextTreeTextNode.cs
- OleDbPermission.cs
- VarRefManager.cs
- Transform3DGroup.cs
- NamespaceList.cs
- ConnectionPointCookie.cs
- EpmContentSerializerBase.cs
- TypeUsageBuilder.cs
- ToolBarButtonClickEvent.cs
- XmlSchemaComplexContentExtension.cs
- XmlFormatExtensionAttribute.cs
- MobileCapabilities.cs
- ClientTargetCollection.cs
- HttpServerProtocol.cs
- StateDesigner.Layouts.cs
- DynamicMethod.cs
- OleDbPermission.cs
- localization.cs
- AutomationIdentifier.cs
- DataServiceStreamResponse.cs
- JulianCalendar.cs
- BindingUtils.cs
- GradientStopCollection.cs