Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Media / Animation / Generated / LinearKeyFrames.cs / 1 / LinearKeyFrames.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see [....]/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 interpolates the between the Thickness Value of /// the previous key frame and its own Value linearly to produce its output value. /// public partial class LinearThicknessKeyFrame : ThicknessKeyFrame { #region Constructors ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame() : base() { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value) : base(value) { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value, KeyTime keyTime) : base(value, keyTime) { } #endregion #region Freezable ////// Implementation of ///Freezable.CreateInstanceCore . ///The new Freezable. protected override Freezable CreateInstanceCore() { return new LinearThicknessKeyFrame(); } #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 == 0.0) { return baseValue; } else if (keyFrameProgress == 1.0) { return Value; } else { return AnimatedTypeHelpers.InterpolateThickness(baseValue, Value, keyFrameProgress); } } #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
- ListViewSortEventArgs.cs
- OperationAbortedException.cs
- DbExpressionBuilder.cs
- BamlResourceSerializer.cs
- StrokeNodeOperations2.cs
- CircleHotSpot.cs
- InstanceCollisionException.cs
- MulticastIPAddressInformationCollection.cs
- InkCanvasSelectionAdorner.cs
- DisplayMemberTemplateSelector.cs
- DisplayInformation.cs
- DetailsViewRowCollection.cs
- RegexFCD.cs
- XPathNodeHelper.cs
- ErrorsHelper.cs
- CodeEventReferenceExpression.cs
- ActiveXHost.cs
- ConfigurationManager.cs
- Property.cs
- SqlCommand.cs
- EntityContainerEntitySet.cs
- DateTimeConstantAttribute.cs
- COM2Enum.cs
- GridToolTip.cs
- FolderBrowserDialog.cs
- DataSourceGroupCollection.cs
- ImageListImageEditor.cs
- BuilderPropertyEntry.cs
- SizeAnimation.cs
- Int16AnimationUsingKeyFrames.cs
- VoiceObjectToken.cs
- XmlSequenceWriter.cs
- Random.cs
- Convert.cs
- MostlySingletonList.cs
- IPAddress.cs
- WebEvents.cs
- VirtualDirectoryMapping.cs
- CodeAttributeDeclarationCollection.cs
- SQLGuidStorage.cs
- MetadataItemEmitter.cs
- odbcmetadatafactory.cs
- OracleTimeSpan.cs
- OdbcStatementHandle.cs
- XmlNavigatorFilter.cs
- QueryInterceptorAttribute.cs
- HtmlFormWrapper.cs
- XmlProcessingInstruction.cs
- NoResizeHandleGlyph.cs
- _AcceptOverlappedAsyncResult.cs
- RuntimeConfigurationRecord.cs
- XmlTextReaderImpl.cs
- GeneratedContractType.cs
- InlinedAggregationOperator.cs
- PartManifestEntry.cs
- HandlerBase.cs
- InternalDispatchObject.cs
- RawStylusInputCustomDataList.cs
- SpecularMaterial.cs
- GC.cs
- PrePostDescendentsWalker.cs
- ProtectedProviderSettings.cs
- JsonSerializer.cs
- ConfigurationCollectionAttribute.cs
- XmlProcessingInstruction.cs
- JournalNavigationScope.cs
- StringStorage.cs
- UrlAuthFailedErrorFormatter.cs
- InvariantComparer.cs
- sqlstateclientmanager.cs
- CollectionBuilder.cs
- CorePropertiesFilter.cs
- ToolStripItemTextRenderEventArgs.cs
- WsdlBuildProvider.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- WindowVisualStateTracker.cs
- XmlElement.cs
- RoleGroup.cs
- ReceiveCompletedEventArgs.cs
- PingOptions.cs
- DataRowComparer.cs
- PtsHost.cs
- RichTextBoxAutomationPeer.cs
- StreamGeometry.cs
- ListViewDataItem.cs
- PagerSettings.cs
- CompareInfo.cs
- OdbcEnvironmentHandle.cs
- MenuCommand.cs
- XmlIlVisitor.cs
- InputBinding.cs
- DbConnectionInternal.cs
- UIElement3DAutomationPeer.cs
- SwitchCase.cs
- FontStyles.cs
- CodeObject.cs
- SystemFonts.cs
- NativeMethods.cs
- Transform.cs
- TabletDeviceInfo.cs