Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / QuaternionAnimation.cs / 1305600 / 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
- Events.cs
- WorkflowIdleBehavior.cs
- GroupLabel.cs
- StringFunctions.cs
- ImageSource.cs
- LoginView.cs
- _NestedMultipleAsyncResult.cs
- ISO2022Encoding.cs
- EtwTrace.cs
- OleDbPermission.cs
- CharacterMetricsDictionary.cs
- TraceSection.cs
- DrawingAttributes.cs
- XmlEntity.cs
- DispatchChannelSink.cs
- GridViewDeletedEventArgs.cs
- DataPagerFieldCommandEventArgs.cs
- MailAddressParser.cs
- XmlTextReaderImplHelpers.cs
- WCFModelStrings.Designer.cs
- DomNameTable.cs
- Tokenizer.cs
- ColumnWidthChangingEvent.cs
- PrinterUnitConvert.cs
- XPathNavigator.cs
- ScriptReference.cs
- UnauthorizedWebPart.cs
- CodeLabeledStatement.cs
- RemoteWebConfigurationHost.cs
- HttpValueCollection.cs
- ToolStripDesignerAvailabilityAttribute.cs
- InvalidPropValue.cs
- MatrixTransform3D.cs
- BaseUriWithWildcard.cs
- streamingZipPartStream.cs
- Collection.cs
- ExpressionPrefixAttribute.cs
- AppearanceEditorPart.cs
- COM2TypeInfoProcessor.cs
- PassportAuthentication.cs
- IntSecurity.cs
- ConfigXmlSignificantWhitespace.cs
- SerializationAttributes.cs
- FontConverter.cs
- DynamicHyperLink.cs
- TaiwanCalendar.cs
- Scanner.cs
- GAC.cs
- CompositeActivityCodeGenerator.cs
- TrackingServices.cs
- LineMetrics.cs
- WebPartsSection.cs
- XmlHelper.cs
- WeakReference.cs
- RequestTimeoutManager.cs
- ItemDragEvent.cs
- DbUpdateCommandTree.cs
- BitmapPalette.cs
- Floater.cs
- Image.cs
- HwndSourceParameters.cs
- PageWrapper.cs
- ConfigDefinitionUpdates.cs
- UrlMappingsModule.cs
- SessionPageStateSection.cs
- ConfigurationPropertyCollection.cs
- SystemIcmpV4Statistics.cs
- ServerValidateEventArgs.cs
- TraceHwndHost.cs
- UrlPath.cs
- DPTypeDescriptorContext.cs
- QueueException.cs
- XmlHelper.cs
- SqlDataSourceCache.cs
- StylusPlugin.cs
- RegexGroup.cs
- StringComparer.cs
- SmtpAuthenticationManager.cs
- DocComment.cs
- ToolConsole.cs
- StoragePropertyMapping.cs
- ToolBar.cs
- _HeaderInfo.cs
- WorkflowTimerService.cs
- OutputCacheSettingsSection.cs
- PathSegment.cs
- QueryStringParameter.cs
- MetadataPropertyCollection.cs
- Vector3DCollection.cs
- DetailsViewDeletedEventArgs.cs
- RegexMatch.cs
- Stylesheet.cs
- DeferredElementTreeState.cs
- RewritingPass.cs
- SafeNativeMethods.cs
- ColumnMapVisitor.cs
- SizeConverter.cs
- PeerValidationBehavior.cs
- BinaryNode.cs
- StatusBarItemAutomationPeer.cs