Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- LabelEditEvent.cs
- GridViewItemAutomationPeer.cs
- NavigationEventArgs.cs
- JsonReader.cs
- WindowsListView.cs
- MailWebEventProvider.cs
- HttpProfileBase.cs
- Rectangle.cs
- ObjectStateFormatter.cs
- XPathException.cs
- HttpDigestClientCredential.cs
- CurrencyManager.cs
- DispatcherEventArgs.cs
- RunWorkerCompletedEventArgs.cs
- SecurityElement.cs
- IdnElement.cs
- Rect3D.cs
- XmlElementList.cs
- BaseValidator.cs
- CompiledRegexRunnerFactory.cs
- MemoryMappedView.cs
- ConfigurationStrings.cs
- AdapterUtil.cs
- WriteableBitmap.cs
- IsolatedStorage.cs
- ContentFileHelper.cs
- SubMenuStyleCollection.cs
- WindowsPrincipal.cs
- ErasingStroke.cs
- LexicalChunk.cs
- returneventsaver.cs
- WebControlParameterProxy.cs
- DataTemplateKey.cs
- PackageRelationshipSelector.cs
- DefaultValidator.cs
- HandlerMappingMemo.cs
- CheckPair.cs
- DeleteIndexBinder.cs
- BamlReader.cs
- Utils.cs
- PinnedBufferMemoryStream.cs
- UnsafeNativeMethods.cs
- MergeEnumerator.cs
- ServiceDesigner.cs
- SelectionList.cs
- DesignColumnCollection.cs
- SafeMarshalContext.cs
- SharedDp.cs
- Substitution.cs
- WCFModelStrings.Designer.cs
- MimeObjectFactory.cs
- CharEntityEncoderFallback.cs
- DataBindingCollection.cs
- HtmlInputRadioButton.cs
- NamedPermissionSet.cs
- UdpDiscoveryEndpointElement.cs
- WebPermission.cs
- AspNetSynchronizationContext.cs
- EntryPointNotFoundException.cs
- ComboBox.cs
- KnowledgeBase.cs
- SchemaType.cs
- DesignerSerializationManager.cs
- ConstrainedDataObject.cs
- UrlPath.cs
- RequestTimeoutManager.cs
- BadImageFormatException.cs
- MyContact.cs
- ButtonRenderer.cs
- OdbcPermission.cs
- OleDbConnectionFactory.cs
- ExclusiveCanonicalizationTransform.cs
- ConfigXmlText.cs
- XmlUnspecifiedAttribute.cs
- ValidatorCollection.cs
- CustomError.cs
- AssociationSet.cs
- HitTestWithGeometryDrawingContextWalker.cs
- storepermissionattribute.cs
- XmlTextWriter.cs
- ScriptingJsonSerializationSection.cs
- ConfigXmlAttribute.cs
- GlyphRunDrawing.cs
- DeferredReference.cs
- ConfigsHelper.cs
- StructureChangedEventArgs.cs
- DataGridItemEventArgs.cs
- WebBrowserHelper.cs
- InputBinding.cs
- RegexWorker.cs
- SamlEvidence.cs
- EditingCoordinator.cs
- DigitalSignature.cs
- MiniAssembly.cs
- TextBoxAutoCompleteSourceConverter.cs
- PersonalizationStateQuery.cs
- CommandEventArgs.cs
- IdleTimeoutMonitor.cs
- UnionCqlBlock.cs
- DateTimeAutomationPeer.cs