Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ContextBase.cs
- CaseInsensitiveHashCodeProvider.cs
- Column.cs
- SqlDataSourceStatusEventArgs.cs
- IndexerNameAttribute.cs
- CodeGenerator.cs
- CapabilitiesRule.cs
- Boolean.cs
- DefaultIfEmptyQueryOperator.cs
- HTMLTextWriter.cs
- WebPartConnectionsConfigureVerb.cs
- SqlClientWrapperSmiStream.cs
- AutoResetEvent.cs
- PointF.cs
- SubMenuStyle.cs
- ReaderWriterLock.cs
- NativeStructs.cs
- SqlRecordBuffer.cs
- DescendantBaseQuery.cs
- LocatorBase.cs
- FunctionQuery.cs
- ParserStreamGeometryContext.cs
- RoleGroupCollection.cs
- _ProxyChain.cs
- ListGeneralPage.cs
- SkewTransform.cs
- WindowsRegion.cs
- BinarySerializer.cs
- BufferedMessageWriter.cs
- DbDataAdapter.cs
- KeyBinding.cs
- SafeCoTaskMem.cs
- ExpressionBinding.cs
- CodeGotoStatement.cs
- PersistenceMetadataNamespace.cs
- IconHelper.cs
- Odbc32.cs
- NotifyParentPropertyAttribute.cs
- SelectingProviderEventArgs.cs
- RouteCollection.cs
- ThemeableAttribute.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- TimestampInformation.cs
- XhtmlConformanceSection.cs
- PermissionListSet.cs
- DataServiceHost.cs
- Tile.cs
- SelectionItemPattern.cs
- GcSettings.cs
- TypeUnloadedException.cs
- Focus.cs
- ResourceKey.cs
- CheckBox.cs
- PrePostDescendentsWalker.cs
- ScriptingSectionGroup.cs
- SynchronizedDispatch.cs
- WebEvents.cs
- ParameterCollection.cs
- SqlNodeAnnotation.cs
- InkPresenter.cs
- CursorConverter.cs
- Int64KeyFrameCollection.cs
- FilterEventArgs.cs
- XmlSchemaImporter.cs
- QuaternionConverter.cs
- TypeConvertions.cs
- ObjectDisposedException.cs
- DashStyles.cs
- BinaryObjectReader.cs
- LinqDataSourceStatusEventArgs.cs
- SQLBinary.cs
- DrawingImage.cs
- HtmlTableCell.cs
- ObjectTypeMapping.cs
- ErrorTableItemStyle.cs
- GridViewUpdatedEventArgs.cs
- DBDataPermission.cs
- WrapperEqualityComparer.cs
- KeySplineConverter.cs
- PinProtectionHelper.cs
- BinaryNode.cs
- PlatformCulture.cs
- XmlDataSourceView.cs
- WebPartConnectionsConfigureVerb.cs
- RelatedView.cs
- WebPartConnectVerb.cs
- SegmentInfo.cs
- SerializationFieldInfo.cs
- DoubleLinkList.cs
- ResXBuildProvider.cs
- KnownIds.cs
- UriSectionData.cs
- SqlCacheDependencySection.cs
- LinkedList.cs
- AttributeSetAction.cs
- TraceHandler.cs
- StructuredType.cs
- DiagnosticTrace.cs
- Console.cs
- WebPartVerbsEventArgs.cs