Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CursorConverter.cs
- EntitySetBase.cs
- DataControlFieldCollection.cs
- DiscoveryClientRequestChannel.cs
- SpnEndpointIdentity.cs
- WorkflowInstanceQuery.cs
- PieceNameHelper.cs
- ServiceEndpointElement.cs
- QueryAsyncResult.cs
- UnauthorizedWebPart.cs
- WebPartConnectionsCloseVerb.cs
- FileUtil.cs
- XmlSchemaAttribute.cs
- XpsFixedPageReaderWriter.cs
- Pen.cs
- EntityDataSourceQueryBuilder.cs
- coordinatorscratchpad.cs
- WeakEventManager.cs
- LeaseManager.cs
- CheckBox.cs
- AVElementHelper.cs
- _HelperAsyncResults.cs
- CatalogPartCollection.cs
- StylusButtonCollection.cs
- WebBrowserHelper.cs
- WorkflowDesignerMessageFilter.cs
- LinearKeyFrames.cs
- OrderToken.cs
- DeclarationUpdate.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Stack.cs
- XmlNodeChangedEventManager.cs
- WebEncodingValidatorAttribute.cs
- DataMemberAttribute.cs
- HtmlDocument.cs
- FrameworkContentElement.cs
- SqlFacetAttribute.cs
- ZeroOpNode.cs
- BitStream.cs
- GlyphTypeface.cs
- CreateUserErrorEventArgs.cs
- XMLDiffLoader.cs
- AutomationProperties.cs
- FileUtil.cs
- _LocalDataStore.cs
- ButtonFlatAdapter.cs
- MediaTimeline.cs
- SerializationSectionGroup.cs
- StronglyTypedResourceBuilder.cs
- Visual.cs
- SpellerInterop.cs
- MediaElementAutomationPeer.cs
- StringSorter.cs
- Logging.cs
- RootBrowserWindow.cs
- WorkflowDefinitionContext.cs
- DataGridViewCellParsingEventArgs.cs
- ObjectListDataBindEventArgs.cs
- oledbmetadatacolumnnames.cs
- DataGridState.cs
- ProvideValueServiceProvider.cs
- PrintControllerWithStatusDialog.cs
- XmlSchemaObjectTable.cs
- PolyLineSegment.cs
- TemplateControl.cs
- safex509handles.cs
- WebPartHeaderCloseVerb.cs
- Missing.cs
- DecoderReplacementFallback.cs
- GlobalAllocSafeHandle.cs
- PointHitTestParameters.cs
- WinFormsSecurity.cs
- ObjectAssociationEndMapping.cs
- EntityProxyTypeInfo.cs
- GrammarBuilder.cs
- InternalConfigHost.cs
- IdleTimeoutMonitor.cs
- RequestUriProcessor.cs
- DataBinder.cs
- DocumentApplicationState.cs
- DivideByZeroException.cs
- ApplicationHost.cs
- GridViewUpdatedEventArgs.cs
- ClusterSafeNativeMethods.cs
- OleDragDropHandler.cs
- SQLCharsStorage.cs
- ObjectDataSource.cs
- Constraint.cs
- SimpleHandlerBuildProvider.cs
- SafeRegistryKey.cs
- DelegatingTypeDescriptionProvider.cs
- SoapException.cs
- DataGridColumnHeaderAutomationPeer.cs
- Int16.cs
- MobileContainerDesigner.cs
- HttpRuntime.cs
- ExpressionConverter.cs
- WebPartTransformerCollection.cs
- ToolStripPanelRow.cs
- ToolStripPanelRow.cs