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
- WindowsAuthenticationModule.cs
- SymDocumentType.cs
- OperatorExpressions.cs
- DependencyPropertyKey.cs
- QuotedStringFormatReader.cs
- NativeMethods.cs
- DirtyTextRange.cs
- LinkArea.cs
- DBAsyncResult.cs
- DirectoryNotFoundException.cs
- ListParaClient.cs
- RestClientProxyHandler.cs
- CrossSiteScriptingValidation.cs
- ProfessionalColorTable.cs
- ClassicBorderDecorator.cs
- InheritanceAttribute.cs
- DPTypeDescriptorContext.cs
- RequestStatusBarUpdateEventArgs.cs
- QuotedPairReader.cs
- CodeValidator.cs
- FixedDocument.cs
- RenameRuleObjectDialog.Designer.cs
- MonitorWrapper.cs
- D3DImage.cs
- AddInPipelineAttributes.cs
- DbInsertCommandTree.cs
- XmlDocumentFragment.cs
- RemotingServices.cs
- RandomNumberGenerator.cs
- HitTestDrawingContextWalker.cs
- Rijndael.cs
- EventData.cs
- CallbackDebugElement.cs
- WindowsIPAddress.cs
- SqlBulkCopyColumnMapping.cs
- PageVisual.cs
- ImageCodecInfoPrivate.cs
- RouteItem.cs
- CacheDependency.cs
- PageAsyncTaskManager.cs
- Helpers.cs
- SiteMapPath.cs
- UserControl.cs
- QilUnary.cs
- Transform.cs
- XmlSchemaSet.cs
- HMAC.cs
- Encoder.cs
- SchemaImporter.cs
- DesignerTransactionCloseEvent.cs
- ScriptResourceAttribute.cs
- PathGeometry.cs
- TextEditorMouse.cs
- InternalBase.cs
- ObjectTokenCategory.cs
- DataBinding.cs
- OuterProxyWrapper.cs
- Trace.cs
- ImageConverter.cs
- DispatchRuntime.cs
- DataRow.cs
- FontSizeConverter.cs
- TraceFilter.cs
- CorrelationValidator.cs
- FullTrustAssembly.cs
- StreamWriter.cs
- WebPartConnection.cs
- GridView.cs
- HttpVersion.cs
- ByteAnimation.cs
- JoinTreeNode.cs
- addressfiltermode.cs
- RoleManagerSection.cs
- SecurityState.cs
- IResourceProvider.cs
- Rotation3DAnimationUsingKeyFrames.cs
- TraceRecord.cs
- Fonts.cs
- NonVisualControlAttribute.cs
- DataPagerFieldCollection.cs
- MethodToken.cs
- BitmapMetadataBlob.cs
- Oci.cs
- BitSet.cs
- ChannelTerminatedException.cs
- ClientType.cs
- SoapHeaderException.cs
- namescope.cs
- DataRecordInternal.cs
- DbCommandTree.cs
- UIElementHelper.cs
- CreateUserWizardStep.cs
- SystemIPGlobalStatistics.cs
- _SingleItemRequestCache.cs
- DiffuseMaterial.cs
- PrinterUnitConvert.cs
- Padding.cs
- PrintPreviewGraphics.cs
- BaseParser.cs
- TabPageDesigner.cs