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
- Hashtable.cs
- Themes.cs
- SqlAggregateChecker.cs
- CustomValidator.cs
- FeatureSupport.cs
- _SslSessionsCache.cs
- PLINQETWProvider.cs
- PrtTicket_Editor.cs
- RefreshEventArgs.cs
- OdbcPermission.cs
- ConfigXmlAttribute.cs
- RMEnrollmentPage2.cs
- CustomWebEventKey.cs
- DateRangeEvent.cs
- GreenMethods.cs
- StaticSiteMapProvider.cs
- SchemaNotation.cs
- KeyInstance.cs
- UnsafePeerToPeerMethods.cs
- CqlBlock.cs
- XmlSerializer.cs
- TableTextElementCollectionInternal.cs
- TraceUtility.cs
- PersistChildrenAttribute.cs
- NotifyInputEventArgs.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- SmiGettersStream.cs
- PeekCompletedEventArgs.cs
- HideDisabledControlAdapter.cs
- InputMethodStateChangeEventArgs.cs
- ColorBuilder.cs
- MasterPage.cs
- Stream.cs
- SafeNativeMethodsMilCoreApi.cs
- MemberAccessException.cs
- DescriptionAttribute.cs
- ArraySortHelper.cs
- baseaxisquery.cs
- HMACSHA1.cs
- FigureParagraph.cs
- EventRoute.cs
- _AcceptOverlappedAsyncResult.cs
- SchemaMapping.cs
- WinFormsSpinner.cs
- CodeGroup.cs
- EventMap.cs
- FlowDocumentPage.cs
- BufferModesCollection.cs
- Condition.cs
- ISFClipboardData.cs
- OpacityConverter.cs
- PeerNameRecord.cs
- HttpResponseWrapper.cs
- FaultCode.cs
- ParameterCollectionEditorForm.cs
- SqlDataSourceSelectingEventArgs.cs
- RuleSetReference.cs
- SqlDataSourceFilteringEventArgs.cs
- FilteredDataSetHelper.cs
- PersonalizationStateInfo.cs
- WhitespaceRuleReader.cs
- PerformanceCounter.cs
- SortDescription.cs
- PointCollection.cs
- DataListItem.cs
- ProvideValueServiceProvider.cs
- EtwTrace.cs
- PerformanceCounterPermissionEntryCollection.cs
- ToolStripRenderer.cs
- WbemException.cs
- CollectionViewSource.cs
- ImageClickEventArgs.cs
- ZipIOExtraField.cs
- TraceFilter.cs
- List.cs
- Peer.cs
- DataRowChangeEvent.cs
- MultiPageTextView.cs
- SuppressMessageAttribute.cs
- LayoutInformation.cs
- IPAddress.cs
- ToolStripGrip.cs
- CqlErrorHelper.cs
- SiteMembershipCondition.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- WriteStateInfoBase.cs
- Graphics.cs
- WsatServiceAddress.cs
- AsymmetricKeyExchangeDeformatter.cs
- HtmlInputReset.cs
- DelegateInArgument.cs
- UserNameServiceElement.cs
- TextDecorationCollection.cs
- HttpVersion.cs
- StrokeNodeData.cs
- DBNull.cs
- ListControlConvertEventArgs.cs
- MailAddressCollection.cs
- StrokeFIndices.cs
- CorrelationRequestContext.cs