Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- HttpConfigurationSystem.cs
- DetailsViewDeleteEventArgs.cs
- columnmapfactory.cs
- ExtentCqlBlock.cs
- ClientRuntimeConfig.cs
- BinaryUtilClasses.cs
- ConfigXmlSignificantWhitespace.cs
- SmtpNetworkElement.cs
- TextAdaptor.cs
- DelegateBodyWriter.cs
- LinqToSqlWrapper.cs
- ColorTransform.cs
- SqlRowUpdatedEvent.cs
- SHA384.cs
- CompilerParameters.cs
- MarkupExtensionReturnTypeAttribute.cs
- RuntimeHandles.cs
- ServerIdentity.cs
- RowUpdatedEventArgs.cs
- HTMLTagNameToTypeMapper.cs
- QueryExecutionOption.cs
- ApplicationActivator.cs
- RegularExpressionValidator.cs
- Drawing.cs
- MetaDataInfo.cs
- HttpWebResponse.cs
- FormsAuthenticationEventArgs.cs
- KnownBoxes.cs
- EventSinkHelperWriter.cs
- ProbeDuplexCD1AsyncResult.cs
- UserControl.cs
- ToolStripContentPanelRenderEventArgs.cs
- ProcessHost.cs
- SchemaExporter.cs
- DbConnectionStringBuilder.cs
- TextPattern.cs
- ConnectivityStatus.cs
- XPathAxisIterator.cs
- SqlWebEventProvider.cs
- BrushConverter.cs
- ArcSegment.cs
- DataGridViewMethods.cs
- GeneralTransform.cs
- HostedElements.cs
- CardSpacePolicyElement.cs
- NamespaceListProperty.cs
- ExpressionLexer.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SettingsPropertyCollection.cs
- BCLDebug.cs
- KeyboardNavigation.cs
- PageCopyCount.cs
- CompilerResults.cs
- InternalDuplexChannelFactory.cs
- TraceLevelStore.cs
- FixUpCollection.cs
- RelationshipDetailsRow.cs
- SchemaInfo.cs
- DocobjHost.cs
- MissingMethodException.cs
- PasswordDeriveBytes.cs
- IgnoreFileBuildProvider.cs
- ListBoxAutomationPeer.cs
- ClickablePoint.cs
- OdbcEnvironment.cs
- BitmapEffectInput.cs
- SubpageParaClient.cs
- HttpCookie.cs
- FigureParagraph.cs
- RegexCapture.cs
- DbProviderFactory.cs
- ObjectAnimationBase.cs
- DesignTimeVisibleAttribute.cs
- ManualWorkflowSchedulerService.cs
- ColumnClickEvent.cs
- AdornerPresentationContext.cs
- ClientCredentialsSecurityTokenManager.cs
- GridLengthConverter.cs
- MSAANativeProvider.cs
- FunctionImportMapping.cs
- SimpleFieldTemplateUserControl.cs
- _BufferOffsetSize.cs
- ReservationNotFoundException.cs
- IfJoinedCondition.cs
- COM2ExtendedUITypeEditor.cs
- SendMailErrorEventArgs.cs
- HtmlLink.cs
- UpDownEvent.cs
- ParameterSubsegment.cs
- GraphicsContainer.cs
- EventDrivenDesigner.cs
- RootCodeDomSerializer.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Oid.cs
- ReadonlyMessageFilter.cs
- ActivityWithResultConverter.cs
- WorkflowMarkupElementEventArgs.cs
- ImpersonationContext.cs
- LocalizedNameDescriptionPair.cs
- DefaultMemberAttribute.cs