Code:
/ 4.0 / 4.0 / 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.
//----------------------------------------------------------------------------
//
// 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
- HostedBindingBehavior.cs
- datacache.cs
- XmlILConstructAnalyzer.cs
- FunctionNode.cs
- AmbiguousMatchException.cs
- PersianCalendar.cs
- X509ServiceCertificateAuthentication.cs
- DocumentApplicationDocumentViewer.cs
- RefreshEventArgs.cs
- XmlWriterSettings.cs
- RoutedCommand.cs
- EmissiveMaterial.cs
- MarkupWriter.cs
- ToolStripItemGlyph.cs
- SecurityDocument.cs
- TextChange.cs
- EntityProviderServices.cs
- ExpressionQuoter.cs
- WebHttpSecurityModeHelper.cs
- BindingCollection.cs
- PersianCalendar.cs
- XmlReader.cs
- CodeCommentStatementCollection.cs
- ExcCanonicalXml.cs
- Bezier.cs
- CommandConverter.cs
- XmlFormatExtensionPointAttribute.cs
- InputBinding.cs
- DetailsViewUpdateEventArgs.cs
- MethodBuilderInstantiation.cs
- DynamicPropertyHolder.cs
- ScriptComponentDescriptor.cs
- SQLMoneyStorage.cs
- ProgressBarBrushConverter.cs
- FrameDimension.cs
- safex509handles.cs
- WindowsButton.cs
- _AcceptOverlappedAsyncResult.cs
- ZipPackagePart.cs
- oledbconnectionstring.cs
- RightNameExpirationInfoPair.cs
- AttachInfo.cs
- DataGridRelationshipRow.cs
- StickyNoteAnnotations.cs
- MemberDescriptor.cs
- XPathNavigatorKeyComparer.cs
- ZipIOExtraFieldPaddingElement.cs
- StickyNoteAnnotations.cs
- HtmlTextArea.cs
- WebHttpBinding.cs
- Cursor.cs
- Literal.cs
- ReaderWriterLock.cs
- PasswordDeriveBytes.cs
- Contracts.cs
- DataServiceQuery.cs
- FileFormatException.cs
- XmlSchemaAttributeGroup.cs
- ByteStream.cs
- SeparatorAutomationPeer.cs
- Symbol.cs
- Typography.cs
- XmlHelper.cs
- WebRequestModuleElement.cs
- _UncName.cs
- SelectionItemProviderWrapper.cs
- ResourceContainer.cs
- ColorKeyFrameCollection.cs
- IOException.cs
- MultiSelectRootGridEntry.cs
- ImpersonationContext.cs
- PropertyValueChangedEvent.cs
- KnownBoxes.cs
- EarlyBoundInfo.cs
- DynamicRenderer.cs
- ModifierKeysConverter.cs
- RpcResponse.cs
- SqlTypeConverter.cs
- CatalogPartChrome.cs
- FileLoadException.cs
- DBCSCodePageEncoding.cs
- Propagator.cs
- DesignerActionItemCollection.cs
- ExpressionBindingCollection.cs
- Guid.cs
- PtsHost.cs
- ObjectDataSourceView.cs
- TreeNodeStyle.cs
- _TransmitFileOverlappedAsyncResult.cs
- TextParagraphCache.cs
- ConditionalBranch.cs
- MD5CryptoServiceProvider.cs
- ExpressionTable.cs
- GlyphInfoList.cs
- ItemType.cs
- DbConnectionClosed.cs
- Size3DValueSerializer.cs
- SelfIssuedAuthProofToken.cs
- ListContractAdapter.cs
- TrackingStringDictionary.cs