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
- HttpApplication.cs
- MemberInfoSerializationHolder.cs
- SingleKeyFrameCollection.cs
- future.cs
- Site.cs
- PageHandlerFactory.cs
- _HelperAsyncResults.cs
- DataAdapter.cs
- TabletDeviceInfo.cs
- DataSourceView.cs
- XmlSerializerVersionAttribute.cs
- TypeCodeDomSerializer.cs
- XamlSerializationHelper.cs
- PartialTrustHelpers.cs
- BaseTemplateBuildProvider.cs
- ServicesUtilities.cs
- DocumentPaginator.cs
- DataGridRowEventArgs.cs
- SoapHeaderAttribute.cs
- ProviderBase.cs
- FaultDesigner.cs
- HashAlgorithm.cs
- RequestResizeEvent.cs
- ProofTokenCryptoHandle.cs
- XmlDictionaryReader.cs
- FastEncoder.cs
- WebPartZoneCollection.cs
- BindingList.cs
- DescendantOverDescendantQuery.cs
- AssertSection.cs
- EncodingFallbackAwareXmlTextWriter.cs
- CompareValidator.cs
- DataControlImageButton.cs
- SQLResource.cs
- CommandCollectionEditor.cs
- OracleBoolean.cs
- HyperLink.cs
- Point4D.cs
- DataObjectSettingDataEventArgs.cs
- CompareInfo.cs
- DefaultBinder.cs
- CapabilitiesSection.cs
- MenuDesigner.cs
- KnownTypesHelper.cs
- MsmqReceiveParameters.cs
- HierarchicalDataBoundControlAdapter.cs
- FreezableOperations.cs
- TypeHelper.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- ProcessInfo.cs
- ToolBar.cs
- TextHintingModeValidation.cs
- SrgsDocumentParser.cs
- BasePropertyDescriptor.cs
- SortQuery.cs
- AesCryptoServiceProvider.cs
- GraphicsContainer.cs
- FaultDescription.cs
- HttpListenerResponse.cs
- DataSourceControl.cs
- isolationinterop.cs
- GenericRootAutomationPeer.cs
- NTAccount.cs
- AdRotator.cs
- WebEventCodes.cs
- SmtpDigestAuthenticationModule.cs
- JournalEntryListConverter.cs
- BaseTemplateCodeDomTreeGenerator.cs
- _LocalDataStore.cs
- SqlTransaction.cs
- ArgumentNullException.cs
- AccessibleObject.cs
- PermissionRequestEvidence.cs
- WebPartVerbsEventArgs.cs
- UIInitializationException.cs
- ListViewHitTestInfo.cs
- ExpressionBinding.cs
- TerminateWorkflow.cs
- SQLCharsStorage.cs
- WebPartDescription.cs
- OSFeature.cs
- XmlAnyAttributeAttribute.cs
- LinearKeyFrames.cs
- HtmlInputButton.cs
- SafeLocalMemHandle.cs
- PasswordTextContainer.cs
- ClientSettingsSection.cs
- VBIdentifierName.cs
- OpacityConverter.cs
- ScriptReferenceEventArgs.cs
- PrintDialog.cs
- ProfileServiceManager.cs
- ServiceRoute.cs
- SizeIndependentAnimationStorage.cs
- Message.cs
- PolyLineSegmentFigureLogic.cs
- X509DefaultServiceCertificateElement.cs
- PlatformNotSupportedException.cs
- EndpointAddressAugust2004.cs