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
- TemplateBamlRecordReader.cs
- XhtmlBasicObjectListAdapter.cs
- GenerateTemporaryTargetAssembly.cs
- PanelStyle.cs
- BindableTemplateBuilder.cs
- DocumentSchemaValidator.cs
- XPathBuilder.cs
- XmlSchema.cs
- XPathParser.cs
- FileIOPermission.cs
- TakeOrSkipQueryOperator.cs
- PositiveTimeSpanValidatorAttribute.cs
- Tokenizer.cs
- ValidationRule.cs
- ChannelEndpointElement.cs
- EntityContainer.cs
- DetailsViewDeleteEventArgs.cs
- IncrementalCompileAnalyzer.cs
- DPTypeDescriptorContext.cs
- PolicyManager.cs
- DataGridCell.cs
- InternalConfigSettingsFactory.cs
- WebResponse.cs
- XmlnsCache.cs
- JsonFormatGeneratorStatics.cs
- DependencyObjectProvider.cs
- XmlSerializer.cs
- StreamWriter.cs
- DateBoldEvent.cs
- CodeSubDirectoriesCollection.cs
- WebBrowserContainer.cs
- PriorityRange.cs
- DataGridViewTextBoxCell.cs
- PenLineJoinValidation.cs
- ZipIOLocalFileDataDescriptor.cs
- BaseContextMenu.cs
- ScrollViewerAutomationPeer.cs
- Section.cs
- PropertyGeneratedEventArgs.cs
- WindowsClaimSet.cs
- XsltException.cs
- OutputCacheProfile.cs
- WebPart.cs
- BufferAllocator.cs
- Stroke2.cs
- ScriptBehaviorDescriptor.cs
- ListViewGroupItemCollection.cs
- TypedTableBaseExtensions.cs
- XPathPatternParser.cs
- ColumnResizeUndoUnit.cs
- PartialList.cs
- ReferencedType.cs
- MethodExpr.cs
- StatusBarPanelClickEvent.cs
- StringStorage.cs
- XmlParserContext.cs
- CommandField.cs
- ForceCopyBuildProvider.cs
- Oid.cs
- DateTimeConverter2.cs
- Point4D.cs
- DecimalSumAggregationOperator.cs
- PaginationProgressEventArgs.cs
- RequestCacheEntry.cs
- SQLCharsStorage.cs
- ElementNotAvailableException.cs
- BaseValidator.cs
- TextServicesCompartment.cs
- ByteStreamMessage.cs
- HotCommands.cs
- UnsafeNativeMethods.cs
- DesignerRegionMouseEventArgs.cs
- UIElementAutomationPeer.cs
- PageRanges.cs
- ThemeInfoAttribute.cs
- XmlQueryRuntime.cs
- NewArrayExpression.cs
- DataGridViewCellLinkedList.cs
- EventPrivateKey.cs
- TableProviderWrapper.cs
- EventEntry.cs
- EditingMode.cs
- ApplicationServicesHostFactory.cs
- CompositeActivityCodeGenerator.cs
- SafeNativeMethods.cs
- TextBoxLine.cs
- MultiSelectRootGridEntry.cs
- BamlResourceDeserializer.cs
- CommentEmitter.cs
- IImplicitResourceProvider.cs
- LingerOption.cs
- ListView.cs
- AliasExpr.cs
- HttpInputStream.cs
- MarkupObject.cs
- EntryPointNotFoundException.cs
- QueryStatement.cs
- SQLDouble.cs
- SEHException.cs
- IgnoreFlushAndCloseStream.cs