Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- AttachedProperty.cs
- IPAddressCollection.cs
- rsa.cs
- NamespaceMapping.cs
- _HTTPDateParse.cs
- TemplateParser.cs
- ConnectionOrientedTransportElement.cs
- XNodeNavigator.cs
- XmlBinaryReader.cs
- XmlWellformedWriter.cs
- VariantWrapper.cs
- SchemaNotation.cs
- DependencyObjectProvider.cs
- BrushMappingModeValidation.cs
- WebPartTransformerCollection.cs
- XmlSchemaResource.cs
- NetSectionGroup.cs
- DataControlButton.cs
- Speller.cs
- ListViewItemEventArgs.cs
- UnmanagedMemoryStreamWrapper.cs
- FullTextState.cs
- SoapIgnoreAttribute.cs
- EntityRecordInfo.cs
- ViewGenResults.cs
- ImageFormatConverter.cs
- FormsAuthenticationModule.cs
- ItemCollection.cs
- SecurityContext.cs
- XmlAnyElementAttributes.cs
- XmlSchemaSubstitutionGroup.cs
- SimpleMailWebEventProvider.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- XpsPackagingPolicy.cs
- SchemaLookupTable.cs
- Accessors.cs
- LoadWorkflowCommand.cs
- MouseActionValueSerializer.cs
- TableRowCollection.cs
- QilDataSource.cs
- ProjectedWrapper.cs
- RegistrySecurity.cs
- GridViewPageEventArgs.cs
- NamespaceEmitter.cs
- GeometryCollection.cs
- ReliabilityContractAttribute.cs
- wgx_render.cs
- DataGridViewRowsAddedEventArgs.cs
- Int32Storage.cs
- ExtensionWindowHeader.cs
- PenThread.cs
- DrawItemEvent.cs
- Operator.cs
- Unit.cs
- SemaphoreSecurity.cs
- DataListItemEventArgs.cs
- BindToObject.cs
- TextLine.cs
- DataServiceRequestOfT.cs
- SecurityElement.cs
- DbCommandDefinition.cs
- PropertyMetadata.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ScriptingScriptResourceHandlerSection.cs
- SharedPersonalizationStateInfo.cs
- BoundingRectTracker.cs
- CodeAccessSecurityEngine.cs
- AddressingProperty.cs
- PointConverter.cs
- WebRequestModulesSection.cs
- SymmetricKeyWrap.cs
- CalendarAutomationPeer.cs
- initElementDictionary.cs
- DrawingDrawingContext.cs
- TemplateControlBuildProvider.cs
- ValidatedControlConverter.cs
- HttpRequest.cs
- TableLayoutPanelCellPosition.cs
- HttpCookie.cs
- ArraySet.cs
- RuleElement.cs
- odbcmetadatafactory.cs
- WebRequestModulesSection.cs
- StrokeFIndices.cs
- BaseDataList.cs
- PropertyDescriptor.cs
- PreviewKeyDownEventArgs.cs
- TreeView.cs
- CharAnimationUsingKeyFrames.cs
- LogManagementAsyncResult.cs
- Environment.cs
- WebBrowserContainer.cs
- PageClientProxyGenerator.cs
- ToolStripContentPanel.cs
- ObjectMemberMapping.cs
- GcHandle.cs
- HtmlInputText.cs
- TaskFormBase.cs
- Token.cs
- NavigationWindowAutomationPeer.cs