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
- BamlRecordWriter.cs
- RegexCharClass.cs
- Sentence.cs
- Claim.cs
- SizeAnimationBase.cs
- ErrorFormatter.cs
- DataListItem.cs
- HttpModuleAction.cs
- ProfilePropertySettings.cs
- UpdateExpressionVisitor.cs
- AttributeCollection.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- TcpConnectionPool.cs
- WindowsGrip.cs
- IDictionary.cs
- Size3D.cs
- ActiveXHost.cs
- SmiMetaDataProperty.cs
- SmtpReplyReaderFactory.cs
- VScrollBar.cs
- StickyNoteHelper.cs
- DBSchemaTable.cs
- DragDeltaEventArgs.cs
- Polyline.cs
- MoveSizeWinEventHandler.cs
- WebPartManagerInternals.cs
- Drawing.cs
- KnownBoxes.cs
- assemblycache.cs
- XPathAxisIterator.cs
- ParameterBuilder.cs
- ReferencedAssembly.cs
- XmlQualifiedName.cs
- GifBitmapDecoder.cs
- MediaContextNotificationWindow.cs
- FileDialogCustomPlace.cs
- WebControl.cs
- OutputCacheSettingsSection.cs
- RegexRunner.cs
- CompensationDesigner.cs
- PropertyEmitter.cs
- HTTPNotFoundHandler.cs
- CharacterHit.cs
- _DisconnectOverlappedAsyncResult.cs
- SamlSecurityToken.cs
- Msec.cs
- BitmapEffectState.cs
- SubpageParagraph.cs
- UpdatePanelControlTrigger.cs
- DbgUtil.cs
- ObjectItemCollection.cs
- Assert.cs
- ListViewContainer.cs
- FileVersionInfo.cs
- DayRenderEvent.cs
- FileDialog_Vista.cs
- SynchronizationScope.cs
- _TLSstream.cs
- AnnotationAuthorChangedEventArgs.cs
- DataTransferEventArgs.cs
- EventLogEntryCollection.cs
- DecoderNLS.cs
- DataGridColumnEventArgs.cs
- EdmTypeAttribute.cs
- ConfigXmlWhitespace.cs
- OpacityConverter.cs
- HideDisabledControlAdapter.cs
- DataSourceHelper.cs
- COM2IDispatchConverter.cs
- ObjRef.cs
- X509SecurityTokenAuthenticator.cs
- ErrorProvider.cs
- DiscoveryDocumentSearchPattern.cs
- TemplatedAdorner.cs
- NegationPusher.cs
- StringAnimationUsingKeyFrames.cs
- WebPartDesigner.cs
- EditorAttribute.cs
- TextEditorLists.cs
- PropertyMetadata.cs
- InternalPermissions.cs
- SimpleApplicationHost.cs
- QualificationDataItem.cs
- GenericWebPart.cs
- cookiecollection.cs
- TemplateAction.cs
- AmbientLight.cs
- ImageMapEventArgs.cs
- CompareValidator.cs
- DynamicPropertyHolder.cs
- XmlSchemaAnnotation.cs
- MetadataItemSerializer.cs
- EntityDataSource.cs
- DoubleStorage.cs
- WebPartTracker.cs
- String.cs
- TemplateComponentConnector.cs
- TextServicesCompartmentContext.cs
- StyleConverter.cs
- ReturnValue.cs