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
- XmlNullResolver.cs
- RemoteWebConfigurationHost.cs
- ClonableStack.cs
- FamilyMapCollection.cs
- CachedBitmap.cs
- MessageHeaderAttribute.cs
- SpeakProgressEventArgs.cs
- TextTreeRootNode.cs
- ActivityExecutorDelegateInfo.cs
- TimeoutValidationAttribute.cs
- MailBnfHelper.cs
- JoinCqlBlock.cs
- EventHandlersStore.cs
- InlineCollection.cs
- DragDropManager.cs
- GeometryGroup.cs
- WebSysDescriptionAttribute.cs
- SafeSecurityHelper.cs
- WebPartCloseVerb.cs
- DocumentationServerProtocol.cs
- ApplySecurityAndSendAsyncResult.cs
- TextEditorMouse.cs
- PointConverter.cs
- TextContainerChangedEventArgs.cs
- ConditionedDesigner.cs
- SecUtil.cs
- TextProviderWrapper.cs
- PropertyValueUIItem.cs
- SourceChangedEventArgs.cs
- SpecularMaterial.cs
- BatchServiceHost.cs
- XmlSiteMapProvider.cs
- ImageDesigner.cs
- XmlSchemaValidator.cs
- GridViewUpdatedEventArgs.cs
- TimeoutValidationAttribute.cs
- PersonalizationStateInfo.cs
- PingReply.cs
- PriorityQueue.cs
- CompositeScriptReferenceEventArgs.cs
- CellLabel.cs
- KeyFrames.cs
- RegexCode.cs
- DataContext.cs
- Variable.cs
- MatrixCamera.cs
- TransformerTypeCollection.cs
- KeyInstance.cs
- TextProviderWrapper.cs
- CodeDelegateCreateExpression.cs
- NotificationContext.cs
- Int32CollectionConverter.cs
- XmlConvert.cs
- PipelineModuleStepContainer.cs
- TemplateKey.cs
- Serializer.cs
- HtmlForm.cs
- TextAdaptor.cs
- ToolStripContainer.cs
- TextSelection.cs
- TableLayoutSettingsTypeConverter.cs
- SetStateEventArgs.cs
- InputDevice.cs
- MarshalDirectiveException.cs
- MethodToken.cs
- SQLByte.cs
- AsyncOperation.cs
- newitemfactory.cs
- MailDefinition.cs
- RecognizeCompletedEventArgs.cs
- ExpandCollapseIsCheckedConverter.cs
- Point3DConverter.cs
- InheritablePropertyChangeInfo.cs
- ConvertersCollection.cs
- BrowserCapabilitiesFactory.cs
- DataGridTable.cs
- EnumValAlphaComparer.cs
- RegexRunnerFactory.cs
- OperationResponse.cs
- PropertyMapper.cs
- arc.cs
- IntegerValidatorAttribute.cs
- ProfileEventArgs.cs
- ErrorEventArgs.cs
- documentsequencetextcontainer.cs
- XpsS0ValidatingLoader.cs
- WindowsGrip.cs
- ReflectionPermission.cs
- FormViewDeleteEventArgs.cs
- XmlSchemaSet.cs
- BamlLocalizer.cs
- AuthenticatingEventArgs.cs
- ViewStateException.cs
- DataGridViewElement.cs
- AssemblyAttributes.cs
- AdditionalEntityFunctions.cs
- TextEditorContextMenu.cs
- XmlQueryType.cs
- ImageUrlEditor.cs
- ScriptRegistrationManager.cs