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
- GeneralTransformGroup.cs
- StrongNamePublicKeyBlob.cs
- TemplateKey.cs
- XmlDocumentFragment.cs
- TimeSpanMinutesConverter.cs
- SrgsElement.cs
- XmlChoiceIdentifierAttribute.cs
- PropertyChangingEventArgs.cs
- XmlSortKeyAccumulator.cs
- StrokeFIndices.cs
- EndpointDispatcherTable.cs
- DocumentPageTextView.cs
- ConnectionPoint.cs
- SignatureHelper.cs
- SQLMoneyStorage.cs
- LocalizableAttribute.cs
- CompiledAction.cs
- XPathDescendantIterator.cs
- DbSource.cs
- Int32KeyFrameCollection.cs
- DbMetaDataFactory.cs
- SqlProcedureAttribute.cs
- SqlTriggerAttribute.cs
- CodeDefaultValueExpression.cs
- SystemResourceKey.cs
- DataGridCommandEventArgs.cs
- PathFigureCollectionConverter.cs
- TextFragmentEngine.cs
- Error.cs
- EnumerationRangeValidationUtil.cs
- ContentOperations.cs
- UnsafePeerToPeerMethods.cs
- TextTreeTextBlock.cs
- InternalsVisibleToAttribute.cs
- SQLSingle.cs
- PocoPropertyAccessorStrategy.cs
- DataGridViewCell.cs
- OracleConnectionStringBuilder.cs
- webproxy.cs
- MarkupCompilePass1.cs
- Root.cs
- TextEditorCopyPaste.cs
- CmsInterop.cs
- unitconverter.cs
- RefreshEventArgs.cs
- EventPropertyMap.cs
- SerialPinChanges.cs
- RenderData.cs
- CodeGroup.cs
- ZipIOExtraFieldElement.cs
- CharConverter.cs
- KeyedCollection.cs
- CompositeFontInfo.cs
- LinqDataSourceValidationException.cs
- InfoCardCryptoHelper.cs
- TdsParameterSetter.cs
- DrawingContextWalker.cs
- DataListItemCollection.cs
- NavigationFailedEventArgs.cs
- ToolStripItemEventArgs.cs
- NameValueSectionHandler.cs
- NumericUpDown.cs
- HtmlTitle.cs
- SqlRewriteScalarSubqueries.cs
- MutexSecurity.cs
- XamlContextStack.cs
- HttpFileCollection.cs
- Context.cs
- Interfaces.cs
- AnonymousIdentificationSection.cs
- PrimitiveSchema.cs
- TaskFileService.cs
- StringToken.cs
- ConstructorNeedsTagAttribute.cs
- SpellerInterop.cs
- IProvider.cs
- SiteMembershipCondition.cs
- future.cs
- SAPIEngineTypes.cs
- StructuralObject.cs
- SessionStateModule.cs
- MediaContext.cs
- StandardOleMarshalObject.cs
- HandledMouseEvent.cs
- UnSafeCharBuffer.cs
- FileVersionInfo.cs
- TiffBitmapEncoder.cs
- XmlSchemaException.cs
- ArithmeticException.cs
- IResourceProvider.cs
- AppDomainFactory.cs
- EntityContainer.cs
- XmlDataFileEditor.cs
- CompareValidator.cs
- Style.cs
- _NativeSSPI.cs
- TextChangedEventArgs.cs
- BindingMAnagerBase.cs
- MarshalByValueComponent.cs
- MethodImplAttribute.cs