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
- CheckBox.cs
- Schema.cs
- EmbeddedMailObject.cs
- DbSource.cs
- MenuTracker.cs
- SiteMapSection.cs
- DiagnosticsElement.cs
- ScriptRegistrationManager.cs
- ExpressionsCollectionConverter.cs
- XmlSchemaChoice.cs
- ObjectPersistData.cs
- Brush.cs
- XmlTypeMapping.cs
- TablePatternIdentifiers.cs
- TraceProvider.cs
- PrincipalPermission.cs
- HTMLTagNameToTypeMapper.cs
- NameValuePair.cs
- ExeConfigurationFileMap.cs
- ParserExtension.cs
- IDispatchConstantAttribute.cs
- NumericExpr.cs
- HtmlGenericControl.cs
- WindowsScroll.cs
- FixedTextView.cs
- RightsManagementErrorHandler.cs
- TransformCollection.cs
- Crc32.cs
- TypedDatasetGenerator.cs
- FlowDocument.cs
- CacheDependency.cs
- Console.cs
- ServiceModelPerformanceCounters.cs
- MemberMaps.cs
- XmlTextReader.cs
- WebServiceErrorEvent.cs
- LinqDataSourceContextEventArgs.cs
- LicenseProviderAttribute.cs
- XmlSchemaExporter.cs
- DbConnectionPool.cs
- TypeDescriptor.cs
- ListCommandEventArgs.cs
- AdapterUtil.cs
- ZipIOExtraFieldZip64Element.cs
- DbDataAdapter.cs
- ToolStripManager.cs
- GenericXmlSecurityToken.cs
- PropertyPathConverter.cs
- FormViewRow.cs
- SafePEFileHandle.cs
- ForwardPositionQuery.cs
- Message.cs
- PointAnimationBase.cs
- StringDictionaryEditor.cs
- AutomationPatternInfo.cs
- GB18030Encoding.cs
- ComboBoxRenderer.cs
- KeyValueConfigurationCollection.cs
- MobileListItem.cs
- DataViewManager.cs
- CompilerGeneratedAttribute.cs
- SmiContext.cs
- UnsafeNativeMethods.cs
- HandlerFactoryWrapper.cs
- CodeGen.cs
- SplashScreenNativeMethods.cs
- DetailsViewPageEventArgs.cs
- AtomEntry.cs
- ProvideValueServiceProvider.cs
- AssemblySettingAttributes.cs
- DataGridViewAutoSizeModeEventArgs.cs
- EventTrigger.cs
- XmlWrappingReader.cs
- PopupRootAutomationPeer.cs
- EntitySqlException.cs
- MetadataCache.cs
- DecryptedHeader.cs
- TreeViewAutomationPeer.cs
- BitSet.cs
- SqlLiftIndependentRowExpressions.cs
- SecurityCriticalDataForSet.cs
- Walker.cs
- FileDetails.cs
- SoapWriter.cs
- IconHelper.cs
- ExponentialEase.cs
- GridViewSortEventArgs.cs
- NamedPipeProcessProtocolHandler.cs
- ConfigurationValidatorBase.cs
- Grid.cs
- ClientSession.cs
- Popup.cs
- _ScatterGatherBuffers.cs
- CharacterString.cs
- DependencyProperty.cs
- DataGridRowHeaderAutomationPeer.cs
- SamlAuthorizationDecisionClaimResource.cs
- PickDesigner.xaml.cs
- ProviderCommandInfoUtils.cs
- AQNBuilder.cs