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 / QuaternionAnimation.cs / 1 / 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
- TimeSpanStorage.cs
- PropertyDescriptorGridEntry.cs
- PageBreakRecord.cs
- GACIdentityPermission.cs
- EventToken.cs
- ContextBase.cs
- TypeReference.cs
- ImportCatalogPart.cs
- MatchSingleFxEngineOpcode.cs
- SerialReceived.cs
- ServiceDescriptionContext.cs
- BinHexDecoder.cs
- Sequence.cs
- VBCodeProvider.cs
- ProgressChangedEventArgs.cs
- ToggleButtonAutomationPeer.cs
- DeferredElementTreeState.cs
- BindStream.cs
- EncryptedReference.cs
- OdbcParameterCollection.cs
- PreDigestedSignedInfo.cs
- XamlClipboardData.cs
- StructuredProperty.cs
- CapabilitiesAssignment.cs
- EncodingStreamWrapper.cs
- MimeMultiPart.cs
- DesignerCapabilities.cs
- ColumnMapVisitor.cs
- PreviewControlDesigner.cs
- RenderData.cs
- WebResourceAttribute.cs
- XPathItem.cs
- ContentElementCollection.cs
- WindowsGraphics2.cs
- TemplatePropertyEntry.cs
- CodeArrayCreateExpression.cs
- PtsHelper.cs
- XmlHierarchicalEnumerable.cs
- TrackingProfileDeserializationException.cs
- DynamicMethod.cs
- Module.cs
- _DisconnectOverlappedAsyncResult.cs
- MemberPath.cs
- XmlSchemaSet.cs
- AsymmetricSignatureFormatter.cs
- COM2IPerPropertyBrowsingHandler.cs
- CustomDictionarySources.cs
- StateFinalizationDesigner.cs
- Viewport2DVisual3D.cs
- HttpServerUtilityBase.cs
- FullTrustAssembliesSection.cs
- EncoderNLS.cs
- PopupEventArgs.cs
- UnauthorizedAccessException.cs
- AdPostCacheSubstitution.cs
- ExecutedRoutedEventArgs.cs
- EditorOptionAttribute.cs
- NotifyParentPropertyAttribute.cs
- PenThreadPool.cs
- StringComparer.cs
- OutputCacheProviderCollection.cs
- FixedSOMImage.cs
- HtmlTextArea.cs
- SpellCheck.cs
- RegisteredScript.cs
- BitmapData.cs
- DataGridAutoFormatDialog.cs
- XPathDocument.cs
- PhonemeEventArgs.cs
- XmlSchema.cs
- DesignTimeVisibleAttribute.cs
- SQLUtility.cs
- XmlNode.cs
- TextProperties.cs
- ApplicationCommands.cs
- ConfigurationSectionGroupCollection.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- WizardDesigner.cs
- MultipartIdentifier.cs
- Serializer.cs
- SqlRetyper.cs
- EventWaitHandleSecurity.cs
- StreamReader.cs
- RowTypeElement.cs
- HybridCollection.cs
- RIPEMD160.cs
- DataContract.cs
- Nullable.cs
- AspNetPartialTrustHelpers.cs
- TableAutomationPeer.cs
- BamlTreeUpdater.cs
- WindowsPen.cs
- Container.cs
- XhtmlBasicCalendarAdapter.cs
- NativeWindow.cs
- HtmlInputImage.cs
- FunctionImportElement.cs
- Number.cs
- BypassElementCollection.cs
- CheckBoxList.cs