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
- VersionPair.cs
- DelimitedListTraceListener.cs
- TextComposition.cs
- StringReader.cs
- Transform3DCollection.cs
- BitmapEffectCollection.cs
- MonikerUtility.cs
- DataObjectAttribute.cs
- TableRowGroup.cs
- Scripts.cs
- DataObjectEventArgs.cs
- LicenseProviderAttribute.cs
- SystemColorTracker.cs
- ProgressBar.cs
- MailAddressCollection.cs
- SamlNameIdentifierClaimResource.cs
- PropertyInformationCollection.cs
- WindowsFormsSectionHandler.cs
- FloatUtil.cs
- BamlRecordHelper.cs
- ResXFileRef.cs
- DotExpr.cs
- DataGridToolTip.cs
- LoginNameDesigner.cs
- RootBrowserWindowProxy.cs
- __Filters.cs
- OdbcParameter.cs
- ProcessInputEventArgs.cs
- GiveFeedbackEventArgs.cs
- OdbcFactory.cs
- Point.cs
- WmlTextViewAdapter.cs
- MeasurementDCInfo.cs
- ValidationSettings.cs
- XNodeNavigator.cs
- tibetanshape.cs
- AsymmetricAlgorithm.cs
- StringConcat.cs
- RtType.cs
- ViewGenerator.cs
- HelpKeywordAttribute.cs
- InvalidDataException.cs
- Font.cs
- DrawingAttributeSerializer.cs
- HttpWriter.cs
- IListConverters.cs
- Context.cs
- Ipv6Element.cs
- MemberAssignment.cs
- NotImplementedException.cs
- SubstitutionList.cs
- IdleTimeoutMonitor.cs
- GeometryHitTestResult.cs
- HttpMethodConstraint.cs
- WizardStepBase.cs
- ModuleBuilderData.cs
- TreeIterators.cs
- DiscoveryClientProtocol.cs
- NullableDecimalAverageAggregationOperator.cs
- DebuggerAttributes.cs
- ConfigurationElementCollection.cs
- GcSettings.cs
- Brush.cs
- NativeMethods.cs
- CngKeyBlobFormat.cs
- ComponentGuaranteesAttribute.cs
- ValueChangedEventManager.cs
- BuildManagerHost.cs
- PtsCache.cs
- FastPropertyAccessor.cs
- DataKeyCollection.cs
- GroupBoxRenderer.cs
- CompilerCollection.cs
- DataSourceCacheDurationConverter.cs
- HGlobalSafeHandle.cs
- TextFindEngine.cs
- ComponentChangedEvent.cs
- Gdiplus.cs
- ReadOnlyHierarchicalDataSource.cs
- RowBinding.cs
- DocumentsTrace.cs
- RequiredFieldValidator.cs
- ModelFunction.cs
- DependencyObjectCodeDomSerializer.cs
- MarginsConverter.cs
- EntityDataSourceReferenceGroup.cs
- WebPartsSection.cs
- TypeBuilderInstantiation.cs
- Style.cs
- CodeCatchClause.cs
- TextParaLineResult.cs
- Types.cs
- ApplicationCommands.cs
- GridViewRowCollection.cs
- PropertyCondition.cs
- SchemaInfo.cs
- IndexedSelectQueryOperator.cs
- Thread.cs
- Comparer.cs
- ServiceOperationListItemList.cs