Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Framework / System / Windows / Media / Animation / Generated / LinearKeyFrames.cs / 1 / LinearKeyFrames.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using MS.Internal; using System; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Media3D; using MS.Internal.PresentationFramework; namespace System.Windows.Media.Animation { ////// This class is used as part of a ThicknessKeyFrameCollection in /// conjunction with a KeyFrameThicknessAnimation to animate a /// Thickness property value along a set of key frames. /// /// This ThicknessKeyFrame interpolates the between the Thickness Value of /// the previous key frame and its own Value linearly to produce its output value. /// public partial class LinearThicknessKeyFrame : ThicknessKeyFrame { #region Constructors ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame() : base() { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value) : base(value) { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value, KeyTime keyTime) : base(value, keyTime) { } #endregion #region Freezable ////// Implementation of ///Freezable.CreateInstanceCore . ///The new Freezable. protected override Freezable CreateInstanceCore() { return new LinearThicknessKeyFrame(); } #endregion #region ThicknessKeyFrame ////// Implemented to linearly interpolate between the baseValue and the /// Value of this KeyFrame using the keyFrameProgress. /// protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress) { if (keyFrameProgress == 0.0) { return baseValue; } else if (keyFrameProgress == 1.0) { return Value; } else { return AnimatedTypeHelpers.InterpolateThickness(baseValue, Value, keyFrameProgress); } } #endregion } } // 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. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using MS.Internal; using System; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Media3D; using MS.Internal.PresentationFramework; namespace System.Windows.Media.Animation { ////// This class is used as part of a ThicknessKeyFrameCollection in /// conjunction with a KeyFrameThicknessAnimation to animate a /// Thickness property value along a set of key frames. /// /// This ThicknessKeyFrame interpolates the between the Thickness Value of /// the previous key frame and its own Value linearly to produce its output value. /// public partial class LinearThicknessKeyFrame : ThicknessKeyFrame { #region Constructors ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame() : base() { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value) : base(value) { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value, KeyTime keyTime) : base(value, keyTime) { } #endregion #region Freezable ////// Implementation of ///Freezable.CreateInstanceCore . ///The new Freezable. protected override Freezable CreateInstanceCore() { return new LinearThicknessKeyFrame(); } #endregion #region ThicknessKeyFrame ////// Implemented to linearly interpolate between the baseValue and the /// Value of this KeyFrame using the keyFrameProgress. /// protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress) { if (keyFrameProgress == 0.0) { return baseValue; } else if (keyFrameProgress == 1.0) { return Value; } else { return AnimatedTypeHelpers.InterpolateThickness(baseValue, Value, keyFrameProgress); } } #endregion } } // 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
- FormParameter.cs
- OdbcInfoMessageEvent.cs
- _Events.cs
- ExpressionLink.cs
- ErasingStroke.cs
- MULTI_QI.cs
- AuthenticatedStream.cs
- TemplateXamlParser.cs
- DataGridAutomationPeer.cs
- ActivityDesignerAccessibleObject.cs
- SystemIcons.cs
- WebEvents.cs
- MultilineStringConverter.cs
- HyperLinkColumn.cs
- Transform3D.cs
- HuffmanTree.cs
- Inflater.cs
- ReferencedCategoriesDocument.cs
- HyperLinkColumn.cs
- PeerReferralPolicy.cs
- CheckBoxField.cs
- CacheVirtualItemsEvent.cs
- DataBinding.cs
- InvalidCastException.cs
- SamlConstants.cs
- CodeGeneratorOptions.cs
- WindowsProgressbar.cs
- FormViewModeEventArgs.cs
- GeometryHitTestResult.cs
- FrameworkRichTextComposition.cs
- LinearGradientBrush.cs
- TdsEnums.cs
- DataSourceControlBuilder.cs
- CommandCollectionEditor.cs
- RequestValidator.cs
- CaretElement.cs
- CryptoKeySecurity.cs
- InProcStateClientManager.cs
- SymmetricAlgorithm.cs
- ArrayList.cs
- brushes.cs
- IntSecurity.cs
- StorageComplexTypeMapping.cs
- WindowsProgressbar.cs
- RelationshipConstraintValidator.cs
- FactoryRecord.cs
- WindowsToolbarAsMenu.cs
- OperationAbortedException.cs
- CngAlgorithm.cs
- ControlFilterExpression.cs
- SafeCryptoHandles.cs
- SystemFonts.cs
- AttachedProperty.cs
- RoleServiceManager.cs
- RightsManagementUser.cs
- Registration.cs
- ReceiveCompletedEventArgs.cs
- SafeCloseHandleCritical.cs
- TableRowCollection.cs
- GuidConverter.cs
- SecurityContext.cs
- PropertyExpression.cs
- QilXmlWriter.cs
- DelayedRegex.cs
- PolyBezierSegment.cs
- NetSectionGroup.cs
- ReadOnlyHierarchicalDataSourceView.cs
- InteropBitmapSource.cs
- WebContext.cs
- GridItemPatternIdentifiers.cs
- DefaultTextStoreTextComposition.cs
- XmlAttribute.cs
- Formatter.cs
- SQLDateTime.cs
- ImageAutomationPeer.cs
- Tuple.cs
- SecurityDescriptor.cs
- NameSpaceExtractor.cs
- ComponentManagerBroker.cs
- SystemIPGlobalProperties.cs
- Scheduling.cs
- Light.cs
- FormsAuthenticationConfiguration.cs
- DesignTimeXamlWriter.cs
- XmlEntityReference.cs
- DataPager.cs
- AgileSafeNativeMemoryHandle.cs
- _LocalDataStoreMgr.cs
- XslTransformFileEditor.cs
- GridEntry.cs
- XmlCharacterData.cs
- DependencyPropertyKey.cs
- CommandField.cs
- IndexedGlyphRun.cs
- VirtualPathProvider.cs
- Funcletizer.cs
- HtmlInputRadioButton.cs
- KeyInfo.cs
- XslNumber.cs
- EndpointDiscoveryMetadataCD1.cs