Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / GradientStop.cs / 1 / 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
- MenuEventArgs.cs
- NTAccount.cs
- BrushValueSerializer.cs
- ConfigurationSettings.cs
- XmlSchemaParticle.cs
- MexTcpBindingCollectionElement.cs
- DataRowExtensions.cs
- PageThemeBuildProvider.cs
- SHA512Managed.cs
- MarkupObject.cs
- HostVisual.cs
- HttpModuleCollection.cs
- TraceSection.cs
- CompModSwitches.cs
- TimeoutValidationAttribute.cs
- UserPreference.cs
- xamlnodes.cs
- GenericUriParser.cs
- MetadataCache.cs
- MimeTypePropertyAttribute.cs
- FrameworkRichTextComposition.cs
- StringUtil.cs
- CryptographicAttribute.cs
- CriticalHandle.cs
- TextSelection.cs
- MailBnfHelper.cs
- ClientCultureInfo.cs
- FastPropertyAccessor.cs
- StringArrayEditor.cs
- SchemaImporterExtensionElementCollection.cs
- CallbackValidator.cs
- ProxyDataContractResolver.cs
- TrustSection.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- DocumentAutomationPeer.cs
- DataViewSettingCollection.cs
- CompilerWrapper.cs
- MatrixValueSerializer.cs
- uribuilder.cs
- WebReferenceCollection.cs
- DataSourceDescriptorCollection.cs
- XmlCharType.cs
- xmlformatgeneratorstatics.cs
- ListViewItem.cs
- StringReader.cs
- Overlapped.cs
- HtmlTableRow.cs
- FontStretches.cs
- ExtractedStateEntry.cs
- SqlStream.cs
- IOException.cs
- ReadOnlyNameValueCollection.cs
- DispatchChannelSink.cs
- ToolStripLocationCancelEventArgs.cs
- CodeNamespaceImport.cs
- CompilationUtil.cs
- GACIdentityPermission.cs
- CheckBoxPopupAdapter.cs
- PrintDocument.cs
- PeerApplication.cs
- ViewLoader.cs
- OperatingSystem.cs
- CodeDelegateInvokeExpression.cs
- EmptyEnumerable.cs
- TransformPatternIdentifiers.cs
- CachedPathData.cs
- UnsafeNativeMethods.cs
- PaintValueEventArgs.cs
- ConfigXmlAttribute.cs
- RankException.cs
- MailAddressParser.cs
- OletxTransactionHeader.cs
- MessageBox.cs
- OutputScope.cs
- XPathItem.cs
- SuppressIldasmAttribute.cs
- ContractComponent.cs
- RootProfilePropertySettingsCollection.cs
- CornerRadiusConverter.cs
- ResXResourceReader.cs
- RefExpr.cs
- EventItfInfo.cs
- Content.cs
- ServiceBuildProvider.cs
- SectionInformation.cs
- TransformedBitmap.cs
- XmlSchemaValidationException.cs
- AttributedMetaModel.cs
- AppDomainManager.cs
- Point3D.cs
- InlinedAggregationOperator.cs
- SystemNetHelpers.cs
- LockRecursionException.cs
- Rotation3DAnimation.cs
- ResourceWriter.cs
- ContractDescription.cs
- EventMappingSettingsCollection.cs
- ButtonChrome.cs
- WindowsToolbar.cs
- ConfigurationValidatorAttribute.cs