Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ControlEvent.cs
- Serializer.cs
- UpdateTracker.cs
- DesignerEventService.cs
- InputDevice.cs
- ResourceBinder.cs
- Pen.cs
- _HelperAsyncResults.cs
- SpeechUI.cs
- HttpHandlersSection.cs
- UIntPtr.cs
- FrameworkContentElementAutomationPeer.cs
- EmbossBitmapEffect.cs
- MergeFilterQuery.cs
- CommandConverter.cs
- XmlSchemaSubstitutionGroup.cs
- DelegatingChannelListener.cs
- CompiledQuery.cs
- PagerSettings.cs
- Condition.cs
- TdsParserHelperClasses.cs
- IndependentlyAnimatedPropertyMetadata.cs
- FixedTextView.cs
- ToolStripItemBehavior.cs
- QilCloneVisitor.cs
- JoinCqlBlock.cs
- CollectionViewGroupRoot.cs
- SystemThemeKey.cs
- DataGridViewIntLinkedList.cs
- DynamicActionMessageFilter.cs
- WebSysDisplayNameAttribute.cs
- HwndTarget.cs
- ItemList.cs
- SqlTransaction.cs
- AppearanceEditorPart.cs
- PriorityChain.cs
- XmlAttributeAttribute.cs
- ClientBuildManager.cs
- StandardToolWindows.cs
- DataServiceHost.cs
- InstanceKeyCollisionException.cs
- ListViewItemEventArgs.cs
- ServerIdentity.cs
- pingexception.cs
- ImageFormat.cs
- DbProviderSpecificTypePropertyAttribute.cs
- TableAdapterManagerHelper.cs
- Reference.cs
- MergablePropertyAttribute.cs
- OdbcErrorCollection.cs
- LocalizationComments.cs
- WorkflowServiceHost.cs
- DbMetaDataFactory.cs
- RsaKeyIdentifierClause.cs
- VisualBrush.cs
- IntegrationExceptionEventArgs.cs
- ProcessStartInfo.cs
- PocoPropertyAccessorStrategy.cs
- Events.cs
- PointUtil.cs
- FragmentQueryKB.cs
- FlowPosition.cs
- FileEnumerator.cs
- sitestring.cs
- LoginName.cs
- SamlSubjectStatement.cs
- OrthographicCamera.cs
- OperationAbortedException.cs
- ChooseAction.cs
- Pick.cs
- WindowsMenu.cs
- CreateUserErrorEventArgs.cs
- TrustManager.cs
- Array.cs
- LocalBuilder.cs
- EntityDataSourceWrapperCollection.cs
- ConnectorSelectionGlyph.cs
- TraceListener.cs
- ToolboxCategoryItems.cs
- TransformProviderWrapper.cs
- TextTreeTextNode.cs
- Columns.cs
- SecurityDocument.cs
- QueryStatement.cs
- ParamArrayAttribute.cs
- TextProperties.cs
- FloatAverageAggregationOperator.cs
- SqlResolver.cs
- ProjectionCamera.cs
- SrgsGrammar.cs
- ClusterSafeNativeMethods.cs
- PlanCompiler.cs
- StrokeNodeOperations2.cs
- XamlReader.cs
- InvalidFilterCriteriaException.cs
- MessageQueueEnumerator.cs
- DataExpression.cs
- ObjectDisposedException.cs
- WebPartCollection.cs
- Rotation3DKeyFrameCollection.cs