Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SettingsSection.cs
- ListControl.cs
- ReflectionPermission.cs
- IdentityHolder.cs
- MimeTypePropertyAttribute.cs
- PolyBezierSegment.cs
- DriveNotFoundException.cs
- RegexReplacement.cs
- XmlRawWriter.cs
- BitmapEffectInput.cs
- ScriptReferenceEventArgs.cs
- DnsPermission.cs
- wgx_render.cs
- SiteMapPathDesigner.cs
- SiteMapNodeItemEventArgs.cs
- ImageKeyConverter.cs
- NotifyIcon.cs
- sqlinternaltransaction.cs
- Int32Animation.cs
- SmtpFailedRecipientException.cs
- InstanceKeyView.cs
- SqlNotificationEventArgs.cs
- SRDisplayNameAttribute.cs
- XmlValidatingReaderImpl.cs
- MarginCollapsingState.cs
- CatalogZone.cs
- NameObjectCollectionBase.cs
- ObjectDataSourceMethodEventArgs.cs
- ComPlusTypeValidator.cs
- UrlMappingsSection.cs
- path.cs
- ThicknessAnimationBase.cs
- ToolStripSystemRenderer.cs
- SqlGenericUtil.cs
- BitmapEffectInput.cs
- BooleanAnimationUsingKeyFrames.cs
- HtmlButton.cs
- CaseInsensitiveHashCodeProvider.cs
- ProviderConnectionPoint.cs
- DeflateStreamAsyncResult.cs
- IdleTimeoutMonitor.cs
- ResXResourceWriter.cs
- ModelProperty.cs
- BreakRecordTable.cs
- WindowsNonControl.cs
- FontUnitConverter.cs
- AutomationPatternInfo.cs
- GetBrowserTokenRequest.cs
- SafeEventHandle.cs
- Button.cs
- Select.cs
- SizeAnimationUsingKeyFrames.cs
- StringPropertyBuilder.cs
- HttpConfigurationContext.cs
- ChtmlTextWriter.cs
- SafeMemoryMappedViewHandle.cs
- CodeTypeDeclarationCollection.cs
- Substitution.cs
- PeerContact.cs
- ContainsRowNumberChecker.cs
- PostBackOptions.cs
- XmlWriter.cs
- SqlError.cs
- DataTableMapping.cs
- DataGridLinkButton.cs
- CompilerErrorCollection.cs
- TagMapInfo.cs
- WebPartZoneBase.cs
- BitVec.cs
- WebPartVerb.cs
- XmlMembersMapping.cs
- SqlInternalConnection.cs
- SqlNodeAnnotation.cs
- WorkflowTimerService.cs
- DocumentXmlWriter.cs
- NavigatorInput.cs
- ResourcesChangeInfo.cs
- EntityParameter.cs
- AsymmetricKeyExchangeFormatter.cs
- RtfToken.cs
- CheckBoxPopupAdapter.cs
- ISCIIEncoding.cs
- Partitioner.cs
- TextViewSelectionProcessor.cs
- ItemsChangedEventArgs.cs
- SaveFileDialog.cs
- processwaithandle.cs
- HttpCacheVaryByContentEncodings.cs
- TabletDeviceInfo.cs
- ConnectionStringsExpressionBuilder.cs
- DataGridViewSortCompareEventArgs.cs
- FormViewPageEventArgs.cs
- SiteMapPath.cs
- RelatedPropertyManager.cs
- TypeUtil.cs
- AnnouncementEventArgs.cs
- CompositeFontInfo.cs
- LinqTreeNodeEvaluator.cs
- StringValidator.cs
- HasCopySemanticsAttribute.cs