Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media / GradientBrush.cs / 1 / 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 : adsmith - 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. //---------------------------------------------------------------------------- // // 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 : adsmith - 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
- ProfilePropertySettings.cs
- ValidatorUtils.cs
- Double.cs
- SamlAttribute.cs
- SemaphoreFullException.cs
- BoolLiteral.cs
- ImportCatalogPart.cs
- NotifyInputEventArgs.cs
- DataTableCollection.cs
- SQLUtility.cs
- SspiHelper.cs
- SmtpMail.cs
- TrustSection.cs
- IssuanceLicense.cs
- SchemaEntity.cs
- ZoneButton.cs
- RootAction.cs
- ProcessStartInfo.cs
- HijriCalendar.cs
- UrlMappingCollection.cs
- XmlSubtreeReader.cs
- LoadMessageLogger.cs
- Quaternion.cs
- ListView.cs
- ContextMarshalException.cs
- WebPart.cs
- ToolStripOverflowButton.cs
- Repeater.cs
- _SslSessionsCache.cs
- InvalidOperationException.cs
- AuthorizationRule.cs
- ClientProtocol.cs
- WebPartConnectionsCancelVerb.cs
- Emitter.cs
- ToolStripDropTargetManager.cs
- ExitEventArgs.cs
- ObjectCache.cs
- SecurityTokenValidationException.cs
- BasicViewGenerator.cs
- ConnectionManagementElementCollection.cs
- UnmanagedMemoryStreamWrapper.cs
- XmlTypeMapping.cs
- MediaPlayerState.cs
- _OverlappedAsyncResult.cs
- Version.cs
- FontUnit.cs
- _NegoState.cs
- PointAnimation.cs
- TemplateXamlParser.cs
- ListContractAdapter.cs
- KerberosSecurityTokenProvider.cs
- SqlConnectionPoolGroupProviderInfo.cs
- Tablet.cs
- MachineKeySection.cs
- Viewport2DVisual3D.cs
- MediaTimeline.cs
- LineVisual.cs
- DelegatingTypeDescriptionProvider.cs
- PrintPageEvent.cs
- GCHandleCookieTable.cs
- BitmapEffectDrawingContextState.cs
- BaseCollection.cs
- UIElementPropertyUndoUnit.cs
- ConfigurationHelpers.cs
- DecodeHelper.cs
- FixedDocument.cs
- JpegBitmapEncoder.cs
- PeerNearMe.cs
- ImageSourceValueSerializer.cs
- MediaSystem.cs
- ObjectDataSourceView.cs
- AbsoluteQuery.cs
- LabelAutomationPeer.cs
- QueryContinueDragEvent.cs
- CodeEntryPointMethod.cs
- WindowsSolidBrush.cs
- ScrollViewerAutomationPeer.cs
- CodeThrowExceptionStatement.cs
- XmlStreamStore.cs
- WizardForm.cs
- MobileControlDesigner.cs
- SoapConverter.cs
- WpfXamlType.cs
- CheckBoxAutomationPeer.cs
- Events.cs
- UpdateRecord.cs
- Monitor.cs
- DataRowComparer.cs
- PopupEventArgs.cs
- TextMarkerSource.cs
- BinaryObjectInfo.cs
- RegexFCD.cs
- EventDescriptor.cs
- TableDetailsRow.cs
- XmlEnumAttribute.cs
- CopyOfAction.cs
- dsa.cs
- DateTimeUtil.cs
- BlobPersonalizationState.cs
- CacheEntry.cs