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
- HttpModulesSection.cs
- ExpressionConverter.cs
- SizeChangedEventArgs.cs
- OperatorExpressions.cs
- ExpressionLexer.cs
- TableLayoutPanel.cs
- XmlChoiceIdentifierAttribute.cs
- ExtensionFile.cs
- WrappedReader.cs
- PageTheme.cs
- SingleObjectCollection.cs
- LightweightCodeGenerator.cs
- ConnectionManagementSection.cs
- WebPartConnectionsConnectVerb.cs
- DropSource.cs
- TreeViewCancelEvent.cs
- FixedSOMLineRanges.cs
- ParagraphResult.cs
- TextRangeAdaptor.cs
- ConnectionStringsSection.cs
- MetadataItemEmitter.cs
- BindingExpression.cs
- PageOutputColor.cs
- figurelength.cs
- TimeStampChecker.cs
- _SslState.cs
- HierarchicalDataBoundControlAdapter.cs
- RefreshPropertiesAttribute.cs
- ToolStripSplitButton.cs
- FilterQuery.cs
- ExclusiveTcpListener.cs
- XamlFigureLengthSerializer.cs
- DefaultEvaluationContext.cs
- InstanceNormalEvent.cs
- HtmlTableRow.cs
- RelatedPropertyManager.cs
- ClassGenerator.cs
- Stackframe.cs
- DesignTimeType.cs
- PrintPreviewGraphics.cs
- FormatException.cs
- ScriptControlManager.cs
- DesignTimeVisibleAttribute.cs
- LineSegment.cs
- KerberosSecurityTokenProvider.cs
- CalendarItem.cs
- PropertyInfoSet.cs
- SaveWorkflowCommand.cs
- TableAutomationPeer.cs
- CqlGenerator.cs
- CloseSequence.cs
- OverflowException.cs
- basenumberconverter.cs
- AspNetPartialTrustHelpers.cs
- ListArgumentProvider.cs
- LockCookie.cs
- InputScopeManager.cs
- FixedStringLookup.cs
- CodeNamespaceImport.cs
- FixedDocument.cs
- SQLInt32Storage.cs
- ContainerParaClient.cs
- Converter.cs
- FlowDocumentFormatter.cs
- KeyboardNavigation.cs
- HttpAsyncResult.cs
- WebPartMinimizeVerb.cs
- ToolTipAutomationPeer.cs
- errorpatternmatcher.cs
- TextRangeAdaptor.cs
- FieldAccessException.cs
- DataView.cs
- HtmlInputButton.cs
- RevocationPoint.cs
- ExtensionElementCollection.cs
- SplitterCancelEvent.cs
- Nodes.cs
- newinstructionaction.cs
- ChangeBlockUndoRecord.cs
- AnnotationDocumentPaginator.cs
- AddingNewEventArgs.cs
- ToolStripComboBox.cs
- SecureEnvironment.cs
- SqlInfoMessageEvent.cs
- EnumBuilder.cs
- BamlLocalizableResourceKey.cs
- PathNode.cs
- serverconfig.cs
- OracleInfoMessageEventArgs.cs
- SqlNotificationRequest.cs
- RotateTransform3D.cs
- ScriptResourceHandler.cs
- FormatSettings.cs
- PrintPreviewControl.cs
- Types.cs
- ConsumerConnectionPointCollection.cs
- CommandEventArgs.cs
- XmlBufferedByteStreamReader.cs
- IxmlLineInfo.cs
- unsafenativemethodstextservices.cs