Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / QuaternionAnimation.cs / 1305600 / QuaternionAnimation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; using System.Windows; using MS.Internal.KnownBoxes; namespace System.Windows.Media.Animation { ////// Animates the value of a bool property using linear interpolation /// between two values. The values are determined by the combination of /// From, To, or By values that are set on the animation. /// public partial class QuaternionAnimation : QuaternionAnimationBase { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(QuaternionAnimation), 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 { ////// Animates the value of a bool property using linear interpolation /// between two values. The values are determined by the combination of /// From, To, or By values that are set on the animation. /// public partial class QuaternionAnimation : QuaternionAnimationBase { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(QuaternionAnimation), 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
- Point4DConverter.cs
- ConfigurationStrings.cs
- WebPartRestoreVerb.cs
- FrameworkElementAutomationPeer.cs
- ReaderContextStackData.cs
- Int32Converter.cs
- CompModSwitches.cs
- PageParser.cs
- HwndHostAutomationPeer.cs
- CategoryEditor.cs
- DataGridViewCellStyleBuilderDialog.cs
- UrlAuthFailureHandler.cs
- AlignmentYValidation.cs
- WebPartTracker.cs
- WindowInteractionStateTracker.cs
- Compiler.cs
- FixedSOMSemanticBox.cs
- SqlSupersetValidator.cs
- ControlUtil.cs
- NameValueConfigurationElement.cs
- SelectionProviderWrapper.cs
- HwndAppCommandInputProvider.cs
- XmlSignatureProperties.cs
- SubMenuStyle.cs
- DirectionalLight.cs
- CellIdBoolean.cs
- EventLogEntry.cs
- DynamicFilterExpression.cs
- DbTypeMap.cs
- DataGridRelationshipRow.cs
- LocatorManager.cs
- HijriCalendar.cs
- ServiceSettingsResponseInfo.cs
- GroupLabel.cs
- TypeNameConverter.cs
- ImageClickEventArgs.cs
- selecteditemcollection.cs
- InvalidAsynchronousStateException.cs
- DataBoundLiteralControl.cs
- PopOutPanel.cs
- XsltInput.cs
- RawAppCommandInputReport.cs
- StorageMappingItemLoader.cs
- MonthChangedEventArgs.cs
- SessionViewState.cs
- CommonObjectSecurity.cs
- PeerMaintainer.cs
- SessionStateModule.cs
- LambdaCompiler.Logical.cs
- HtmlDocument.cs
- FunctionImportMapping.cs
- InternalConfigRoot.cs
- XmlSchemaSimpleTypeList.cs
- Int32Animation.cs
- RequestDescription.cs
- HyperlinkAutomationPeer.cs
- ObjectQuery.cs
- SQLGuid.cs
- CustomErrorCollection.cs
- WindowsFormsHelpers.cs
- TextEvent.cs
- SettingsProviderCollection.cs
- PopupControlService.cs
- LineMetrics.cs
- ButtonPopupAdapter.cs
- WSFederationHttpSecurity.cs
- DataGridViewLinkCell.cs
- BaseDataListDesigner.cs
- PairComparer.cs
- Activity.cs
- MD5.cs
- DataChangedEventManager.cs
- ForwardPositionQuery.cs
- DmlSqlGenerator.cs
- TerminatorSinks.cs
- CallId.cs
- StringAnimationBase.cs
- ListViewAutomationPeer.cs
- BaseServiceProvider.cs
- ManifestResourceInfo.cs
- RuntimeVariableList.cs
- VisualStyleInformation.cs
- remotingproxy.cs
- SoapServerMethod.cs
- LoadWorkflowAsyncResult.cs
- FontUnitConverter.cs
- DesigntimeLicenseContext.cs
- ellipse.cs
- FontFamilyIdentifier.cs
- PageRequestManager.cs
- Environment.cs
- HashLookup.cs
- _NetworkingPerfCounters.cs
- DynamicPropertyHolder.cs
- GenericPrincipal.cs
- Point.cs
- ToolStripMenuItem.cs
- ReadingWritingEntityEventArgs.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- SafeMemoryMappedFileHandle.cs