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
- HTMLTextWriter.cs
- GraphicsContainer.cs
- IntegerFacetDescriptionElement.cs
- ComponentTray.cs
- TreeNodeClickEventArgs.cs
- SchemaImporterExtensionElement.cs
- MatrixTransform3D.cs
- RSAPKCS1KeyExchangeFormatter.cs
- View.cs
- ScrollChrome.cs
- NTAccount.cs
- TableRow.cs
- DBDataPermissionAttribute.cs
- SourceCollection.cs
- TextTreeText.cs
- ToolStripGrip.cs
- DataSpaceManager.cs
- EntityCollectionChangedParams.cs
- WebPartsPersonalization.cs
- Int32Collection.cs
- DependencyPropertyKey.cs
- XpsPackagingPolicy.cs
- ChannelManager.cs
- DataGridHeaderBorder.cs
- TreeNode.cs
- PowerEase.cs
- DbProviderServices.cs
- PathHelper.cs
- XmlName.cs
- GraphicsPathIterator.cs
- RowParagraph.cs
- DataGridViewColumnConverter.cs
- CellNormalizer.cs
- BindingWorker.cs
- PointConverter.cs
- GlobalEventManager.cs
- ContainerFilterService.cs
- OleDbEnumerator.cs
- DataAdapter.cs
- FeatureSupport.cs
- PropertyToken.cs
- ConfigXmlSignificantWhitespace.cs
- WindowsIPAddress.cs
- DbConnectionInternal.cs
- SqlRemoveConstantOrderBy.cs
- ComponentRenameEvent.cs
- DataGridViewRowCollection.cs
- Pair.cs
- _UriSyntax.cs
- RegionInfo.cs
- FieldBuilder.cs
- PaperSize.cs
- BitmapEffectGroup.cs
- CodeSnippetExpression.cs
- DynamicMethod.cs
- DataListItemEventArgs.cs
- FileUtil.cs
- ListViewCancelEventArgs.cs
- RSAProtectedConfigurationProvider.cs
- Scheduling.cs
- ByteStack.cs
- RegexNode.cs
- SpoolingTask.cs
- TrustManagerMoreInformation.cs
- SystemKeyConverter.cs
- RegexParser.cs
- DataSourceHelper.cs
- AuthorizationSection.cs
- DynamicObject.cs
- CodeCompiler.cs
- MsmqIntegrationSecurity.cs
- ApplicationException.cs
- CreateUserErrorEventArgs.cs
- DelegateSerializationHolder.cs
- ImageListImage.cs
- NotImplementedException.cs
- ErrorEventArgs.cs
- DBCSCodePageEncoding.cs
- BinHexDecoder.cs
- DbParameterHelper.cs
- ButtonField.cs
- NativeMethods.cs
- OnOperation.cs
- DateTimeUtil.cs
- ClickablePoint.cs
- BaseValidatorDesigner.cs
- SQLSingleStorage.cs
- WindowPatternIdentifiers.cs
- FixedFlowMap.cs
- RootBrowserWindowAutomationPeer.cs
- StructuredType.cs
- XPathParser.cs
- FilteredXmlReader.cs
- SyndicationLink.cs
- GridViewPageEventArgs.cs
- Vars.cs
- ConnectionsZone.cs
- AbandonedMutexException.cs
- ContextInformation.cs
- ITextView.cs