Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / QuaternionAnimation.cs / 1305600 / 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
- OutOfProcStateClientManager.cs
- contentDescriptor.cs
- OutputCacheModule.cs
- Visual3DCollection.cs
- CharacterMetrics.cs
- PrintDialogException.cs
- TextEndOfLine.cs
- EdmComplexPropertyAttribute.cs
- System.Data_BID.cs
- BuildProviderAppliesToAttribute.cs
- ComplexPropertyEntry.cs
- NavigationEventArgs.cs
- OracleBinary.cs
- Compiler.cs
- CodeTypeReferenceExpression.cs
- ProfileManager.cs
- RemotingSurrogateSelector.cs
- QueryAsyncResult.cs
- OpCellTreeNode.cs
- PrivilegedConfigurationManager.cs
- SqlCharStream.cs
- UpdateTracker.cs
- TableColumn.cs
- SafeEventLogReadHandle.cs
- Optimizer.cs
- WebPartEditorApplyVerb.cs
- HtmlControlDesigner.cs
- FocusTracker.cs
- ReferentialConstraint.cs
- ReachFixedDocumentSerializer.cs
- RequestQueryParser.cs
- ReturnType.cs
- SocketElement.cs
- DesignerTextWriter.cs
- Vector3DCollection.cs
- TemplatedEditableDesignerRegion.cs
- XmlSchemaAll.cs
- ToolStripItemClickedEventArgs.cs
- DictionaryContent.cs
- SqlUtil.cs
- OleCmdHelper.cs
- EncryptedPackageFilter.cs
- SqlXmlStorage.cs
- WindowsTreeView.cs
- Pkcs7Signer.cs
- SamlSubject.cs
- CounterSample.cs
- TransformedBitmap.cs
- ResourceDescriptionAttribute.cs
- CodeExporter.cs
- RepeatButton.cs
- GatewayIPAddressInformationCollection.cs
- IncrementalReadDecoders.cs
- AutoCompleteStringCollection.cs
- EdmProperty.cs
- RuleConditionDialog.Designer.cs
- AspProxy.cs
- _SecureChannel.cs
- WindowsListBox.cs
- PrivacyNoticeBindingElement.cs
- CellCreator.cs
- HtmlObjectListAdapter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SessionEndingEventArgs.cs
- safex509handles.cs
- CodeAccessSecurityEngine.cs
- X509Certificate2Collection.cs
- XmlCustomFormatter.cs
- SchemaAttDef.cs
- ListBoxAutomationPeer.cs
- OdbcCommandBuilder.cs
- PropertyIDSet.cs
- PasswordTextNavigator.cs
- Descriptor.cs
- PointLight.cs
- InputBuffer.cs
- MethodCallTranslator.cs
- AutomationProperties.cs
- DocumentSequence.cs
- XamlToRtfWriter.cs
- EnumerableCollectionView.cs
- SapiRecoInterop.cs
- Sentence.cs
- ExtensionQuery.cs
- ReflectTypeDescriptionProvider.cs
- ZipIORawDataFileBlock.cs
- Queue.cs
- PlacementWorkspace.cs
- InputChannelAcceptor.cs
- HelpInfo.cs
- HttpProfileBase.cs
- FieldBuilder.cs
- WebPartEventArgs.cs
- IdentifierCollection.cs
- EntityParameter.cs
- TextTreeFixupNode.cs
- SqlException.cs
- PolicyUtility.cs
- LogStream.cs
- JapaneseCalendar.cs