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
- PeerNameRecordCollection.cs
- CompressedStack.cs
- XmlSchemaExporter.cs
- XmlSyndicationContent.cs
- XmlBoundElement.cs
- SmtpCommands.cs
- compensatingcollection.cs
- Condition.cs
- TextOptionsInternal.cs
- dbenumerator.cs
- CssTextWriter.cs
- MailDefinition.cs
- RectangleConverter.cs
- XmlSchemaSimpleTypeUnion.cs
- ToolBar.cs
- EditorZone.cs
- AppDomainManager.cs
- AssemblyBuilder.cs
- ToolStripRenderEventArgs.cs
- Convert.cs
- QilLoop.cs
- MenuItem.cs
- SQLDateTimeStorage.cs
- HierarchicalDataSourceDesigner.cs
- TabControlCancelEvent.cs
- ConfigXmlWhitespace.cs
- AccessorTable.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- HostedHttpRequestAsyncResult.cs
- XmlObjectSerializerWriteContext.cs
- MenuScrollingVisibilityConverter.cs
- VersionPair.cs
- Cast.cs
- CodeGroup.cs
- SQLInt32.cs
- DirectionalLight.cs
- EpmHelper.cs
- WebPartAddingEventArgs.cs
- BaseAsyncResult.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- EventToken.cs
- AnonymousIdentificationModule.cs
- QueryGenerator.cs
- SByteConverter.cs
- SupportsEventValidationAttribute.cs
- ToolStripDropDownClosedEventArgs.cs
- RequiredFieldValidator.cs
- CounterSetInstanceCounterDataSet.cs
- TranslateTransform.cs
- BatchWriter.cs
- SignatureSummaryDialog.cs
- TextRangeEditTables.cs
- StreamUpdate.cs
- HMACSHA256.cs
- XmlSchemaAppInfo.cs
- AccessorTable.cs
- DoubleAnimationBase.cs
- TypeConverter.cs
- RuntimeArgumentHandle.cs
- ConfigXmlComment.cs
- RoutedEvent.cs
- AppDomainFactory.cs
- SelectedCellsChangedEventArgs.cs
- SqlDataSource.cs
- DesignerDataStoredProcedure.cs
- NativeRightsManagementAPIsStructures.cs
- UnsafeNativeMethodsMilCoreApi.cs
- PlatformCulture.cs
- WebServiceMethodData.cs
- IIS7UserPrincipal.cs
- IndicFontClient.cs
- SQLDecimal.cs
- WebPartsSection.cs
- WebPartZoneBase.cs
- MaterialGroup.cs
- PageVisual.cs
- DataTemplateSelector.cs
- PasswordBox.cs
- DispatcherExceptionFilterEventArgs.cs
- BaseUriHelper.cs
- PrtTicket_Editor.cs
- SecurityUniqueId.cs
- ColumnTypeConverter.cs
- TabControl.cs
- WithStatement.cs
- InstanceDataCollectionCollection.cs
- FieldBuilder.cs
- RequestQueryParser.cs
- RunWorkerCompletedEventArgs.cs
- TrackBarDesigner.cs
- XNodeNavigator.cs
- FlowStep.cs
- autovalidator.cs
- InvalidProgramException.cs
- Int16Storage.cs
- List.cs
- PermissionSetEnumerator.cs
- AuthorizationRule.cs
- HideDisabledControlAdapter.cs
- HtmlWindow.cs