Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ErrorHandler.cs
- SiblingIterators.cs
- Size.cs
- AbsoluteQuery.cs
- ShortcutKeysEditor.cs
- SecondaryIndexList.cs
- CompModHelpers.cs
- RootNamespaceAttribute.cs
- ByValueEqualityComparer.cs
- DataStreamFromComStream.cs
- WindowsAuthenticationModule.cs
- HttpContextServiceHost.cs
- UpdateExpressionVisitor.cs
- ImmutablePropertyDescriptorGridEntry.cs
- BaseValidator.cs
- StandardCommands.cs
- BinaryReader.cs
- ComponentRenameEvent.cs
- APCustomTypeDescriptor.cs
- FrameworkContentElement.cs
- Directory.cs
- XmlIgnoreAttribute.cs
- ping.cs
- BrowserCapabilitiesFactoryBase.cs
- SafeRegistryHandle.cs
- GradientBrush.cs
- StylusPointPropertyInfo.cs
- DetailsViewAutoFormat.cs
- PointHitTestParameters.cs
- RegionData.cs
- ResXBuildProvider.cs
- FragmentQueryProcessor.cs
- WebScriptMetadataMessage.cs
- Registry.cs
- SystemDropShadowChrome.cs
- RuleSetReference.cs
- NavigationProperty.cs
- SoapAttributeOverrides.cs
- FormatVersion.cs
- ApplicationSecurityInfo.cs
- DetailsViewRow.cs
- WebPartTransformer.cs
- MessageQuerySet.cs
- regiisutil.cs
- Rect3D.cs
- SqlDataSourceQueryEditor.cs
- HtmlShimManager.cs
- DesignRelationCollection.cs
- TableLayoutColumnStyleCollection.cs
- BitArray.cs
- HashRepartitionEnumerator.cs
- SystemWebSectionGroup.cs
- ControlCachePolicy.cs
- MenuItemStyleCollection.cs
- RequestTimeoutManager.cs
- List.cs
- CallContext.cs
- MenuItemBindingCollection.cs
- ResourceReferenceKeyNotFoundException.cs
- TableLayoutRowStyleCollection.cs
- RenderDataDrawingContext.cs
- EntityCommandDefinition.cs
- SizeChangedEventArgs.cs
- CodeAttributeDeclarationCollection.cs
- HttpContextBase.cs
- DirtyTextRange.cs
- UIElementAutomationPeer.cs
- NGCSerializer.cs
- CheckBoxList.cs
- PublisherMembershipCondition.cs
- User.cs
- PageAdapter.cs
- FacetDescriptionElement.cs
- DataObject.cs
- CreateUserWizard.cs
- ConstructorBuilder.cs
- CorrelationTokenInvalidatedHandler.cs
- TerminatorSinks.cs
- EntityTransaction.cs
- DbBuffer.cs
- BitmapMetadataBlob.cs
- WebServicesSection.cs
- ProcessInfo.cs
- XmlParserContext.cs
- TreeViewImageKeyConverter.cs
- Regex.cs
- UIElement.cs
- LessThan.cs
- MediaEntryAttribute.cs
- Point4DConverter.cs
- GridViewSelectEventArgs.cs
- ItemAutomationPeer.cs
- BrowserInteropHelper.cs
- AdjustableArrowCap.cs
- ImageAutomationPeer.cs
- ProcessThread.cs
- CompilerResults.cs
- SkipQueryOptionExpression.cs
- CommonProperties.cs
- ColorTransformHelper.cs