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
- DataGridViewSelectedColumnCollection.cs
- FlowNode.cs
- ProcessStartInfo.cs
- Privilege.cs
- CustomAttribute.cs
- MethodMessage.cs
- FigureParagraph.cs
- ServiceHttpHandlerFactory.cs
- XmlSchemaAttributeGroup.cs
- RemoveStoryboard.cs
- HostSecurityManager.cs
- CodeTypeOfExpression.cs
- EllipseGeometry.cs
- entityreference_tresulttype.cs
- CorrelationQueryBehavior.cs
- ListenDesigner.cs
- ArraySubsetEnumerator.cs
- Button.cs
- ActivityDefaults.cs
- Control.cs
- BindingExpressionBase.cs
- ViewgenContext.cs
- WindowsToolbarItemAsMenuItem.cs
- InvalidEnumArgumentException.cs
- UdpDiscoveryEndpoint.cs
- DelegatingConfigHost.cs
- SqlFormatter.cs
- DynamicRendererThreadManager.cs
- TTSEngineTypes.cs
- ReadOnlyObservableCollection.cs
- HttpModuleAction.cs
- FilterQueryOptionExpression.cs
- BitmapVisualManager.cs
- XsltContext.cs
- AssertFilter.cs
- StylusShape.cs
- SmtpReplyReaderFactory.cs
- CodeDomComponentSerializationService.cs
- QilVisitor.cs
- AppSettingsReader.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Win32NamedPipes.cs
- DataTemplateSelector.cs
- JsonWriterDelegator.cs
- DesignerSerializerAttribute.cs
- PerformanceCounterPermissionEntry.cs
- XmlMtomWriter.cs
- ReadWriteSpinLock.cs
- SafeFreeMibTable.cs
- ListViewPagedDataSource.cs
- HostedHttpTransportManager.cs
- ObjectDataSourceFilteringEventArgs.cs
- MessageQueueConverter.cs
- XmlSchemaInfo.cs
- IgnoreSectionHandler.cs
- NameValueConfigurationElement.cs
- Int16AnimationUsingKeyFrames.cs
- XmlException.cs
- SafeNativeHandle.cs
- TouchDevice.cs
- RectAnimationUsingKeyFrames.cs
- FixedSOMTableCell.cs
- ListControl.cs
- AnnotationResourceChangedEventArgs.cs
- SecurityPermission.cs
- TaiwanLunisolarCalendar.cs
- TracedNativeMethods.cs
- TableStyle.cs
- ServiceNotStartedException.cs
- XmlUnspecifiedAttribute.cs
- OneOf.cs
- MILUtilities.cs
- StringExpressionSet.cs
- XmlTextEncoder.cs
- TdsParserHelperClasses.cs
- selecteditemcollection.cs
- Crc32Helper.cs
- WebPartConnectionsDisconnectVerb.cs
- GeneratedCodeAttribute.cs
- ThicknessKeyFrameCollection.cs
- CodePageEncoding.cs
- OuterGlowBitmapEffect.cs
- CustomAttributeBuilder.cs
- SortAction.cs
- CodeAccessSecurityEngine.cs
- WebPartEditorCancelVerb.cs
- GB18030Encoding.cs
- SpeechSeg.cs
- Color.cs
- ContentPosition.cs
- SpecialFolderEnumConverter.cs
- Ref.cs
- SmiGettersStream.cs
- TraceEventCache.cs
- BaseParaClient.cs
- SoapAttributeOverrides.cs
- DictionaryKeyPropertyAttribute.cs
- LabelLiteral.cs
- MimeTypeAttribute.cs
- ZipIOLocalFileDataDescriptor.cs