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
- SharedPerformanceCounter.cs
- AssemblyAssociatedContentFileAttribute.cs
- SessionParameter.cs
- ServiceErrorHandler.cs
- CompilationRelaxations.cs
- TableAdapterManagerHelper.cs
- Timer.cs
- SmiRecordBuffer.cs
- RequestSecurityTokenResponse.cs
- ExpressionReplacer.cs
- CAGDesigner.cs
- XmlDataSourceView.cs
- XPathEmptyIterator.cs
- TextTreeInsertElementUndoUnit.cs
- XmlElementAttributes.cs
- SoapIncludeAttribute.cs
- SqlInternalConnection.cs
- CustomError.cs
- WorkflowControlClient.cs
- AssemblyAttributes.cs
- HttpCachePolicyElement.cs
- ClientScriptManagerWrapper.cs
- PolyBezierSegmentFigureLogic.cs
- SubqueryTrackingVisitor.cs
- XmlQueryType.cs
- DashStyle.cs
- IgnoreFileBuildProvider.cs
- RedirectionProxy.cs
- CodeDomLocalizationProvider.cs
- EntityWithChangeTrackerStrategy.cs
- ScrollItemPattern.cs
- ProfessionalColors.cs
- ComplexType.cs
- RecognitionResult.cs
- ClientTargetCollection.cs
- Rethrow.cs
- QueryResult.cs
- ExpandableObjectConverter.cs
- DiagnosticsConfigurationHandler.cs
- SchemaImporterExtensionsSection.cs
- ViewKeyConstraint.cs
- EntityTemplateFactory.cs
- CodeDelegateCreateExpression.cs
- PersonalizationState.cs
- DictionaryKeyPropertyAttribute.cs
- InternalRelationshipCollection.cs
- StdValidatorsAndConverters.cs
- ScrollEvent.cs
- DataGridViewCellValueEventArgs.cs
- QuaternionAnimationUsingKeyFrames.cs
- RangeValidator.cs
- InputLanguageProfileNotifySink.cs
- MemoryFailPoint.cs
- Identity.cs
- EmptyStringExpandableObjectConverter.cs
- WebServiceEnumData.cs
- UpdateTranslator.cs
- ChangeNode.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- RegistryExceptionHelper.cs
- FixedPageStructure.cs
- CollectionViewGroup.cs
- MouseActionValueSerializer.cs
- AutomationIdentifier.cs
- TaskFactory.cs
- HttpCapabilitiesBase.cs
- UInt32.cs
- RenderDataDrawingContext.cs
- SubpageParagraph.cs
- DateTimeConverter2.cs
- DiscoveryMessageSequenceCD1.cs
- Input.cs
- AssemblyAttributes.cs
- RefreshEventArgs.cs
- UnauthorizedAccessException.cs
- TypeSystemProvider.cs
- SHA1CryptoServiceProvider.cs
- SqlTriggerContext.cs
- NavigationProperty.cs
- ObservableCollection.cs
- _FixedSizeReader.cs
- _TransmitFileOverlappedAsyncResult.cs
- SelectionProviderWrapper.cs
- DateTimeConstantAttribute.cs
- ConstantProjectedSlot.cs
- RegistryExceptionHelper.cs
- UnsupportedPolicyOptionsException.cs
- Content.cs
- ProcessStartInfo.cs
- Relationship.cs
- BinaryWriter.cs
- PolicyUnit.cs
- BlurEffect.cs
- SingleStorage.cs
- ScriptingWebServicesSectionGroup.cs
- TabControlCancelEvent.cs
- HtmlInputFile.cs
- MouseWheelEventArgs.cs
- ReflectEventDescriptor.cs
- ActivityTypeResolver.xaml.cs