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
- CodeDirectionExpression.cs
- QilUnary.cs
- EmissiveMaterial.cs
- CopyNodeSetAction.cs
- ClientRoleProvider.cs
- URLAttribute.cs
- CodeDelegateInvokeExpression.cs
- WindowsAltTab.cs
- SqlServices.cs
- LocalBuilder.cs
- BaseCodePageEncoding.cs
- QualificationDataAttribute.cs
- BeginEvent.cs
- SoapMessage.cs
- EventLogStatus.cs
- EffectiveValueEntry.cs
- ConfigUtil.cs
- SmiEventSink_Default.cs
- EditorZoneBase.cs
- TextPointerBase.cs
- ArrangedElement.cs
- PhysicalAddress.cs
- FtpWebResponse.cs
- RightsManagementResourceHelper.cs
- DataServiceOperationContext.cs
- XmlSerializerFactory.cs
- StaticExtension.cs
- SQLBinary.cs
- ipaddressinformationcollection.cs
- ArrayListCollectionBase.cs
- OleDbSchemaGuid.cs
- PostBackTrigger.cs
- ObjectCloneHelper.cs
- ConsoleKeyInfo.cs
- SafeProcessHandle.cs
- StylusTip.cs
- TrimSurroundingWhitespaceAttribute.cs
- DataAdapter.cs
- TextEditorTables.cs
- ReflectionServiceProvider.cs
- ListControlStringCollectionEditor.cs
- RectIndependentAnimationStorage.cs
- SmiContext.cs
- QualifierSet.cs
- CellParaClient.cs
- XPathDescendantIterator.cs
- TextServicesManager.cs
- Serializer.cs
- MachineKeySection.cs
- WebPartPersonalization.cs
- MetadataException.cs
- followingquery.cs
- ClientBuildManager.cs
- DataGridCaption.cs
- PolyQuadraticBezierSegment.cs
- StringFunctions.cs
- PrintSystemException.cs
- OleDbError.cs
- ExpressionValueEditor.cs
- ProxyHwnd.cs
- CryptoKeySecurity.cs
- SimpleParser.cs
- DebugView.cs
- ImageIndexConverter.cs
- DataGridTableCollection.cs
- COAUTHINFO.cs
- DeferredRunTextReference.cs
- DataGridViewAdvancedBorderStyle.cs
- BitmapEffectDrawing.cs
- CaseCqlBlock.cs
- SafeProcessHandle.cs
- CustomAttribute.cs
- DbQueryCommandTree.cs
- Encoder.cs
- RowUpdatingEventArgs.cs
- HttpCachePolicy.cs
- ObjectTypeMapping.cs
- Function.cs
- XmlAggregates.cs
- MenuItemCollectionEditorDialog.cs
- StringWriter.cs
- XmlTextWriter.cs
- Bold.cs
- EntityTransaction.cs
- WebPartsPersonalization.cs
- MetadataArtifactLoaderResource.cs
- DeferredReference.cs
- CatalogPartChrome.cs
- PermissionRequestEvidence.cs
- TreeViewImageIndexConverter.cs
- PopupRootAutomationPeer.cs
- TaiwanCalendar.cs
- EventSinkActivity.cs
- MobileListItem.cs
- AvtEvent.cs
- PropertySet.cs
- util.cs
- PathFigure.cs
- WebCategoryAttribute.cs
- StructuredType.cs