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
- EntityClassGenerator.cs
- Connection.cs
- ContextBase.cs
- XmlNullResolver.cs
- input.cs
- WebPageTraceListener.cs
- UpdateProgress.cs
- BasicExpandProvider.cs
- PathFigureCollection.cs
- UIServiceHelper.cs
- DefinitionBase.cs
- FieldMetadata.cs
- SmiEventSink_DeferedProcessing.cs
- ResponseStream.cs
- BamlLocalizer.cs
- BrushValueSerializer.cs
- SafeSecurityHelper.cs
- SerializationHelper.cs
- BitmapEffectDrawing.cs
- EntitySqlQueryState.cs
- NetStream.cs
- input.cs
- SwitchAttribute.cs
- InvokeProviderWrapper.cs
- WebEventCodes.cs
- TextEditorCopyPaste.cs
- InvalidDataException.cs
- Tracking.cs
- BooleanStorage.cs
- SizeLimitedCache.cs
- ProcessHostFactoryHelper.cs
- XamlVector3DCollectionSerializer.cs
- PermissionListSet.cs
- Event.cs
- Event.cs
- ElementProxy.cs
- SupportsEventValidationAttribute.cs
- GridLength.cs
- StylusPlugin.cs
- StylusDownEventArgs.cs
- PasswordTextNavigator.cs
- GuidelineCollection.cs
- WebBrowserSiteBase.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- EnumMember.cs
- MdiWindowListItemConverter.cs
- TextElement.cs
- SoapIncludeAttribute.cs
- TemplateComponentConnector.cs
- InvalidPrinterException.cs
- ContextConfiguration.cs
- QueryContinueDragEvent.cs
- SecurityContextKeyIdentifierClause.cs
- SizeF.cs
- ComPlusDiagnosticTraceSchemas.cs
- ValuePattern.cs
- GridEntry.cs
- IisTraceWebEventProvider.cs
- BindingList.cs
- ThreadPoolTaskScheduler.cs
- XmlChoiceIdentifierAttribute.cs
- SingleAnimationUsingKeyFrames.cs
- HostUtils.cs
- MenuRenderer.cs
- UnaryNode.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ParallelForEach.cs
- ExtensionSurface.cs
- EnumerableCollectionView.cs
- Condition.cs
- AssemblyFilter.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- TreeNode.cs
- OleCmdHelper.cs
- SystemIcmpV4Statistics.cs
- AuthenticationModulesSection.cs
- NullableDecimalSumAggregationOperator.cs
- PageContentAsyncResult.cs
- ListViewItem.cs
- IPCCacheManager.cs
- X509Certificate.cs
- HttpApplication.cs
- AlignmentXValidation.cs
- ExpressionWriter.cs
- metadatamappinghashervisitor.cs
- DoubleCollection.cs
- InputLanguageSource.cs
- DocumentViewerHelper.cs
- DictionarySectionHandler.cs
- ExpressionEditorSheet.cs
- ArgumentFixer.cs
- DataGridViewCellCollection.cs
- EntityCommandDefinition.cs
- SqlRemoveConstantOrderBy.cs
- autovalidator.cs
- QuerySettings.cs
- ListMarkerSourceInfo.cs
- BooleanStorage.cs
- BinaryConverter.cs
- FormCollection.cs