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
- ExpressionWriter.cs
- Pair.cs
- ArithmeticException.cs
- SecurityTokenResolver.cs
- AtomEntry.cs
- CollectionChangeEventArgs.cs
- SimpleWebHandlerParser.cs
- Timer.cs
- TextBoxBase.cs
- ConstraintCollection.cs
- CollectionType.cs
- StylusCollection.cs
- IndexOutOfRangeException.cs
- EventEntry.cs
- KnownTypesProvider.cs
- PreservationFileReader.cs
- CaseStatement.cs
- LocalFileSettingsProvider.cs
- COM2ColorConverter.cs
- RootProfilePropertySettingsCollection.cs
- UriSectionData.cs
- EndpointInfo.cs
- ObjectListSelectEventArgs.cs
- QueryUtil.cs
- SelectionRange.cs
- Keyboard.cs
- BaseDataListActionList.cs
- EditorResources.cs
- TableRow.cs
- ProtectedConfigurationProviderCollection.cs
- ClockController.cs
- TemplateField.cs
- ScopeElementCollection.cs
- AssemblyCache.cs
- StructuralType.cs
- SafeWaitHandle.cs
- ParagraphResult.cs
- OperationAbortedException.cs
- EventSourceCreationData.cs
- TextMetrics.cs
- HTTPNotFoundHandler.cs
- IndexedString.cs
- XamlToRtfWriter.cs
- SeekableReadStream.cs
- AccessText.cs
- VersionConverter.cs
- DataGridViewColumnHeaderCell.cs
- ConfigurationElement.cs
- ActivityInstance.cs
- InstalledFontCollection.cs
- SpeakInfo.cs
- AssemblyUtil.cs
- PerfCounters.cs
- XmlSchemaInclude.cs
- PropertyRef.cs
- XMLDiffLoader.cs
- References.cs
- MediaTimeline.cs
- DisplayNameAttribute.cs
- graph.cs
- DashStyle.cs
- SchemaTableOptionalColumn.cs
- GenericParameterDataContract.cs
- Token.cs
- StreamReader.cs
- GridViewDeleteEventArgs.cs
- SortQuery.cs
- Variable.cs
- AuthorizationRule.cs
- ValueChangedEventManager.cs
- OpenFileDialog.cs
- EdmItemError.cs
- BaseUriHelper.cs
- PolygonHotSpot.cs
- WebPartConnectVerb.cs
- _NTAuthentication.cs
- ObjectFullSpanRewriter.cs
- VisualCollection.cs
- TextCharacters.cs
- DetailsViewRow.cs
- WindowsScrollBar.cs
- FormViewInsertEventArgs.cs
- IntSecurity.cs
- SqlAliasesReferenced.cs
- ScriptComponentDescriptor.cs
- Property.cs
- ErrorHandler.cs
- SafeWaitHandle.cs
- CacheSection.cs
- QueryParameter.cs
- PagesSection.cs
- BoolExpressionVisitors.cs
- SaveFileDialog.cs
- HandledMouseEvent.cs
- UIElementParagraph.cs
- DataTableClearEvent.cs
- BehaviorEditorPart.cs
- ChannelManager.cs
- HiddenFieldPageStatePersister.cs
- MDIControlStrip.cs