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 / DiscreteKeyFrames.cs / 1 / DiscreteKeyFrames.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 changes from the Thickness Value of /// the previous key frame to its own Value without interpolation. The /// change occurs at the KeyTime. /// public class DiscreteThicknessKeyFrame : ThicknessKeyFrame { #region Constructors ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame() : base() { } ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame(Thickness value) : base(value) { } ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame(Thickness value, KeyTime keyTime) : base(value, keyTime) { } #endregion #region Freezable ////// Implementation of ///Freezable.CreateInstanceCore . ///The new Freezable. protected override Freezable CreateInstanceCore() { return new DiscreteThicknessKeyFrame(); } // We don't need to override CloneCore because it won't do anything #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 < 1.0) { return baseValue; } else { return Value; } } #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 changes from the Thickness Value of /// the previous key frame to its own Value without interpolation. The /// change occurs at the KeyTime. /// public class DiscreteThicknessKeyFrame : ThicknessKeyFrame { #region Constructors ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame() : base() { } ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame(Thickness value) : base(value) { } ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame(Thickness value, KeyTime keyTime) : base(value, keyTime) { } #endregion #region Freezable ////// Implementation of ///Freezable.CreateInstanceCore . ///The new Freezable. protected override Freezable CreateInstanceCore() { return new DiscreteThicknessKeyFrame(); } // We don't need to override CloneCore because it won't do anything #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 < 1.0) { return baseValue; } else { return Value; } } #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
- SolidColorBrush.cs
- SelectedPathEditor.cs
- ProxyHwnd.cs
- Hex.cs
- DotExpr.cs
- SchemaElement.cs
- TiffBitmapDecoder.cs
- WindowsTreeView.cs
- AbandonedMutexException.cs
- DbException.cs
- ContractMethodParameterInfo.cs
- ImageMapEventArgs.cs
- DataObjectEventArgs.cs
- TextDecorations.cs
- DataServiceHostFactory.cs
- JournalEntryStack.cs
- SuppressIldasmAttribute.cs
- Shared.cs
- FilePrompt.cs
- SqlDataAdapter.cs
- DesignOnlyAttribute.cs
- ConfigurationException.cs
- EntityConnectionStringBuilder.cs
- NoneExcludedImageIndexConverter.cs
- PointCollection.cs
- MergeFilterQuery.cs
- XmlSerializerOperationFormatter.cs
- ListBindingHelper.cs
- TypedElement.cs
- IsolatedStorageFile.cs
- LoginStatusDesigner.cs
- WebPartEditorApplyVerb.cs
- PrivilegeNotHeldException.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- MouseGestureConverter.cs
- XamlRtfConverter.cs
- TimeSpan.cs
- ParameterElement.cs
- XappLauncher.cs
- XmlAtomicValue.cs
- PaintEvent.cs
- KeyGesture.cs
- Literal.cs
- QuaternionAnimationUsingKeyFrames.cs
- RoutingUtilities.cs
- ThousandthOfEmRealDoubles.cs
- TextHidden.cs
- StubHelpers.cs
- HttpsTransportElement.cs
- ExtensionDataReader.cs
- XamlBuildProvider.cs
- WebBrowserSiteBase.cs
- SharedPerformanceCounter.cs
- CodeTypeParameter.cs
- ProcessModelInfo.cs
- SafeFileHandle.cs
- JsonServiceDocumentSerializer.cs
- SQLBinary.cs
- XmlILOptimizerVisitor.cs
- DataObjectFieldAttribute.cs
- TextSelectionProcessor.cs
- MouseDevice.cs
- GregorianCalendarHelper.cs
- VariantWrapper.cs
- NaturalLanguageHyphenator.cs
- FormsAuthentication.cs
- DbResourceAllocator.cs
- ThumbAutomationPeer.cs
- ZipIOCentralDirectoryBlock.cs
- IERequestCache.cs
- ResourceWriter.cs
- FontWeightConverter.cs
- FontStretchConverter.cs
- InkSerializer.cs
- TypefaceMetricsCache.cs
- SoapHttpTransportImporter.cs
- XmlPropertyBag.cs
- ServiceManagerHandle.cs
- Vars.cs
- Setter.cs
- TreeNodeCollection.cs
- TreeNodeBinding.cs
- ImageUrlEditor.cs
- Vector3D.cs
- BindingMAnagerBase.cs
- XmlRootAttribute.cs
- GeneralTransformGroup.cs
- Point3DCollectionConverter.cs
- HttpWriter.cs
- IconHelper.cs
- DefaultCompensation.cs
- IgnoreFileBuildProvider.cs
- QuestionEventArgs.cs
- ComponentCodeDomSerializer.cs
- AddInContractAttribute.cs
- oledbmetadatacollectionnames.cs
- ListManagerBindingsCollection.cs
- WebContext.cs
- NamedElement.cs
- EntityStoreSchemaGenerator.cs