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
- CustomAttributeBuilder.cs
- DebuggerAttributes.cs
- RoleBoolean.cs
- translator.cs
- ForwardPositionQuery.cs
- CryptoApi.cs
- ScopedKnownTypes.cs
- CounterCreationDataCollection.cs
- XmlIncludeAttribute.cs
- ComponentChangingEvent.cs
- MSAAEventDispatcher.cs
- RenderCapability.cs
- DiagnosticsConfigurationHandler.cs
- ScriptControlManager.cs
- MimeMultiPart.cs
- TemplatedEditableDesignerRegion.cs
- SplashScreen.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- TextSimpleMarkerProperties.cs
- CodeVariableReferenceExpression.cs
- XmlArrayItemAttribute.cs
- EventDrivenDesigner.cs
- AccessKeyManager.cs
- ProcessManager.cs
- TextServicesCompartmentEventSink.cs
- OdbcConnectionStringbuilder.cs
- Page.cs
- Common.cs
- IntPtr.cs
- StrongNameKeyPair.cs
- XmlRootAttribute.cs
- MessageDescriptionCollection.cs
- ChtmlTextWriter.cs
- SqlWebEventProvider.cs
- NamedPermissionSet.cs
- TaskResultSetter.cs
- DesignerLabelAdapter.cs
- Int32CAMarshaler.cs
- TryExpression.cs
- RelationshipSet.cs
- FormatterConverter.cs
- KnownBoxes.cs
- SizeFConverter.cs
- SqlParameterizer.cs
- Filter.cs
- HttpCookieCollection.cs
- QilTernary.cs
- ListViewItemSelectionChangedEvent.cs
- CompositeDataBoundControl.cs
- SoapIgnoreAttribute.cs
- EventWaitHandle.cs
- TransformProviderWrapper.cs
- SafeReversePInvokeHandle.cs
- XmlElementAttributes.cs
- Byte.cs
- AbstractSvcMapFileLoader.cs
- SplayTreeNode.cs
- MimeObjectFactory.cs
- KeyPressEvent.cs
- XPathArrayIterator.cs
- PresentationAppDomainManager.cs
- UICuesEvent.cs
- ReverseInheritProperty.cs
- RelOps.cs
- StoreContentChangedEventArgs.cs
- MatrixCamera.cs
- InternalCache.cs
- TreeViewBindingsEditorForm.cs
- TablePattern.cs
- LateBoundBitmapDecoder.cs
- FixedTextView.cs
- InfoCardTrace.cs
- ElementUtil.cs
- keycontainerpermission.cs
- JournalNavigationScope.cs
- DataControlHelper.cs
- embossbitmapeffect.cs
- AdapterDictionary.cs
- AddDataControlFieldDialog.cs
- EntityDataSourceQueryBuilder.cs
- MarginsConverter.cs
- WeakRefEnumerator.cs
- ZipIOLocalFileBlock.cs
- PageSetupDialog.cs
- PropertyGeneratedEventArgs.cs
- UpdateProgress.cs
- TiffBitmapDecoder.cs
- CustomValidator.cs
- ComponentCollection.cs
- MulticastIPAddressInformationCollection.cs
- TypeDependencyAttribute.cs
- TextRangeEditLists.cs
- DbDeleteCommandTree.cs
- DecimalKeyFrameCollection.cs
- XmlIgnoreAttribute.cs
- Scene3D.cs
- PasswordTextContainer.cs
- DrawingContextDrawingContextWalker.cs
- FontDialog.cs
- SiteMap.cs