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 / LinearQuaternionKeyFrame.cs / 1 / LinearQuaternionKeyFrame.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 to produce its output value. /// public partial class LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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 to produce its output value. /// public partial class LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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
- HostingEnvironmentException.cs
- Point.cs
- TypographyProperties.cs
- FixUp.cs
- EncoderNLS.cs
- MarkupCompilePass2.cs
- LabelDesigner.cs
- PageThemeCodeDomTreeGenerator.cs
- StringFunctions.cs
- StateMachineWorkflow.cs
- DBDataPermissionAttribute.cs
- DataControlField.cs
- RectConverter.cs
- SqlProcedureAttribute.cs
- GregorianCalendarHelper.cs
- Cursor.cs
- TypedAsyncResult.cs
- TreeView.cs
- _ListenerResponseStream.cs
- SHA256.cs
- CompositeControl.cs
- Column.cs
- QueryContinueDragEventArgs.cs
- ExplicitDiscriminatorMap.cs
- DirectoryInfo.cs
- DataRowChangeEvent.cs
- PieceNameHelper.cs
- PropertyFilterAttribute.cs
- Authorization.cs
- DropSourceBehavior.cs
- PasswordRecoveryAutoFormat.cs
- HostingEnvironment.cs
- ellipse.cs
- ObjectDataSourceDisposingEventArgs.cs
- Component.cs
- HtmlInputReset.cs
- PointHitTestResult.cs
- LinqDataSourceDeleteEventArgs.cs
- TdsEnums.cs
- Regex.cs
- HttpPostClientProtocol.cs
- ToolBarTray.cs
- ToolStripScrollButton.cs
- SocketElement.cs
- MetabaseServerConfig.cs
- ComponentDispatcher.cs
- CompatibleIComparer.cs
- TextServicesCompartmentEventSink.cs
- UpdateExpressionVisitor.cs
- CacheChildrenQuery.cs
- PermissionToken.cs
- InputMethodStateTypeInfo.cs
- EmbeddedMailObject.cs
- FileDialogCustomPlacesCollection.cs
- MessageBuilder.cs
- EmbeddedMailObject.cs
- ExpressionLexer.cs
- httpstaticobjectscollection.cs
- ClientFormsAuthenticationMembershipProvider.cs
- DataGridParentRows.cs
- KeysConverter.cs
- CodeEntryPointMethod.cs
- InvokeProviderWrapper.cs
- SystemEvents.cs
- CellCreator.cs
- SqlParameterCollection.cs
- HashHelper.cs
- BuildManager.cs
- ResourcePermissionBase.cs
- SmtpTransport.cs
- SpecialNameAttribute.cs
- ScriptRegistrationManager.cs
- DateTimeSerializationSection.cs
- KnownBoxes.cs
- LinqDataSourceInsertEventArgs.cs
- SystemMulticastIPAddressInformation.cs
- AngleUtil.cs
- OperatingSystem.cs
- PngBitmapEncoder.cs
- RegionData.cs
- DataGridViewSortCompareEventArgs.cs
- XmlIncludeAttribute.cs
- FixedSOMSemanticBox.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- FlowThrottle.cs
- Crypto.cs
- AssemblyInfo.cs
- Parser.cs
- BaseCodeDomTreeGenerator.cs
- ExpressionStringBuilder.cs
- FreeFormDesigner.cs
- QueryParameter.cs
- ISCIIEncoding.cs
- DataMemberFieldConverter.cs
- HttpException.cs
- Events.cs
- DataGridRow.cs
- AttributeQuery.cs
- cookieexception.cs
- PenThreadPool.cs