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 / 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
- DateTimeConstantAttribute.cs
- BitmapFrameDecode.cs
- TargetConverter.cs
- ContentPosition.cs
- ObjectStateEntry.cs
- SendMailErrorEventArgs.cs
- BindingParameterCollection.cs
- PackagePart.cs
- HashCryptoHandle.cs
- TextParagraphProperties.cs
- MarshalDirectiveException.cs
- RegisteredScript.cs
- DataGridViewColumnEventArgs.cs
- Operator.cs
- Adorner.cs
- LineGeometry.cs
- VideoDrawing.cs
- WindowsButton.cs
- SessionParameter.cs
- SmuggledIUnknown.cs
- FontSizeConverter.cs
- ErrorFormatter.cs
- ConnectionStringsExpressionBuilder.cs
- _AutoWebProxyScriptEngine.cs
- ExpressionUtilities.cs
- StandardToolWindows.cs
- ExpandButtonVisibilityConverter.cs
- BufferBuilder.cs
- BamlLocalizableResourceKey.cs
- ColorDialog.cs
- ResourceReader.cs
- XmlDictionaryWriter.cs
- DesignerActionPropertyItem.cs
- PocoEntityKeyStrategy.cs
- ApplicationSettingsBase.cs
- DispatcherEventArgs.cs
- GeneralTransform3DGroup.cs
- DataGridViewHeaderCell.cs
- Crc32Helper.cs
- MenuItem.cs
- TextRunCache.cs
- RegexGroupCollection.cs
- ManagedIStream.cs
- ALinqExpressionVisitor.cs
- WebResponse.cs
- FixUpCollection.cs
- WindowsToolbarAsMenu.cs
- InputBinder.cs
- NotFiniteNumberException.cs
- Interlocked.cs
- XmlFormatWriterGenerator.cs
- ListViewItem.cs
- ImageList.cs
- RectangleHotSpot.cs
- NameValueCollection.cs
- Utils.cs
- ISessionStateStore.cs
- CompositeCollectionView.cs
- EventLogStatus.cs
- TypeResolver.cs
- AuthenticationManager.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DataGridViewCellPaintingEventArgs.cs
- InvokeFunc.cs
- IPEndPointCollection.cs
- SslStreamSecurityBindingElement.cs
- TextDecorations.cs
- RtfNavigator.cs
- SHA512.cs
- ControlValuePropertyAttribute.cs
- ProcessModelSection.cs
- Debug.cs
- PointCollection.cs
- ImageDrawing.cs
- EmptyReadOnlyDictionaryInternal.cs
- TreeIterator.cs
- SoapCodeExporter.cs
- SqlServices.cs
- InternalEnumValidatorAttribute.cs
- BaseCodePageEncoding.cs
- DecoderReplacementFallback.cs
- TypedReference.cs
- PtsCache.cs
- NumberFormatter.cs
- GrammarBuilder.cs
- ContainerActivationHelper.cs
- VirtualPathProvider.cs
- oledbmetadatacollectionnames.cs
- ExtenderProvidedPropertyAttribute.cs
- AssertSection.cs
- DocumentReferenceCollection.cs
- SoapServerProtocol.cs
- XmlExceptionHelper.cs
- TableLayout.cs
- TextEffectCollection.cs
- DataObjectFieldAttribute.cs
- HMACSHA512.cs
- FormView.cs
- XmlAttributes.cs
- BaseComponentEditor.cs