Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / 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 : adsmith - 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 : adsmith - 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompilationLock.cs
- ScriptingJsonSerializationSection.cs
- MulticastNotSupportedException.cs
- StatusBarPanelClickEvent.cs
- UnsafeNativeMethods.cs
- HostSecurityManager.cs
- securitymgrsite.cs
- VScrollProperties.cs
- EqualityComparer.cs
- MediaSystem.cs
- NegationPusher.cs
- MemberNameValidator.cs
- OracleTimeSpan.cs
- SequentialActivityDesigner.cs
- SqlFunctionAttribute.cs
- Gdiplus.cs
- BuildManager.cs
- JsonUriDataContract.cs
- FileVersion.cs
- CompositeClientFormatter.cs
- BooleanAnimationBase.cs
- RandomNumberGenerator.cs
- CodeNamespaceImport.cs
- DefaultBinder.cs
- OutgoingWebResponseContext.cs
- _OverlappedAsyncResult.cs
- ScaleTransform3D.cs
- TableLayoutSettings.cs
- ParserContext.cs
- CompositeScriptReference.cs
- DeriveBytes.cs
- ResourceSetExpression.cs
- DesignerValidatorAdapter.cs
- CodeConditionStatement.cs
- RowSpanVector.cs
- DATA_BLOB.cs
- Comparer.cs
- LayoutTableCell.cs
- RSAPKCS1SignatureDeformatter.cs
- XmlSerializerAssemblyAttribute.cs
- SystemGatewayIPAddressInformation.cs
- FlowDocumentPaginator.cs
- ContentDefinition.cs
- QueryOpeningEnumerator.cs
- TextPointer.cs
- Relationship.cs
- TableLayoutPanelCodeDomSerializer.cs
- XPathPatternBuilder.cs
- UrlPropertyAttribute.cs
- Expression.cs
- ContractComponent.cs
- NameObjectCollectionBase.cs
- TextSelectionHelper.cs
- StrokeCollectionConverter.cs
- SHA512.cs
- SHA384Managed.cs
- ObjectDataSourceFilteringEventArgs.cs
- LookupBindingPropertiesAttribute.cs
- ZoomPercentageConverter.cs
- StructuredTypeInfo.cs
- StructuralType.cs
- StorageComplexPropertyMapping.cs
- ParameterInfo.cs
- LinkClickEvent.cs
- CounterCreationData.cs
- DynamicActivity.cs
- ExitEventArgs.cs
- SqlDataSourceCache.cs
- BindableTemplateBuilder.cs
- CodeTypeReferenceExpression.cs
- TextEditorParagraphs.cs
- util.cs
- PointKeyFrameCollection.cs
- Span.cs
- OutputCacheSection.cs
- ManipulationDevice.cs
- Calendar.cs
- BaseDataBoundControl.cs
- GridLength.cs
- TableItemPattern.cs
- SchemaElement.cs
- TraceProvider.cs
- DropShadowEffect.cs
- DbCommandDefinition.cs
- LocalizableAttribute.cs
- SchemeSettingElement.cs
- DependencyPropertyDescriptor.cs
- FieldAccessException.cs
- TraceEventCache.cs
- DataGridToolTip.cs
- ObjectView.cs
- TableProvider.cs
- ValueProviderWrapper.cs
- Calendar.cs
- DispatcherEventArgs.cs
- ECDiffieHellmanPublicKey.cs
- XmlSchemaExporter.cs
- Root.cs
- RegexMatchCollection.cs
- SqlCacheDependencySection.cs