Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- CodeGenHelper.cs
- IOException.cs
- Rect3D.cs
- RequestCacheManager.cs
- PrimitiveDataContract.cs
- DataSourceGroupCollection.cs
- Deflater.cs
- TreeNodeBinding.cs
- UriExt.cs
- Figure.cs
- ColumnResult.cs
- IdlingCommunicationPool.cs
- LineGeometry.cs
- GridToolTip.cs
- ConfigurationSettings.cs
- PathSegment.cs
- InstanceView.cs
- MessagePropertyVariants.cs
- PerformanceCountersElement.cs
- TreeWalkHelper.cs
- TableCellCollection.cs
- RawStylusInputCustomDataList.cs
- DurableEnlistmentState.cs
- KeyPressEvent.cs
- ProgressBarBrushConverter.cs
- ProtocolsConfigurationEntry.cs
- MatrixTransform3D.cs
- QilFunction.cs
- relpropertyhelper.cs
- ProviderSettings.cs
- ConfigurationStrings.cs
- VectorValueSerializer.cs
- PageAdapter.cs
- EpmAttributeNameBuilder.cs
- ProtocolsConfigurationEntry.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- ImageClickEventArgs.cs
- DecoderFallbackWithFailureFlag.cs
- ActiveXHelper.cs
- X500Name.cs
- DeviceSpecificDialogCachedState.cs
- ObjectParameter.cs
- DiagnosticTrace.cs
- BindingExpressionBase.cs
- ListItemsPage.cs
- PopupEventArgs.cs
- LocalizedNameDescriptionPair.cs
- FunctionDetailsReader.cs
- Triplet.cs
- VisualTreeUtils.cs
- Int32RectValueSerializer.cs
- AssertHelper.cs
- ComIntegrationManifestGenerator.cs
- ExportFileRequest.cs
- Unit.cs
- ViewKeyConstraint.cs
- fixedPageContentExtractor.cs
- CharacterBuffer.cs
- _HelperAsyncResults.cs
- Publisher.cs
- RichTextBox.cs
- CorrelationToken.cs
- StatusBarAutomationPeer.cs
- XamlNamespaceHelper.cs
- Lookup.cs
- VideoDrawing.cs
- VisualProxy.cs
- UnauthorizedWebPart.cs
- URLMembershipCondition.cs
- ExpressionServices.cs
- WebServiceErrorEvent.cs
- Vector3DCollection.cs
- CodeRemoveEventStatement.cs
- Literal.cs
- InvokeFunc.cs
- StorageComplexTypeMapping.cs
- XmlException.cs
- SpeakInfo.cs
- CryptoStream.cs
- FontFamily.cs
- AnnotationObservableCollection.cs
- CountAggregationOperator.cs
- HttpResponseHeader.cs
- EncodingStreamWrapper.cs
- CounterNameConverter.cs
- BrowsableAttribute.cs
- CellNormalizer.cs
- ImpersonateTokenRef.cs
- WindowsEditBoxRange.cs
- DeploymentSection.cs
- BamlBinaryWriter.cs
- AppSettingsReader.cs
- KeyToListMap.cs
- BrowserCapabilitiesCodeGenerator.cs
- UInt64.cs
- Int64.cs
- SiteIdentityPermission.cs
- RpcAsyncResult.cs
- PseudoWebRequest.cs
- Attributes.cs