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
- SkinBuilder.cs
- ReflectPropertyDescriptor.cs
- BitmapPalettes.cs
- DrawingImage.cs
- InternalPermissions.cs
- SiteMap.cs
- DNS.cs
- SchemaNamespaceManager.cs
- MetadataUtilsSmi.cs
- SmiMetaDataProperty.cs
- ICspAsymmetricAlgorithm.cs
- WindowsUpDown.cs
- MSAANativeProvider.cs
- DataGridViewLinkCell.cs
- Win32SafeHandles.cs
- IntSecurity.cs
- Floater.cs
- WebPartEventArgs.cs
- PeerApplicationLaunchInfo.cs
- CreateUserWizardStep.cs
- MenuTracker.cs
- WebPartDisplayModeCancelEventArgs.cs
- EFDataModelProvider.cs
- CollectionBuilder.cs
- DataGridView.cs
- TransactionManager.cs
- SpnEndpointIdentity.cs
- ReceiveErrorHandling.cs
- WebServiceClientProxyGenerator.cs
- ContextMenu.cs
- DeviceContext2.cs
- TargetConverter.cs
- ProxyWebPart.cs
- ImageMap.cs
- ChangePassword.cs
- ElementMarkupObject.cs
- TerminatorSinks.cs
- UIElementParaClient.cs
- FilterQuery.cs
- LayoutManager.cs
- ConfigurationException.cs
- Crc32.cs
- List.cs
- DataSourceConverter.cs
- Events.cs
- AspCompat.cs
- ClientFormsAuthenticationCredentials.cs
- CodeGen.cs
- basecomparevalidator.cs
- HttpServerVarsCollection.cs
- brushes.cs
- ObjectToIdCache.cs
- LinkLabelLinkClickedEvent.cs
- HostingEnvironment.cs
- SynthesizerStateChangedEventArgs.cs
- DataControlFieldHeaderCell.cs
- WindowsContainer.cs
- ScriptServiceAttribute.cs
- SqlErrorCollection.cs
- StrokeNode.cs
- OracleBoolean.cs
- UnsafeNativeMethods.cs
- ArraySortHelper.cs
- TreeViewEvent.cs
- TextServicesManager.cs
- NumericUpDownAccelerationCollection.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- WsatConfiguration.cs
- XmlUtf8RawTextWriter.cs
- MergePropertyDescriptor.cs
- ApplicationId.cs
- XmlName.cs
- RightsManagementEncryptionTransform.cs
- ErrorRuntimeConfig.cs
- PenContexts.cs
- XPathConvert.cs
- SuppressMessageAttribute.cs
- GeometryDrawing.cs
- MainMenu.cs
- EncoderParameters.cs
- SqlInternalConnectionSmi.cs
- WindowsTreeView.cs
- DispatchChannelSink.cs
- ArrayWithOffset.cs
- VScrollBar.cs
- TypeDescriptorFilterService.cs
- XmlNodeComparer.cs
- MeasureItemEvent.cs
- ExecutedRoutedEventArgs.cs
- ReadWriteObjectLock.cs
- DropDownList.cs
- ListControlConvertEventArgs.cs
- XmlSerializerFactory.cs
- StorageComplexTypeMapping.cs
- UTF32Encoding.cs
- SpanIndex.cs
- x509store.cs
- TreeViewAutomationPeer.cs
- SignatureDescription.cs
- GlobalAllocSafeHandle.cs