Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / GradientBrush.cs / 1305600 / GradientBrush.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // File: GradientBrush.cs // // Description: This file contains the implementation of GradientBrush. // The GradientBrush is an abstract class of Brushes which describes // a way to fill a region by a gradient. Derived classes describe different // ways of interpreting gradient stops. // // History: // 04/30/2003 : [....] - Created it. // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.ComponentModel; using System.Windows; using System.Windows.Markup; using System.Windows.Media; using System.Windows.Media.Animation; using MS.Internal; using System.Runtime.InteropServices; using System.Windows.Media.Composition; namespace System.Windows.Media { ////// GradientBrush /// The GradientBrush is an abstract class of Brushes which describes /// a way to fill a region by a gradient. Derived classes describe different /// ways of interpreting gradient stops. /// [ContentProperty("GradientStops")] public abstract partial class GradientBrush : Brush { #region Constructors ////// Protected constructor for GradientBrush /// protected GradientBrush() { } ////// Protected constructor for GradientBrush /// Sets all the values of the GradientStopCollection, all other values are left as default. /// protected GradientBrush(GradientStopCollection gradientStopCollection) { GradientStops = gradientStopCollection; } #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
- RowVisual.cs
- WebDisplayNameAttribute.cs
- HMACSHA1.cs
- DataContract.cs
- PersistenceTypeAttribute.cs
- IndexingContentUnit.cs
- ItemMap.cs
- SdlChannelSink.cs
- CompilerScope.cs
- TypeUsageBuilder.cs
- DataTable.cs
- XmlRawWriter.cs
- ConstructorNeedsTagAttribute.cs
- RichTextBoxContextMenu.cs
- StreamProxy.cs
- GenerateTemporaryTargetAssembly.cs
- EventArgs.cs
- ComponentFactoryHelpers.cs
- SvcMapFileLoader.cs
- AccessControlEntry.cs
- EntityCommand.cs
- RC2CryptoServiceProvider.cs
- DataKey.cs
- BindingsSection.cs
- TextPenaltyModule.cs
- CompositeFontFamily.cs
- NumberAction.cs
- XmlRootAttribute.cs
- NoneExcludedImageIndexConverter.cs
- ResolveNameEventArgs.cs
- CustomLineCap.cs
- ClickablePoint.cs
- CheckBoxField.cs
- IssuanceLicense.cs
- BaseTransportHeaders.cs
- NonceToken.cs
- PointAnimationClockResource.cs
- Thread.cs
- ClientSponsor.cs
- LocationInfo.cs
- OdbcParameter.cs
- FormatException.cs
- PageCodeDomTreeGenerator.cs
- DmlSqlGenerator.cs
- SamlConditions.cs
- CodeDOMProvider.cs
- ActivityDesigner.cs
- ParseChildrenAsPropertiesAttribute.cs
- Viewport3DAutomationPeer.cs
- XmlBinaryReader.cs
- GZipStream.cs
- DocumentViewerHelper.cs
- UdpUtility.cs
- ExtractedStateEntry.cs
- DashStyle.cs
- TypographyProperties.cs
- PointAnimationBase.cs
- SessionState.cs
- CLRBindingWorker.cs
- DesignerMetadata.cs
- WindowsTab.cs
- RectangleConverter.cs
- ResXResourceReader.cs
- PersonalizationStateInfoCollection.cs
- CodeIdentifiers.cs
- SchemaObjectWriter.cs
- OleDbException.cs
- FocusManager.cs
- TimeEnumHelper.cs
- PathGeometry.cs
- StateItem.cs
- NavigationCommands.cs
- HttpVersion.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- OracleDataAdapter.cs
- ModelItemDictionaryImpl.cs
- ReachBasicContext.cs
- SingleAnimationUsingKeyFrames.cs
- XmlElement.cs
- InsufficientMemoryException.cs
- SecureStringHasher.cs
- ProcessInfo.cs
- InkPresenter.cs
- TypeElement.cs
- CacheAxisQuery.cs
- TcpTransportSecurity.cs
- DecoderBestFitFallback.cs
- Win32Exception.cs
- ToolStripGrip.cs
- Int32Converter.cs
- FacetChecker.cs
- PlainXmlSerializer.cs
- MimeTypeAttribute.cs
- DropTarget.cs
- Freezable.cs
- HostedHttpRequestAsyncResult.cs
- LogSwitch.cs
- WebControlAdapter.cs
- LiteralTextParser.cs
- DependencyObjectCodeDomSerializer.cs