Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ToolboxBitmapAttribute.cs
- DispatcherTimer.cs
- NavigationService.cs
- ImageListDesigner.cs
- SingleSelectRootGridEntry.cs
- FtpWebRequest.cs
- WebPartsPersonalizationAuthorization.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ViewStateChangedEventArgs.cs
- DbReferenceCollection.cs
- RectConverter.cs
- UIElement3D.cs
- ImpersonateTokenRef.cs
- ApplicationSettingsBase.cs
- DbSource.cs
- CanExecuteRoutedEventArgs.cs
- AutomationElementCollection.cs
- TemplateBuilder.cs
- DriveNotFoundException.cs
- SQlBooleanStorage.cs
- ProcessProtocolHandler.cs
- MatrixConverter.cs
- precedingquery.cs
- QueryComponents.cs
- StateElementCollection.cs
- CustomCredentialPolicy.cs
- HtmlShimManager.cs
- DesignSurfaceManager.cs
- DynamicPropertyReader.cs
- MaskedTextBoxTextEditor.cs
- SByteStorage.cs
- Base64WriteStateInfo.cs
- ServiceModelTimeSpanValidator.cs
- InternalEnumValidatorAttribute.cs
- EdmMember.cs
- BitmapEffectrendercontext.cs
- BatchStream.cs
- InputManager.cs
- NotConverter.cs
- TaskFormBase.cs
- DetailsViewDeleteEventArgs.cs
- DataGridHelper.cs
- BoolExpression.cs
- DNS.cs
- PolicyLevel.cs
- IERequestCache.cs
- ResourceContainer.cs
- Expressions.cs
- QueryExpr.cs
- HashSetDebugView.cs
- TransactionWaitAsyncResult.cs
- AspNetPartialTrustHelpers.cs
- CodeExpressionRuleDeclaration.cs
- QuaternionValueSerializer.cs
- ExpressionNormalizer.cs
- ReadOnlyActivityGlyph.cs
- SourceItem.cs
- ResXBuildProvider.cs
- Scheduler.cs
- PolyBezierSegment.cs
- SpellerStatusTable.cs
- OracleConnection.cs
- ScrollItemPatternIdentifiers.cs
- ControlCollection.cs
- Psha1DerivedKeyGenerator.cs
- AnimationClockResource.cs
- ItemCollection.cs
- HiddenFieldDesigner.cs
- LocatorGroup.cs
- ViewCellSlot.cs
- SqlParameterCollection.cs
- Options.cs
- DataSet.cs
- SqlServer2KCompatibilityAnnotation.cs
- DrawingContextDrawingContextWalker.cs
- PeerNearMe.cs
- ContractListAdapter.cs
- ToolStripDropDown.cs
- ObjectAnimationUsingKeyFrames.cs
- ReachVisualSerializer.cs
- MobileControl.cs
- AppDomainGrammarProxy.cs
- EdmSchemaError.cs
- CharAnimationUsingKeyFrames.cs
- Switch.cs
- ArcSegment.cs
- LinqDataView.cs
- WebPartManager.cs
- XmlDocumentSerializer.cs
- OdbcUtils.cs
- DiscardableAttribute.cs
- CompilationLock.cs
- UpdatePanelControlTrigger.cs
- WindowsEditBox.cs
- _HTTPDateParse.cs
- ContainerSelectorBehavior.cs
- XsdValidatingReader.cs
- IndependentAnimationStorage.cs
- ListViewDesigner.cs
- ModelItemDictionary.cs