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
- SqlDependencyListener.cs
- SimpleParser.cs
- NotifyCollectionChangedEventArgs.cs
- NetworkStream.cs
- ArgumentDesigner.xaml.cs
- SqlWorkflowPersistenceService.cs
- ProfessionalColors.cs
- SqlRewriteScalarSubqueries.cs
- VarInfo.cs
- TreeViewCancelEvent.cs
- ModulesEntry.cs
- GetPageCompletedEventArgs.cs
- HtmlUtf8RawTextWriter.cs
- CompatibleComparer.cs
- WebBrowsableAttribute.cs
- ZipPackagePart.cs
- MbpInfo.cs
- AliasExpr.cs
- SaveLedgerEntryRequest.cs
- Pointer.cs
- Variable.cs
- XNameConverter.cs
- DataGridHeaderBorder.cs
- Padding.cs
- MeshGeometry3D.cs
- EmptyEnumerator.cs
- DebugView.cs
- NumericUpDown.cs
- FillRuleValidation.cs
- BitmapEffectState.cs
- Win32MouseDevice.cs
- OracleParameterBinding.cs
- DataGridTableCollection.cs
- ConnectionInterfaceCollection.cs
- RemotingSurrogateSelector.cs
- CustomLineCap.cs
- DataGridViewCellCancelEventArgs.cs
- SignatureConfirmationElement.cs
- SqlUserDefinedTypeAttribute.cs
- AppSecurityManager.cs
- IncrementalCompileAnalyzer.cs
- MulticastIPAddressInformationCollection.cs
- OdbcConnectionStringbuilder.cs
- LayoutTable.cs
- DataGridColumnDropSeparator.cs
- CustomMenuItemCollection.cs
- TreeNodeConverter.cs
- PointAnimationBase.cs
- WizardPanelChangingEventArgs.cs
- _BufferOffsetSize.cs
- TreeViewItemAutomationPeer.cs
- ToolStripSeparatorRenderEventArgs.cs
- SHA256Managed.cs
- HttpChannelHelpers.cs
- PolicyValidationException.cs
- SecondaryViewProvider.cs
- MatrixStack.cs
- TextureBrush.cs
- Helpers.cs
- HtmlShimManager.cs
- ComponentDispatcherThread.cs
- OpacityConverter.cs
- SchemaImporter.cs
- XmlNamedNodeMap.cs
- RemoteHelper.cs
- SspiSecurityTokenProvider.cs
- RuntimeIdentifierPropertyAttribute.cs
- BufferedStream.cs
- SpAudioStreamWrapper.cs
- QueryCacheManager.cs
- QueryServiceConfigHandle.cs
- WebPartEditorCancelVerb.cs
- FrameAutomationPeer.cs
- XamlSerializationHelper.cs
- InternalSafeNativeMethods.cs
- DeclarativeCatalogPartDesigner.cs
- NegationPusher.cs
- SelectionProcessor.cs
- CrossContextChannel.cs
- ASCIIEncoding.cs
- UriTemplateLiteralQueryValue.cs
- ProcessStartInfo.cs
- ISFClipboardData.cs
- _ConnectStream.cs
- IndexedGlyphRun.cs
- Line.cs
- ServiceElement.cs
- SettingsSection.cs
- ContentElementAutomationPeer.cs
- XmlDictionaryReaderQuotas.cs
- WebPartVerbCollection.cs
- DynamicPropertyReader.cs
- DataGridViewControlCollection.cs
- LineUtil.cs
- ComPersistableTypeElement.cs
- DiagnosticTrace.cs
- ToolboxDataAttribute.cs
- DataGridViewCellStateChangedEventArgs.cs
- XsltOutput.cs
- RequestValidator.cs