Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / GradientStop.cs / 1305600 / GradientStop.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // File: GradientStop.cs // // Description: This file contains the implementation of a GradientStop. // The GradientStop class contains a color and an offset, and is // used by GradientBrush. // // History: // 04/30/2003 : [....] - Created it // //--------------------------------------------------------------------------- using MS.Internal; using System; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Markup; namespace System.Windows.Media { ////// GradientStop - The gradient stop is a tuple consisting of an offset and a color. /// A collection of gradient stops help describe the contents of a GradientBrush. /// [Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] public sealed partial class GradientStop : Animatable { #region Constructors ////// GradientStop - Initialize this GradientStop /// public GradientStop() { } ////// GradientStop - Initialize this GradientStop from a constant Color and offset. /// /// The Color at this offset. /// The offset within the Gradient. public GradientStop(Color color, double offset) { Color = color; Offset = offset; } #endregion Constructors } } // 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
- ProgressChangedEventArgs.cs
- XsltConvert.cs
- ProtectedConfigurationSection.cs
- FormsAuthentication.cs
- TreeNodeCollection.cs
- XPathNavigatorKeyComparer.cs
- EventHandlerList.cs
- LazyTextWriterCreator.cs
- ServiceProviders.cs
- ContainerControl.cs
- PersonalizationProviderHelper.cs
- infer.cs
- XmlUnspecifiedAttribute.cs
- BitmapEffectRenderDataResource.cs
- HierarchicalDataBoundControlAdapter.cs
- PerformanceCounterPermissionEntryCollection.cs
- TriState.cs
- XmlSchemaExternal.cs
- XmlElementAttributes.cs
- StorageInfo.cs
- streamingZipPartStream.cs
- AspNetPartialTrustHelpers.cs
- TrackingCondition.cs
- AdapterDictionary.cs
- SettingsAttributes.cs
- KeyEventArgs.cs
- NativeMethods.cs
- XmlUTF8TextWriter.cs
- TreeNodeCollection.cs
- OpenTypeLayoutCache.cs
- _WebProxyDataBuilder.cs
- JournalEntryListConverter.cs
- VersionConverter.cs
- initElementDictionary.cs
- CreateDataSourceDialog.cs
- DispatcherOperation.cs
- ObjectSet.cs
- ServiceControllerDesigner.cs
- XmlTypeAttribute.cs
- TextSerializer.cs
- FileCodeGroup.cs
- COM2EnumConverter.cs
- ReferenceSchema.cs
- PageAsyncTaskManager.cs
- TraceLevelStore.cs
- SdlChannelSink.cs
- ExpressionNormalizer.cs
- ServiceRouteHandler.cs
- LicFileLicenseProvider.cs
- Matrix.cs
- TextBox.cs
- Msec.cs
- ContextStaticAttribute.cs
- figurelengthconverter.cs
- BaseTemplateCodeDomTreeGenerator.cs
- XmlEncApr2001.cs
- AutomationAttributeInfo.cs
- SuppressMessageAttribute.cs
- InfoCardBaseException.cs
- Point3DKeyFrameCollection.cs
- AuthenticationServiceManager.cs
- CryptoKeySecurity.cs
- GeneralTransform.cs
- TreeNodeEventArgs.cs
- ToolBarOverflowPanel.cs
- XmlSchemaException.cs
- CodeTypeMember.cs
- DynamicAttribute.cs
- RuntimeResourceSet.cs
- OutputCacheSettingsSection.cs
- ServiceBehaviorElementCollection.cs
- StyleConverter.cs
- RequestCachePolicyConverter.cs
- DataControlFieldHeaderCell.cs
- RSAProtectedConfigurationProvider.cs
- TypeUsage.cs
- DynamicDocumentPaginator.cs
- SafeNativeMethods.cs
- XpsSerializationManagerAsync.cs
- MarkupCompilePass1.cs
- DbConnectionHelper.cs
- LocationUpdates.cs
- ListViewHitTestInfo.cs
- CompilationUtil.cs
- GridLength.cs
- RegexTree.cs
- XmlExtensionFunction.cs
- StrokeNodeEnumerator.cs
- XmlCDATASection.cs
- SrgsToken.cs
- ActiveXHost.cs
- _NTAuthentication.cs
- Input.cs
- BufferedReadStream.cs
- VisualStyleElement.cs
- CodeTypeDelegate.cs
- View.cs
- FacetValueContainer.cs
- Gdiplus.cs
- Globals.cs