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 / LinearQuaternionKeyFrame.cs / 1 / LinearQuaternionKeyFrame.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; using System.Windows; using MS.Internal.KnownBoxes; namespace System.Windows.Media.Animation { ////// This class is used as part of a QuaternionKeyFrameCollection in /// conjunction with a KeyFrameQuaternionAnimation to animate a /// Quaternion property value along a set of key frames. /// /// This QuaternionKeyFrame interpolates the between the Quaternion Value of /// the previous key frame and its own Value linearly to produce its output value. /// public partial class LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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 { ////// This class is used as part of a QuaternionKeyFrameCollection in /// conjunction with a KeyFrameQuaternionAnimation to animate a /// Quaternion property value along a set of key frames. /// /// This QuaternionKeyFrame interpolates the between the Quaternion Value of /// the previous key frame and its own Value linearly to produce its output value. /// public partial class LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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
- TemplateBindingExpression.cs
- WebPartMenuStyle.cs
- PersonalizationEntry.cs
- AssociativeAggregationOperator.cs
- SiteMap.cs
- PathGradientBrush.cs
- ManagementEventArgs.cs
- SystemEvents.cs
- ManagedFilter.cs
- XmlSerializationGeneratedCode.cs
- DataGridViewEditingControlShowingEventArgs.cs
- AuthenticationConfig.cs
- MediaElement.cs
- ParameterCollection.cs
- HwndMouseInputProvider.cs
- SqlEnums.cs
- ArrayEditor.cs
- WebPartCloseVerb.cs
- PositiveTimeSpanValidator.cs
- ModelPerspective.cs
- PrintDialogException.cs
- LayoutSettings.cs
- Constraint.cs
- PingReply.cs
- PagesSection.cs
- DataSourceCache.cs
- DataGridAddNewRow.cs
- XPathChildIterator.cs
- FontNamesConverter.cs
- MultipleViewProviderWrapper.cs
- ConstructorNeedsTagAttribute.cs
- SelectionRangeConverter.cs
- SaveFileDialog.cs
- DesignUtil.cs
- InternalSafeNativeMethods.cs
- VectorCollectionConverter.cs
- RoleExceptions.cs
- DefaultHttpHandler.cs
- EntityDataSourceChangingEventArgs.cs
- HyperLinkColumn.cs
- DesignerCapabilities.cs
- ListViewItem.cs
- PartManifestEntry.cs
- AdRotatorDesigner.cs
- ADConnectionHelper.cs
- BindingContext.cs
- CallContext.cs
- FilteredReadOnlyMetadataCollection.cs
- Types.cs
- ArglessEventHandlerProxy.cs
- ServiceObjectContainer.cs
- RowParagraph.cs
- FieldToken.cs
- Vector3DKeyFrameCollection.cs
- WebPartsPersonalization.cs
- Win32NamedPipes.cs
- ViewStateException.cs
- EdmToObjectNamespaceMap.cs
- ObjectViewListener.cs
- RequestCachingSection.cs
- ServiceHttpModule.cs
- RenderData.cs
- TemplateControlCodeDomTreeGenerator.cs
- SQLSingle.cs
- RegexRunnerFactory.cs
- RepeaterItemCollection.cs
- PlatformCulture.cs
- OutputScopeManager.cs
- SafeFileMappingHandle.cs
- GridViewPageEventArgs.cs
- NamespaceList.cs
- LastQueryOperator.cs
- HijriCalendar.cs
- EventLogEntry.cs
- HashHelper.cs
- CodeExporter.cs
- ContainerSelectorGlyph.cs
- ToolStripOverflowButton.cs
- Base64Decoder.cs
- IsolatedStorageFile.cs
- WriteableOnDemandPackagePart.cs
- SqlStream.cs
- FileDetails.cs
- FilteredDataSetHelper.cs
- Button.cs
- securitycriticaldataformultiplegetandset.cs
- GlobalProxySelection.cs
- MutableAssemblyCacheEntry.cs
- DataControlFieldHeaderCell.cs
- PropagatorResult.cs
- WebPartMinimizeVerb.cs
- UnsafeNativeMethods.cs
- ResourceSetExpression.cs
- AbandonedMutexException.cs
- SmtpLoginAuthenticationModule.cs
- WebUtility.cs
- httpapplicationstate.cs
- DuplicateWaitObjectException.cs
- ToolboxDataAttribute.cs
- InternalControlCollection.cs