Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // // 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
- MexBindingElement.cs
- SymDocumentType.cs
- TokenBasedSet.cs
- ToolStripDropDownMenu.cs
- XDeferredAxisSource.cs
- CustomErrorCollection.cs
- InfoCardSymmetricAlgorithm.cs
- Contracts.cs
- ZipIOBlockManager.cs
- AppDomainProtocolHandler.cs
- glyphs.cs
- CheckBoxPopupAdapter.cs
- MultilineStringEditor.cs
- NamespaceQuery.cs
- ReadContentAsBinaryHelper.cs
- DocumentXmlWriter.cs
- SqlGatherProducedAliases.cs
- TableMethodGenerator.cs
- StrongTypingException.cs
- HtmlControlDesigner.cs
- PolyLineSegment.cs
- Parser.cs
- AsymmetricAlgorithm.cs
- Rotation3DAnimation.cs
- ServiceProviders.cs
- Mutex.cs
- StackBuilderSink.cs
- Debugger.cs
- EntityDataSourceReferenceGroup.cs
- ExceptionUtil.cs
- StringUtil.cs
- NamespaceCollection.cs
- CodeTypeDeclarationCollection.cs
- RayMeshGeometry3DHitTestResult.cs
- DataGridViewTopRowAccessibleObject.cs
- CalendarBlackoutDatesCollection.cs
- Message.cs
- AdRotatorDesigner.cs
- DataServiceRequestOfT.cs
- Vector3dCollection.cs
- ActivityXRefConverter.cs
- ManualResetEvent.cs
- DependencyPropertyConverter.cs
- Polyline.cs
- DataGridViewSelectedRowCollection.cs
- CounterSample.cs
- SkewTransform.cs
- CustomAttributeBuilder.cs
- HMACRIPEMD160.cs
- GroupLabel.cs
- EdmEntityTypeAttribute.cs
- AlgoModule.cs
- X509CertificateEndpointIdentity.cs
- LineProperties.cs
- SecurityTokenException.cs
- ScriptReferenceEventArgs.cs
- AudioFormatConverter.cs
- ProgramNode.cs
- Transform3D.cs
- BamlTreeNode.cs
- EventLogPermission.cs
- TraceContext.cs
- Cursors.cs
- OdbcConnectionFactory.cs
- ExitEventArgs.cs
- InProcStateClientManager.cs
- ScrollItemProviderWrapper.cs
- ImportCatalogPart.cs
- GradientStopCollection.cs
- TemplateEditingService.cs
- DocumentXPathNavigator.cs
- LinkDescriptor.cs
- HttpApplicationStateWrapper.cs
- Html32TextWriter.cs
- AsymmetricKeyExchangeFormatter.cs
- ProcessThread.cs
- ProxyManager.cs
- HashLookup.cs
- log.cs
- XmlTextEncoder.cs
- CodeCatchClauseCollection.cs
- CacheHelper.cs
- SecUtil.cs
- SchemaImporterExtensionElement.cs
- FunctionQuery.cs
- Application.cs
- EventLogPermissionAttribute.cs
- SQLMoney.cs
- BitmapVisualManager.cs
- MobileTemplatedControlDesigner.cs
- IdnMapping.cs
- ZipIOLocalFileDataDescriptor.cs
- StringReader.cs
- DataGridViewRow.cs
- SerializationObjectManager.cs
- DataGridHeaderBorder.cs
- RsaSecurityKey.cs
- ExpressionContext.cs
- DocumentPageViewAutomationPeer.cs
- MobileRedirect.cs