Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Media / Animation / Generated / DiscreteKeyFrames.cs / 1305600 / 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
- XmlWrappingReader.cs
- translator.cs
- MergeFilterQuery.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- HttpRequest.cs
- UriSection.cs
- NameValueConfigurationCollection.cs
- SoapHeader.cs
- WorkflowCommandExtensionItem.cs
- DocumentationServerProtocol.cs
- BounceEase.cs
- InfoCardSymmetricCrypto.cs
- ActivityTrace.cs
- DataListItemCollection.cs
- FormatConvertedBitmap.cs
- StorageAssociationTypeMapping.cs
- TextEditorCopyPaste.cs
- XMLDiffLoader.cs
- HebrewCalendar.cs
- Oid.cs
- Matrix.cs
- ContravarianceAdapter.cs
- MarkupExtensionReturnTypeAttribute.cs
- ButtonBaseAdapter.cs
- PerformanceCounter.cs
- SqlUtils.cs
- RegularExpressionValidator.cs
- ServiceRouteHandler.cs
- Win32.cs
- ConnectionPointCookie.cs
- SimpleExpression.cs
- SqlFunctionAttribute.cs
- ThicknessConverter.cs
- UnitySerializationHolder.cs
- DictionaryEntry.cs
- TableLayoutPanelResizeGlyph.cs
- HostingEnvironmentSection.cs
- WebPartTransformerAttribute.cs
- SecurityRuntime.cs
- RegexGroup.cs
- Profiler.cs
- AspCompat.cs
- RadioButtonList.cs
- Cursors.cs
- XmlSchemaSet.cs
- HwndSourceParameters.cs
- PageTheme.cs
- PathGradientBrush.cs
- MdiWindowListStrip.cs
- TabItem.cs
- PreviewPrintController.cs
- PerformanceCounterPermission.cs
- WindowVisualStateTracker.cs
- HttpDebugHandler.cs
- DocumentOrderQuery.cs
- SplineKeyFrames.cs
- RectangleHotSpot.cs
- UnmanagedHandle.cs
- X509RawDataKeyIdentifierClause.cs
- MappingSource.cs
- TextDecorationLocationValidation.cs
- ScopeElementCollection.cs
- BindableTemplateBuilder.cs
- BinHexEncoder.cs
- InvalidWMPVersionException.cs
- DiscoveryEndpoint.cs
- EdmError.cs
- RtfControls.cs
- ContainerAction.cs
- TypeToken.cs
- TranslateTransform3D.cs
- SessionPageStatePersister.cs
- SerializationInfo.cs
- TrackingMemoryStream.cs
- PrimitiveSchema.cs
- MarginsConverter.cs
- UpdateCommand.cs
- ServerValidateEventArgs.cs
- UnsafeNativeMethods.cs
- FontCacheUtil.cs
- ScriptControl.cs
- TextParagraphCache.cs
- PreservationFileWriter.cs
- HostVisual.cs
- SafeProcessHandle.cs
- DiscoveryMessageSequence11.cs
- FunctionImportMapping.cs
- Window.cs
- RegexNode.cs
- TextBlock.cs
- BindUriHelper.cs
- CaseInsensitiveHashCodeProvider.cs
- GridViewSelectEventArgs.cs
- XmlSchemaType.cs
- DiffuseMaterial.cs
- BitmapDownload.cs
- TextEditorCharacters.cs
- CheckBoxPopupAdapter.cs
- NetworkInformationPermission.cs
- DataSvcMapFile.cs