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
- HtmlImage.cs
- panel.cs
- EntityClassGenerator.cs
- ScriptReference.cs
- BooleanAnimationUsingKeyFrames.cs
- HttpCachePolicyWrapper.cs
- XmlNodeList.cs
- SemanticAnalyzer.cs
- ParagraphVisual.cs
- GeneratedContractType.cs
- AttributeEmitter.cs
- DiagnosticsConfigurationHandler.cs
- MatrixStack.cs
- ThreadLocal.cs
- ClipboardData.cs
- CorrelationKeyCalculator.cs
- IncrementalReadDecoders.cs
- Int32.cs
- CodeRemoveEventStatement.cs
- TextElementEnumerator.cs
- AsyncPostBackTrigger.cs
- TypeExtensions.cs
- PointAnimationUsingPath.cs
- WebControlAdapter.cs
- Operator.cs
- MasterPage.cs
- XmlQueryRuntime.cs
- BaseCodeDomTreeGenerator.cs
- FacetEnabledSchemaElement.cs
- QilInvoke.cs
- SqlTriggerContext.cs
- References.cs
- PasswordRecoveryAutoFormat.cs
- UserCancellationException.cs
- Pkcs7Recipient.cs
- MessageQueuePermissionEntryCollection.cs
- ActivitiesCollection.cs
- Stylesheet.cs
- ModifierKeysValueSerializer.cs
- CollectionChangeEventArgs.cs
- TransformerInfoCollection.cs
- SpecialNameAttribute.cs
- Resources.Designer.cs
- sqlser.cs
- BaseDataList.cs
- SafeNativeMethods.cs
- DBConnection.cs
- ComponentChangedEvent.cs
- ClassHandlersStore.cs
- TextEditorTables.cs
- GeneralTransform3DTo2DTo3D.cs
- PtsHost.cs
- SplitContainer.cs
- IMembershipProvider.cs
- RemoteDebugger.cs
- BaseUriHelper.cs
- ClientSponsor.cs
- SpotLight.cs
- XamlBuildTaskServices.cs
- DataRelation.cs
- ComponentChangedEvent.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DataSourceView.cs
- CustomAttributeFormatException.cs
- AmbiguousMatchException.cs
- DeclarativeCatalogPart.cs
- ResourcesChangeInfo.cs
- XPathNavigatorReader.cs
- DesignTimeTemplateParser.cs
- ContractAdapter.cs
- XmlILConstructAnalyzer.cs
- AnnotationStore.cs
- SystemIPv6InterfaceProperties.cs
- DataGridClipboardHelper.cs
- TypeTypeConverter.cs
- PointUtil.cs
- XmlSchemaAnyAttribute.cs
- SecurityException.cs
- DataFieldCollectionEditor.cs
- CompiledRegexRunner.cs
- FtpWebResponse.cs
- SQLInt32Storage.cs
- UnorderedHashRepartitionStream.cs
- DataGridViewCellParsingEventArgs.cs
- DataExpression.cs
- ListViewItemSelectionChangedEvent.cs
- QueryExpr.cs
- BamlCollectionHolder.cs
- SqlProfileProvider.cs
- DataListItem.cs
- RtfFormatStack.cs
- Unit.cs
- WebUtil.cs
- StaticResourceExtension.cs
- XmlSchemaSearchPattern.cs
- SimpleLine.cs
- CodePrimitiveExpression.cs
- ObjectQuery_EntitySqlExtensions.cs
- Cursors.cs
- SystemIPAddressInformation.cs