Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- RequiredFieldValidator.cs
- PreviewKeyDownEventArgs.cs
- ParentQuery.cs
- Pair.cs
- SubpageParagraph.cs
- SafeNativeMethods.cs
- ParentUndoUnit.cs
- IPipelineRuntime.cs
- RoleServiceManager.cs
- HttpStreams.cs
- CryptoApi.cs
- WebBrowserUriTypeConverter.cs
- XMLUtil.cs
- WinCategoryAttribute.cs
- PagerStyle.cs
- WebBrowsableAttribute.cs
- TextSerializer.cs
- EncryptedXml.cs
- Geometry.cs
- Menu.cs
- DataTable.cs
- XmlDictionaryWriter.cs
- Rotation3D.cs
- DirectionalLight.cs
- mediaeventshelper.cs
- X509CertificateStore.cs
- CollectionType.cs
- ArgumentsParser.cs
- Rect3DValueSerializer.cs
- LocatorPart.cs
- SharedUtils.cs
- SystemMulticastIPAddressInformation.cs
- PersonalizablePropertyEntry.cs
- XmlSchemaSequence.cs
- ApplicationFileCodeDomTreeGenerator.cs
- TextTreeInsertUndoUnit.cs
- InvalidComObjectException.cs
- BamlTreeUpdater.cs
- Compiler.cs
- SafeSecurityHandles.cs
- ObjectAnimationBase.cs
- safelinkcollection.cs
- CodeBlockBuilder.cs
- configsystem.cs
- SQLDecimalStorage.cs
- Rotation3DKeyFrameCollection.cs
- SecurityTokenSerializer.cs
- DiscoveryClientProtocol.cs
- sortedlist.cs
- CompleteWizardStep.cs
- ComIntegrationManifestGenerator.cs
- ArraySet.cs
- dataprotectionpermissionattribute.cs
- SoapCodeExporter.cs
- SetStateEventArgs.cs
- IISMapPath.cs
- ConfigPathUtility.cs
- Interlocked.cs
- NavigatorInput.cs
- AsyncPostBackTrigger.cs
- MergeFilterQuery.cs
- HtmlButton.cs
- CroppedBitmap.cs
- DecimalKeyFrameCollection.cs
- ResourceBinder.cs
- XPathAxisIterator.cs
- SqlDependencyUtils.cs
- SmtpCommands.cs
- GlobalProxySelection.cs
- PassportAuthentication.cs
- TextDpi.cs
- DockAndAnchorLayout.cs
- NullableFloatMinMaxAggregationOperator.cs
- WebPartConnectionCollection.cs
- ReadOnlyObservableCollection.cs
- ResourceDictionary.cs
- EastAsianLunisolarCalendar.cs
- MinimizableAttributeTypeConverter.cs
- ListViewInsertEventArgs.cs
- DependencyPropertyHelper.cs
- AnnotationObservableCollection.cs
- SmiTypedGetterSetter.cs
- DBAsyncResult.cs
- SafeHandles.cs
- MouseGestureConverter.cs
- RepeaterItem.cs
- ProfileInfo.cs
- TerminateSequenceResponse.cs
- TextPointerBase.cs
- OrthographicCamera.cs
- WebPermission.cs
- FilteredDataSetHelper.cs
- ModifierKeysValueSerializer.cs
- TextTrailingCharacterEllipsis.cs
- _HelperAsyncResults.cs
- DynamicDataManager.cs
- MenuAutomationPeer.cs
- ipaddressinformationcollection.cs
- _NegoStream.cs
- ManagementObjectCollection.cs