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
- ReturnType.cs
- WebRequest.cs
- GridItem.cs
- TitleStyle.cs
- OpenFileDialog.cs
- BaseAsyncResult.cs
- DecoderBestFitFallback.cs
- Trace.cs
- UserControlDesigner.cs
- DocumentApplication.cs
- PowerModeChangedEventArgs.cs
- Sql8ConformanceChecker.cs
- HyperLinkColumn.cs
- CompressionTransform.cs
- OracleRowUpdatingEventArgs.cs
- WebBrowserContainer.cs
- ToolbarAUtomationPeer.cs
- ProviderSettings.cs
- XPathExpr.cs
- ScriptComponentDescriptor.cs
- HwndSubclass.cs
- RootBrowserWindow.cs
- Attributes.cs
- ProxyGenerationError.cs
- IOException.cs
- RootBrowserWindow.cs
- ToolCreatedEventArgs.cs
- CheckBoxPopupAdapter.cs
- MarkupCompilePass1.cs
- TextSimpleMarkerProperties.cs
- DataGridViewCellPaintingEventArgs.cs
- FlowDocumentScrollViewer.cs
- BitmapEffectInputData.cs
- EditorServiceContext.cs
- DataGridLinkButton.cs
- TreeViewDesigner.cs
- IntegrationExceptionEventArgs.cs
- EntityDataSourceDataSelectionPanel.cs
- XmlToDatasetMap.cs
- DataGridTemplateColumn.cs
- KeyEvent.cs
- Error.cs
- ResourceExpressionEditor.cs
- WpfPayload.cs
- ConnectionStringsExpressionBuilder.cs
- CatalogZoneBase.cs
- ImageField.cs
- ScriptingSectionGroup.cs
- RootBrowserWindowProxy.cs
- DynamicDiscoSearcher.cs
- Semaphore.cs
- ProcessThread.cs
- MetadataItemCollectionFactory.cs
- __Error.cs
- DataGridViewCellValueEventArgs.cs
- XPathDocumentBuilder.cs
- SQLStringStorage.cs
- GeneralTransform3DCollection.cs
- RNGCryptoServiceProvider.cs
- DiscoveryMessageSequenceGenerator.cs
- _FtpDataStream.cs
- remotingproxy.cs
- CmsInterop.cs
- WebPartEditorApplyVerb.cs
- NamespaceEmitter.cs
- GridPatternIdentifiers.cs
- XmlCodeExporter.cs
- HierarchicalDataSourceControl.cs
- COAUTHINFO.cs
- Matrix3DStack.cs
- CodeGenerator.cs
- WindowsSlider.cs
- MouseEventArgs.cs
- TraceData.cs
- JumpPath.cs
- WindowsAltTab.cs
- CollectionChangeEventArgs.cs
- SQLCharsStorage.cs
- PermissionSet.cs
- _OSSOCK.cs
- PrefixHandle.cs
- CodeNamespace.cs
- Transaction.cs
- InputScopeNameConverter.cs
- WindowsPen.cs
- DrawingBrush.cs
- LocationInfo.cs
- SerializationObjectManager.cs
- BamlResourceContent.cs
- URIFormatException.cs
- DrawingAttributeSerializer.cs
- Int32Rect.cs
- _ListenerRequestStream.cs
- columnmapkeybuilder.cs
- NativeRightsManagementAPIsStructures.cs
- MultiPageTextView.cs
- xmlsaver.cs
- IndexedEnumerable.cs
- MultilineStringEditor.cs
- ExpanderAutomationPeer.cs