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
- HttpProfileBase.cs
- AssociationType.cs
- FileDialog_Vista_Interop.cs
- MSAANativeProvider.cs
- TableDesigner.cs
- StrokeCollectionDefaultValueFactory.cs
- DrawingVisual.cs
- MarshalDirectiveException.cs
- Int32Rect.cs
- AudioFormatConverter.cs
- XamlWriter.cs
- FormsIdentity.cs
- SafeCryptoKeyHandle.cs
- Logging.cs
- DocumentPageTextView.cs
- ContentElementAutomationPeer.cs
- MdiWindowListStrip.cs
- CompositeKey.cs
- EntityContainerEntitySetDefiningQuery.cs
- MemberMaps.cs
- RtfToXamlReader.cs
- ZipIOCentralDirectoryBlock.cs
- ScriptResourceDefinition.cs
- XamlRtfConverter.cs
- ObjectViewQueryResultData.cs
- ToolStripDropDownButton.cs
- NameValueConfigurationCollection.cs
- PreloadHost.cs
- RepeaterItemEventArgs.cs
- RequestTimeoutManager.cs
- InstanceData.cs
- Trace.cs
- DesignerSerializationOptionsAttribute.cs
- HyperLinkDataBindingHandler.cs
- Rectangle.cs
- TimeSpanMinutesConverter.cs
- XamlTypeMapperSchemaContext.cs
- DropTarget.cs
- VisualStyleRenderer.cs
- GPPOINTF.cs
- TextEffect.cs
- Util.cs
- LabelAutomationPeer.cs
- TextEditorCopyPaste.cs
- ProvideValueServiceProvider.cs
- WebConfigurationManager.cs
- CodeDomSerializerException.cs
- UnsafeNativeMethods.cs
- PropertyIDSet.cs
- documentsequencetextview.cs
- TextBounds.cs
- TreeNodeCollection.cs
- EntityDataSourceChangedEventArgs.cs
- XmlSerializerVersionAttribute.cs
- EntityModelSchemaGenerator.cs
- AspNetHostingPermission.cs
- Debug.cs
- MenuScrollingVisibilityConverter.cs
- ToolStripItemDataObject.cs
- QilLiteral.cs
- FamilyTypeface.cs
- Int16.cs
- GACMembershipCondition.cs
- LocalizedNameDescriptionPair.cs
- CategoryAttribute.cs
- DataGridViewButtonCell.cs
- EntityDataSourceMemberPath.cs
- UnsupportedPolicyOptionsException.cs
- InternalsVisibleToAttribute.cs
- Animatable.cs
- TreeNodeCollectionEditor.cs
- Publisher.cs
- Menu.cs
- ImpersonateTokenRef.cs
- StdValidatorsAndConverters.cs
- X509CertificateChain.cs
- ToolStripSystemRenderer.cs
- FamilyCollection.cs
- ClientSettingsStore.cs
- CryptoProvider.cs
- EventProviderWriter.cs
- AccessDataSource.cs
- Rijndael.cs
- BindingList.cs
- columnmapfactory.cs
- TreeNode.cs
- KnowledgeBase.cs
- UserNamePasswordClientCredential.cs
- IdentifierService.cs
- GACIdentityPermission.cs
- FileDialogCustomPlace.cs
- EventListenerClientSide.cs
- HostedTransportConfigurationManager.cs
- VersionValidator.cs
- SqlNode.cs
- PageTheme.cs
- WebUtil.cs
- BasicCommandTreeVisitor.cs
- DesignBindingConverter.cs
- CheckoutException.cs