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
- OracleBoolean.cs
- TreeBuilderBamlTranslator.cs
- HttpHostedTransportConfiguration.cs
- SystemNetworkInterface.cs
- ELinqQueryState.cs
- Internal.cs
- ITextView.cs
- XmlSchemaNotation.cs
- Timer.cs
- CompensationHandlingFilter.cs
- ArrayItemReference.cs
- ReadOnlyAttribute.cs
- xmlglyphRunInfo.cs
- CellCreator.cs
- DataGridHeaderBorder.cs
- GeneralTransform.cs
- SqlBooleanizer.cs
- XamlReader.cs
- XmlSignificantWhitespace.cs
- PaperSize.cs
- WebEvents.cs
- TextBlockAutomationPeer.cs
- NavigationEventArgs.cs
- ResourceDisplayNameAttribute.cs
- Maps.cs
- WinEventQueueItem.cs
- ListViewCancelEventArgs.cs
- SqlBinder.cs
- PatternMatcher.cs
- BuildDependencySet.cs
- UniqueIdentifierService.cs
- DataControlFieldCollection.cs
- IndexOutOfRangeException.cs
- EntityContainer.cs
- SmiRecordBuffer.cs
- TraceInternal.cs
- SelectingProviderEventArgs.cs
- EnvelopedPkcs7.cs
- LogConverter.cs
- PropertyExpression.cs
- FixedElement.cs
- Roles.cs
- EtwTrace.cs
- Page.cs
- XmlNodeList.cs
- KnownBoxes.cs
- HasCopySemanticsAttribute.cs
- ScrollItemProviderWrapper.cs
- UserNamePasswordValidationMode.cs
- SafeRightsManagementPubHandle.cs
- WindowsFormsHelpers.cs
- CodeTypeParameter.cs
- TextTreeDeleteContentUndoUnit.cs
- SymbolResolver.cs
- CutCopyPasteHelper.cs
- StrokeCollectionDefaultValueFactory.cs
- WebPartsPersonalizationAuthorization.cs
- DetailsViewUpdatedEventArgs.cs
- BamlTreeMap.cs
- QueueSurrogate.cs
- TypographyProperties.cs
- PathStreamGeometryContext.cs
- DataGridViewCheckBoxColumn.cs
- SvcMapFileSerializer.cs
- PackWebResponse.cs
- Table.cs
- HttpTransportElement.cs
- WebPartCloseVerb.cs
- HandoffBehavior.cs
- ObjectDataSourceDisposingEventArgs.cs
- UdpDuplexChannel.cs
- IPEndPoint.cs
- OpenTypeCommon.cs
- CodeIdentifier.cs
- InheritanceContextChangedEventManager.cs
- ItemDragEvent.cs
- Point.cs
- TableLayoutPanel.cs
- XmlStreamNodeWriter.cs
- TdsParserSafeHandles.cs
- AuthorizationRuleCollection.cs
- SecurityTokenAuthenticator.cs
- AspNetSynchronizationContext.cs
- SqlTransaction.cs
- WindowsEditBox.cs
- OnOperation.cs
- EncryptedData.cs
- WsatConfiguration.cs
- ExpressionDumper.cs
- Adorner.cs
- ZoneMembershipCondition.cs
- FormParameter.cs
- ApplicationFileParser.cs
- XmlLinkedNode.cs
- CanExecuteRoutedEventArgs.cs
- Mapping.cs
- WMIInterop.cs
- SectionXmlInfo.cs
- DefaultPerformanceCounters.cs
- _ConnectStream.cs