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 / QuaternionAnimation.cs / 1 / 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
- TransformValueSerializer.cs
- IgnoreSection.cs
- FileEnumerator.cs
- ViewGenerator.cs
- NumberSubstitution.cs
- ServiceErrorHandler.cs
- ResourcesBuildProvider.cs
- ReferenceSchema.cs
- PointF.cs
- SoapObjectInfo.cs
- SecureStringHasher.cs
- XmlQueryTypeFactory.cs
- VideoDrawing.cs
- Drawing.cs
- SafeUserTokenHandle.cs
- SinglePhaseEnlistment.cs
- EUCJPEncoding.cs
- Cursors.cs
- WebResourceUtil.cs
- TreeSet.cs
- StateMachineAction.cs
- ToolBar.cs
- StandardToolWindows.cs
- EntityDataSourceWizardForm.cs
- OuterGlowBitmapEffect.cs
- FileStream.cs
- ASCIIEncoding.cs
- SystemInfo.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DataGridColumnStyleMappingNameEditor.cs
- GB18030Encoding.cs
- DocumentGridContextMenu.cs
- CurrentChangingEventArgs.cs
- ImmutableObjectAttribute.cs
- ChtmlTextWriter.cs
- DuplexClientBase.cs
- MarkupWriter.cs
- HttpResponseHeader.cs
- WsatTransactionFormatter.cs
- activationcontext.cs
- HttpResponseInternalBase.cs
- PipeStream.cs
- NavigatorInput.cs
- Error.cs
- OdbcConnection.cs
- BuildManager.cs
- DataGridViewButtonCell.cs
- SspiSecurityTokenParameters.cs
- FrameworkElementFactoryMarkupObject.cs
- BoundPropertyEntry.cs
- MasterPageCodeDomTreeGenerator.cs
- ExpressionBuilderContext.cs
- RuntimeCompatibilityAttribute.cs
- HttpAsyncResult.cs
- ConfigurationSectionGroup.cs
- TextLineResult.cs
- WmfPlaceableFileHeader.cs
- ForceCopyBuildProvider.cs
- TraceUtils.cs
- _emptywebproxy.cs
- XmlSchemaImport.cs
- LinqDataSourceStatusEventArgs.cs
- OrderedHashRepartitionStream.cs
- PanelContainerDesigner.cs
- ConfigurationManagerHelper.cs
- BinaryFormatter.cs
- SqlTriggerAttribute.cs
- dbenumerator.cs
- SimpleRecyclingCache.cs
- SafeRegistryKey.cs
- lengthconverter.cs
- BatchParser.cs
- CaseCqlBlock.cs
- ChangeProcessor.cs
- EventLogHandle.cs
- PipelineModuleStepContainer.cs
- Size3D.cs
- LinkLabel.cs
- CommonGetThemePartSize.cs
- HttpPostedFile.cs
- SqlDuplicator.cs
- GridViewAutomationPeer.cs
- ChameleonKey.cs
- DesignerDataTable.cs
- OracleString.cs
- DesignerHost.cs
- DataContract.cs
- PolyBezierSegment.cs
- MoveSizeWinEventHandler.cs
- DependencyPropertyDescriptor.cs
- Int64Storage.cs
- NameSpaceExtractor.cs
- RegexBoyerMoore.cs
- IndentedWriter.cs
- EventSourceCreationData.cs
- SendKeys.cs
- PageAdapter.cs
- PointAnimationClockResource.cs
- ToolStripItemCollection.cs
- AttributeProviderAttribute.cs