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
- CodeMemberField.cs
- DescendantQuery.cs
- SchemaTypeEmitter.cs
- ContainerAction.cs
- NullableDecimalAverageAggregationOperator.cs
- CheckBoxField.cs
- ServiceMemoryGates.cs
- XmlNodeChangedEventArgs.cs
- LineServicesRun.cs
- ObjectSecurityT.cs
- RoutedEventValueSerializer.cs
- Domain.cs
- ForeignKeyConstraint.cs
- ConsumerConnectionPointCollection.cs
- SessionEndingCancelEventArgs.cs
- SafeArrayTypeMismatchException.cs
- InvalidOperationException.cs
- UserControl.cs
- ToolStripPanelSelectionGlyph.cs
- Double.cs
- wgx_sdk_version.cs
- TransportSecurityHelpers.cs
- XmlNodeComparer.cs
- JsonFormatReaderGenerator.cs
- MailFileEditor.cs
- ReadContentAsBinaryHelper.cs
- EditingScopeUndoUnit.cs
- XPathDocument.cs
- XamlReaderHelper.cs
- OleTxTransaction.cs
- bidPrivateBase.cs
- XmlUnspecifiedAttribute.cs
- TableAdapterManagerGenerator.cs
- ComponentChangedEvent.cs
- FontInfo.cs
- XslAst.cs
- GenericAuthenticationEventArgs.cs
- CookieProtection.cs
- StrokeNodeData.cs
- OperandQuery.cs
- DataGridRow.cs
- Odbc32.cs
- ClientRuntimeConfig.cs
- RegexBoyerMoore.cs
- SspiSafeHandles.cs
- QuadraticBezierSegment.cs
- SafeWaitHandle.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Util.cs
- OpenTypeLayout.cs
- ThreadStartException.cs
- _HeaderInfo.cs
- OdbcStatementHandle.cs
- ConfigurationProperty.cs
- HwndSource.cs
- SapiInterop.cs
- KeyConverter.cs
- InvalidProgramException.cs
- PropertyInformationCollection.cs
- ClientUrlResolverWrapper.cs
- SqlBuffer.cs
- HwndHostAutomationPeer.cs
- StructuredTypeEmitter.cs
- JsonXmlDataContract.cs
- HandoffBehavior.cs
- PeerObject.cs
- NavigationProgressEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- XmlToDatasetMap.cs
- CompilationRelaxations.cs
- ElementMarkupObject.cs
- GcSettings.cs
- ConstraintManager.cs
- Model3DGroup.cs
- CdpEqualityComparer.cs
- LocalBuilder.cs
- CustomAttributeBuilder.cs
- IPEndPointCollection.cs
- X509SecurityTokenAuthenticator.cs
- WebPartZoneBase.cs
- AspCompat.cs
- AttributeCollection.cs
- UnconditionalPolicy.cs
- RequestSecurityTokenResponse.cs
- parserscommon.cs
- SessionStateModule.cs
- OleDbTransaction.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DataGridViewColumnDesigner.cs
- EventLogPermissionAttribute.cs
- WebPartDisplayMode.cs
- Comparer.cs
- ThicknessAnimation.cs
- ObjectQuery.cs
- ModifierKeysConverter.cs
- CustomAttributeBuilder.cs
- ThrowHelper.cs
- DataServicePagingProviderWrapper.cs
- XmlArrayItemAttribute.cs
- TreeViewItemAutomationPeer.cs