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
- WorkflowValidationFailedException.cs
- ReferenceCountedObject.cs
- DataSourceSerializationException.cs
- ComponentEditorPage.cs
- _BaseOverlappedAsyncResult.cs
- DictionaryKeyPropertyAttribute.cs
- HandlerBase.cs
- JsonDeserializer.cs
- BlurEffect.cs
- TdsRecordBufferSetter.cs
- PropertyGrid.cs
- ClaimTypeElement.cs
- UIElementParagraph.cs
- WaitForChangedResult.cs
- ApplicationHost.cs
- TabItemWrapperAutomationPeer.cs
- RSAPKCS1SignatureFormatter.cs
- GlyphingCache.cs
- OdbcError.cs
- ETagAttribute.cs
- Operators.cs
- RegisteredScript.cs
- CancelEventArgs.cs
- InterleavedZipPartStream.cs
- DesignerResources.cs
- XmlDictionary.cs
- Emitter.cs
- ObjectDataSource.cs
- DetailsViewDeleteEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- HttpHandlerActionCollection.cs
- KoreanCalendar.cs
- panel.cs
- DataGridViewElement.cs
- Action.cs
- BooleanAnimationUsingKeyFrames.cs
- PngBitmapEncoder.cs
- TextBlockAutomationPeer.cs
- StateWorkerRequest.cs
- QueueProcessor.cs
- Image.cs
- InProcStateClientManager.cs
- DataSourceProvider.cs
- EventSourceCreationData.cs
- EnumConverter.cs
- ControlBuilderAttribute.cs
- CultureTable.cs
- TerminatorSinks.cs
- SID.cs
- BitmapEffectCollection.cs
- HostingEnvironmentWrapper.cs
- EventLogEntryCollection.cs
- DatePickerDateValidationErrorEventArgs.cs
- IQueryable.cs
- DataServiceSaveChangesEventArgs.cs
- SelectionRangeConverter.cs
- ISessionStateStore.cs
- SessionSwitchEventArgs.cs
- RuntimeConfigLKG.cs
- MetadataUtilsSmi.cs
- AddressingVersion.cs
- TextProviderWrapper.cs
- ChangePasswordAutoFormat.cs
- GenerateScriptTypeAttribute.cs
- CharEntityEncoderFallback.cs
- LineBreakRecord.cs
- StylusPointPropertyId.cs
- TextTreeRootNode.cs
- BitSet.cs
- PasswordRecovery.cs
- StrokeFIndices.cs
- CryptoKeySecurity.cs
- MinMaxParagraphWidth.cs
- WorkflowInstanceProxy.cs
- AspCompat.cs
- ConfigurationProperty.cs
- SemanticBasicElement.cs
- XsltConvert.cs
- IdentityHolder.cs
- IIS7WorkerRequest.cs
- MonthChangedEventArgs.cs
- Simplifier.cs
- XmlStreamNodeWriter.cs
- SmtpReplyReader.cs
- ChangeTracker.cs
- SqlConnectionHelper.cs
- TraceContext.cs
- AtomicFile.cs
- SqlDataSourceView.cs
- EventLogPermissionAttribute.cs
- SignerInfo.cs
- Bezier.cs
- XmlAttributeCollection.cs
- RenderData.cs
- GridViewHeaderRowPresenter.cs
- DefaultHttpHandler.cs
- PageVisual.cs
- AesCryptoServiceProvider.cs
- ProxyElement.cs
- SQLInt16Storage.cs