Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / EasingQuaternionKeyFrame.cs / 1305600 / EasingQuaternionKeyFrame.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; using System.Windows; using MS.Internal.KnownBoxes; namespace System.Windows.Media.Animation { ////// This class is used as part of a QuaternionKeyFrameCollection in /// conjunction with a KeyFrameQuaternionAnimation to animate a /// Quaternion property value along a set of key frames. /// /// This QuaternionKeyFrame interpolates the between the Quaternion Value of /// the previous key frame and its own Value Linearly with Easing to produce its output value. /// public partial class EasingQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(EasingQuaternionKeyFrame), 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 { ////// This class is used as part of a QuaternionKeyFrameCollection in /// conjunction with a KeyFrameQuaternionAnimation to animate a /// Quaternion property value along a set of key frames. /// /// This QuaternionKeyFrame interpolates the between the Quaternion Value of /// the previous key frame and its own Value Linearly with Easing to produce its output value. /// public partial class EasingQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(EasingQuaternionKeyFrame), 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
- ByteBufferPool.cs
- DataSysAttribute.cs
- ExpressionBindingCollection.cs
- FormatException.cs
- coordinatorscratchpad.cs
- TextViewDesigner.cs
- WorkflowInstance.cs
- FontUnitConverter.cs
- DataBoundControlDesigner.cs
- ScriptControlDescriptor.cs
- RadialGradientBrush.cs
- TcpHostedTransportConfiguration.cs
- NavigationProperty.cs
- TrimSurroundingWhitespaceAttribute.cs
- LongValidatorAttribute.cs
- DesignTimeSiteMapProvider.cs
- OpenFileDialog.cs
- WebPartConnectionCollection.cs
- AuthenticationConfig.cs
- OfTypeExpression.cs
- Compiler.cs
- SplineKeyFrames.cs
- BufferBuilder.cs
- ParseChildrenAsPropertiesAttribute.cs
- StructuredTypeInfo.cs
- SpeechUI.cs
- IdentityValidationException.cs
- ConversionContext.cs
- TextBox.cs
- WebBrowserSiteBase.cs
- DbConnectionInternal.cs
- SeekableReadStream.cs
- CodeSubDirectory.cs
- TriState.cs
- WindowsIPAddress.cs
- String.cs
- InputLanguage.cs
- DeferredReference.cs
- VisualBasicHelper.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ScrollProperties.cs
- Transform.cs
- DataGridViewButtonColumn.cs
- TraceLog.cs
- ManagementObjectCollection.cs
- XmlSchemaSearchPattern.cs
- TextStore.cs
- SystemUdpStatistics.cs
- KeyFrames.cs
- SuppressIldasmAttribute.cs
- TextSchema.cs
- CriticalHandle.cs
- EmbeddedMailObjectsCollection.cs
- CustomDictionarySources.cs
- Rss20FeedFormatter.cs
- DbConnectionPool.cs
- HandledMouseEvent.cs
- BypassElementCollection.cs
- ImageSourceValueSerializer.cs
- StorageInfo.cs
- IndentedTextWriter.cs
- FormsAuthenticationTicket.cs
- ConfigsHelper.cs
- XmlSerializerSection.cs
- SoapCodeExporter.cs
- BuildManagerHost.cs
- ListItemParagraph.cs
- File.cs
- dataSvcMapFileLoader.cs
- SchemaConstraints.cs
- DatePickerAutomationPeer.cs
- AffineTransform3D.cs
- BulletedListEventArgs.cs
- Line.cs
- HtmlForm.cs
- ToolStripLabel.cs
- WsatConfiguration.cs
- BooleanFunctions.cs
- HttpClientCertificate.cs
- ToReply.cs
- CodeNamespaceImportCollection.cs
- Cursors.cs
- KeyConverter.cs
- XmlImplementation.cs
- XmlLinkedNode.cs
- HttpException.cs
- EntitySetRetriever.cs
- RtfToken.cs
- Gdiplus.cs
- TableLayoutSettings.cs
- LinkArea.cs
- XsdDataContractExporter.cs
- WindowsRegion.cs
- StateWorkerRequest.cs
- ImageAutomationPeer.cs
- BitSet.cs
- XPathArrayIterator.cs
- CheckBox.cs
- StdValidatorsAndConverters.cs
- NavigationExpr.cs