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
- AuthorizationRuleCollection.cs
- TryCatch.cs
- CodeTypeMember.cs
- SqlCommandBuilder.cs
- MemberAccessException.cs
- NameValueCollection.cs
- ICspAsymmetricAlgorithm.cs
- DataControlFieldHeaderCell.cs
- DataBoundLiteralControl.cs
- ConstraintEnumerator.cs
- UriScheme.cs
- WebControlAdapter.cs
- HierarchicalDataTemplate.cs
- EdmComplexTypeAttribute.cs
- invalidudtexception.cs
- ArrangedElement.cs
- returneventsaver.cs
- OpenTypeCommon.cs
- DispatcherFrame.cs
- TypeSemantics.cs
- SoapReflectionImporter.cs
- ListViewInsertionMark.cs
- ProcessingInstructionAction.cs
- EditorZoneDesigner.cs
- NonParentingControl.cs
- UIAgentRequest.cs
- Vector3D.cs
- Rotation3DAnimationUsingKeyFrames.cs
- PixelShader.cs
- ButtonStandardAdapter.cs
- PersonalizablePropertyEntry.cs
- Table.cs
- DES.cs
- ModuleBuilderData.cs
- __Filters.cs
- StructuralComparisons.cs
- ComponentDispatcher.cs
- PrintingPermissionAttribute.cs
- XmlValidatingReaderImpl.cs
- ServiceParser.cs
- AbsoluteQuery.cs
- GetWinFXPath.cs
- CallbackHandler.cs
- SessionStateItemCollection.cs
- ComplexPropertyEntry.cs
- HandleScope.cs
- AppDomainCompilerProxy.cs
- DefaultHttpHandler.cs
- TemplatePartAttribute.cs
- EnumConverter.cs
- CodeArrayIndexerExpression.cs
- XmlWriter.cs
- BasicDesignerLoader.cs
- SmuggledIUnknown.cs
- XmlUtf8RawTextWriter.cs
- ValueQuery.cs
- XsdDataContractImporter.cs
- LineUtil.cs
- TimerElapsedEvenArgs.cs
- CompositeActivityValidator.cs
- LiteralTextContainerControlBuilder.cs
- TextTreeInsertUndoUnit.cs
- RtfToXamlReader.cs
- XmlHelper.cs
- Int32AnimationUsingKeyFrames.cs
- RuleProcessor.cs
- ConfigXmlElement.cs
- TemplatePropertyEntry.cs
- InternalControlCollection.cs
- DataGridViewCellStyleConverter.cs
- Pens.cs
- HostDesigntimeLicenseContext.cs
- PrintDocument.cs
- DataReceivedEventArgs.cs
- FileNameEditor.cs
- VirtualPathProvider.cs
- DetailsViewInsertEventArgs.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- PagedDataSource.cs
- XPathNodeInfoAtom.cs
- EventDescriptorCollection.cs
- HiddenFieldPageStatePersister.cs
- ToolStripButton.cs
- TdsParser.cs
- Cursors.cs
- XmlCDATASection.cs
- CodeGenerator.cs
- SafeRightsManagementQueryHandle.cs
- AdCreatedEventArgs.cs
- Types.cs
- HostingEnvironmentWrapper.cs
- ResourceContainer.cs
- HashCodeCombiner.cs
- MouseActionConverter.cs
- ParseNumbers.cs
- ModelUIElement3D.cs
- PropertyDescriptorGridEntry.cs
- HtmlImage.cs
- XmlDataDocument.cs
- SafeArrayRankMismatchException.cs