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
- sitestring.cs
- MetadataArtifactLoaderComposite.cs
- sqlinternaltransaction.cs
- FixedSOMTableRow.cs
- RegexCapture.cs
- ServiceModelActivity.cs
- HttpStaticObjectsCollectionBase.cs
- CallTemplateAction.cs
- AtomicFile.cs
- CompensationHandlingFilter.cs
- IItemContainerGenerator.cs
- PageClientProxyGenerator.cs
- UserControlParser.cs
- ClientTargetSection.cs
- SqlFileStream.cs
- EdmSchemaAttribute.cs
- FlowDocumentView.cs
- DiscoveryReference.cs
- LocatorPartList.cs
- basevalidator.cs
- LabelLiteral.cs
- QueryHandler.cs
- ProviderSettingsCollection.cs
- PixelFormat.cs
- IxmlLineInfo.cs
- DelegateBodyWriter.cs
- PointKeyFrameCollection.cs
- TextProperties.cs
- WebPartDescriptionCollection.cs
- CollectionBuilder.cs
- SqlDeflator.cs
- GeneralTransform3DGroup.cs
- WebPartCollection.cs
- Rotation3DAnimationBase.cs
- GestureRecognitionResult.cs
- MLangCodePageEncoding.cs
- Misc.cs
- FactoryId.cs
- EntityDataSourceMemberPath.cs
- GlyphCache.cs
- RoutedEventHandlerInfo.cs
- RelatedPropertyManager.cs
- PolicyUnit.cs
- ButtonChrome.cs
- MatrixAnimationBase.cs
- JsonDeserializer.cs
- ItemDragEvent.cs
- RemoveStoryboard.cs
- ExpressionHelper.cs
- DesignerActionUI.cs
- BlockCollection.cs
- Binding.cs
- SwitchDesigner.xaml.cs
- CompilerParameters.cs
- Converter.cs
- StylusDownEventArgs.cs
- EndOfStreamException.cs
- DrawingImage.cs
- DynamicPropertyHolder.cs
- DataControlCommands.cs
- PageContentCollection.cs
- PropertyManager.cs
- IIS7WorkerRequest.cs
- UnsafeNativeMethods.cs
- PaperSize.cs
- RTLAwareMessageBox.cs
- COM2ExtendedBrowsingHandler.cs
- DetailsViewModeEventArgs.cs
- NameValueFileSectionHandler.cs
- MediaElement.cs
- PrimitiveCodeDomSerializer.cs
- sqlser.cs
- ReliableChannelListener.cs
- BufferedGraphicsContext.cs
- ByteRangeDownloader.cs
- AssertFilter.cs
- RangeBase.cs
- PrimaryKeyTypeConverter.cs
- TableTextElementCollectionInternal.cs
- WFItemsToSpacerVisibility.cs
- DBSqlParser.cs
- AccessDataSourceView.cs
- WindowsClaimSet.cs
- MenuItemBindingCollection.cs
- Buffer.cs
- NumericUpDownAccelerationCollection.cs
- AdapterDictionary.cs
- ThreadPool.cs
- MailWriter.cs
- WebDescriptionAttribute.cs
- TokenFactoryFactory.cs
- Error.cs
- ColorPalette.cs
- CssTextWriter.cs
- BuildResultCache.cs
- RelationshipManager.cs
- FileChangesMonitor.cs
- ZipIOCentralDirectoryBlock.cs
- CallTemplateAction.cs
- MachineSettingsSection.cs