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
- SoapSchemaImporter.cs
- ControlLocalizer.cs
- AutoSizeToolBoxItem.cs
- FilterableAttribute.cs
- UniqueConstraint.cs
- ContractCodeDomInfo.cs
- COM2EnumConverter.cs
- FamilyMapCollection.cs
- CustomErrorCollection.cs
- SamlAuthenticationStatement.cs
- AuthorizationRuleCollection.cs
- UserInitiatedNavigationPermission.cs
- SegmentTree.cs
- Assembly.cs
- XmlSerializerFactory.cs
- AssemblySettingAttributes.cs
- CompModSwitches.cs
- VirtualizedContainerService.cs
- Point3DCollection.cs
- OdbcError.cs
- ExpressionLexer.cs
- EntityContainerEntitySet.cs
- FileLogRecordEnumerator.cs
- EventMappingSettingsCollection.cs
- EntityDataSourceDataSelection.cs
- HttpCachePolicy.cs
- LogReserveAndAppendState.cs
- ComplusTypeValidator.cs
- OleDbDataAdapter.cs
- RetrieveVirtualItemEventArgs.cs
- ListViewGroupConverter.cs
- TemplateControlCodeDomTreeGenerator.cs
- oledbconnectionstring.cs
- VirtualPathData.cs
- DesignObjectWrapper.cs
- DefaultDiscoveryService.cs
- DBDataPermission.cs
- IdnElement.cs
- Rotation3DKeyFrameCollection.cs
- PaperSource.cs
- WebPartAddingEventArgs.cs
- LinkButton.cs
- PhoneCall.cs
- ExpressionEditorSheet.cs
- WebRequestModuleElement.cs
- IISMapPath.cs
- CreateCardRequest.cs
- MappingMetadataHelper.cs
- XmlSchemaDocumentation.cs
- Run.cs
- RequestCachePolicy.cs
- ConsoleCancelEventArgs.cs
- WinFormsUtils.cs
- PrimitiveType.cs
- ConfigXmlText.cs
- XPathAncestorQuery.cs
- DbException.cs
- SystemIPGlobalProperties.cs
- XmlBinaryWriterSession.cs
- ConstructorBuilder.cs
- SettingsPropertyIsReadOnlyException.cs
- FrameworkTextComposition.cs
- PropertyChangedEventArgs.cs
- PathStreamGeometryContext.cs
- Mutex.cs
- ProtocolReflector.cs
- HtmlEmptyTagControlBuilder.cs
- TableItemProviderWrapper.cs
- AccessKeyManager.cs
- Deserializer.cs
- ResourceDisplayNameAttribute.cs
- MaxSessionCountExceededException.cs
- XmlSchemaSimpleContentRestriction.cs
- RoleExceptions.cs
- GridViewRow.cs
- ProfessionalColors.cs
- ApplicationTrust.cs
- XmlDictionaryString.cs
- _CookieModule.cs
- SecuritySessionFilter.cs
- HttpFileCollectionWrapper.cs
- BlurEffect.cs
- EncryptedXml.cs
- CqlBlock.cs
- ApplicationContext.cs
- TextTreeTextBlock.cs
- PrePostDescendentsWalker.cs
- SafeProcessHandle.cs
- PartBasedPackageProperties.cs
- XmlSerializableReader.cs
- XmlSchemaChoice.cs
- Attributes.cs
- CombinedHttpChannel.cs
- BufferModesCollection.cs
- RootProjectionNode.cs
- ListDataHelper.cs
- TaskCanceledException.cs
- WindowsScrollBarBits.cs
- OperationAbortedException.cs
- ListControlDataBindingHandler.cs