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
- OperationInfo.cs
- ValueType.cs
- XmlSortKeyAccumulator.cs
- SelectingProviderEventArgs.cs
- TypeDescriptor.cs
- LineSegment.cs
- XmlSchemaAnnotation.cs
- XmlILModule.cs
- SendingRequestEventArgs.cs
- BrowserCapabilitiesFactoryBase.cs
- FileDialog_Vista.cs
- Activity.cs
- CellTreeNode.cs
- PaintEvent.cs
- EntryPointNotFoundException.cs
- StringConverter.cs
- Repeater.cs
- DataGrid.cs
- X509CertificateRecipientServiceCredential.cs
- DesignerToolStripControlHost.cs
- IIS7WorkerRequest.cs
- glyphs.cs
- RuleInfoComparer.cs
- versioninfo.cs
- TypeElement.cs
- InternalTypeHelper.cs
- SecurityPolicySection.cs
- ITreeGenerator.cs
- HasCopySemanticsAttribute.cs
- MetadataReference.cs
- UserNamePasswordServiceCredential.cs
- SafeViewOfFileHandle.cs
- Brush.cs
- WSHttpBindingElement.cs
- RightsManagementPermission.cs
- GridViewSortEventArgs.cs
- DESCryptoServiceProvider.cs
- DesignerToolboxInfo.cs
- ListSortDescriptionCollection.cs
- WorkflowItemPresenter.cs
- ActiveXContainer.cs
- ClientConfigurationHost.cs
- ClientTargetCollection.cs
- HttpListener.cs
- ExceptionUtil.cs
- MaskedTextBox.cs
- X509Logo.cs
- TextAnchor.cs
- ExtensionSimplifierMarkupObject.cs
- Interop.cs
- InputLanguageSource.cs
- TraceUtility.cs
- ICollection.cs
- SmiEventSink_DeferedProcessing.cs
- HMACMD5.cs
- BufferedWebEventProvider.cs
- StorageAssociationSetMapping.cs
- PathFigureCollection.cs
- MembershipPasswordException.cs
- CompiledXpathExpr.cs
- WorkflowInstanceAbortedRecord.cs
- DesignerOptionService.cs
- SoapParser.cs
- EventLogLink.cs
- DataKey.cs
- Transform3DCollection.cs
- newitemfactory.cs
- PopupRootAutomationPeer.cs
- DataServiceQueryProvider.cs
- RemotingAttributes.cs
- ProfileManager.cs
- RegexParser.cs
- ListViewSortEventArgs.cs
- PageThemeParser.cs
- Attributes.cs
- JoinTreeSlot.cs
- ComboBoxItem.cs
- AsyncCompletedEventArgs.cs
- ClientBuildManagerCallback.cs
- WebPartActionVerb.cs
- Attributes.cs
- FixedTextSelectionProcessor.cs
- TreeNodeCollectionEditorDialog.cs
- ContentPathSegment.cs
- XpsS0ValidatingLoader.cs
- BackStopAuthenticationModule.cs
- EncryptedReference.cs
- LinqDataSourceView.cs
- LabelLiteral.cs
- ResourceWriter.cs
- HeaderedItemsControl.cs
- ParsedAttributeCollection.cs
- ConfigXmlDocument.cs
- TypeNameHelper.cs
- ClientTargetSection.cs
- BitmapEffectDrawingContent.cs
- MimeTypeMapper.cs
- AsymmetricAlgorithm.cs
- ForEach.cs
- BaseDataList.cs