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
- ManipulationCompletedEventArgs.cs
- MsmqTransportReceiveParameters.cs
- LocalizationComments.cs
- FactoryMaker.cs
- SQLInt64.cs
- XmlSignatureManifest.cs
- RefType.cs
- ChangeInterceptorAttribute.cs
- SapiAttributeParser.cs
- EnumBuilder.cs
- XmlSchemaSimpleContentExtension.cs
- MouseActionConverter.cs
- AttachmentCollection.cs
- InputScopeAttribute.cs
- TypeResolvingOptionsAttribute.cs
- Parameter.cs
- BoundsDrawingContextWalker.cs
- CheckBox.cs
- StringConverter.cs
- DispatcherFrame.cs
- CoreSwitches.cs
- ValidationResult.cs
- SynchronizedChannelCollection.cs
- BitmapEffectDrawing.cs
- FileSystemWatcher.cs
- OleDbDataAdapter.cs
- TextOutput.cs
- MappingItemCollection.cs
- StringInfo.cs
- IteratorDescriptor.cs
- FocusChangedEventArgs.cs
- FixedFlowMap.cs
- TransformGroup.cs
- Line.cs
- WebServiceClientProxyGenerator.cs
- ToolStripOverflowButton.cs
- WindowsAuthenticationModule.cs
- Exception.cs
- ControlCachePolicy.cs
- DesignerTransaction.cs
- MaskedTextProvider.cs
- _Rfc2616CacheValidators.cs
- DatagramAdapter.cs
- DataGridViewTopRowAccessibleObject.cs
- GridViewCancelEditEventArgs.cs
- MinimizableAttributeTypeConverter.cs
- ClientSettings.cs
- DataFieldEditor.cs
- JournalNavigationScope.cs
- TemplateControl.cs
- ZipIOFileItemStream.cs
- BinaryCommonClasses.cs
- TransactionalPackage.cs
- LinkTarget.cs
- DecimalStorage.cs
- ProtocolsConfigurationHandler.cs
- ADMembershipUser.cs
- MatchingStyle.cs
- ScaleTransform3D.cs
- ArithmeticException.cs
- ReadOnlyHierarchicalDataSource.cs
- SqlWorkflowPersistenceService.cs
- AttributeCollection.cs
- CapabilitiesSection.cs
- DynamicEndpoint.cs
- SafePointer.cs
- ClockController.cs
- AxParameterData.cs
- SourceCollection.cs
- BaseTypeViewSchema.cs
- StatusBarItemAutomationPeer.cs
- LayoutEvent.cs
- Pool.cs
- XamlTypeMapper.cs
- MemoryFailPoint.cs
- Thread.cs
- JpegBitmapEncoder.cs
- DocumentPaginator.cs
- ObjectCache.cs
- DocumentXmlWriter.cs
- HtmlWindowCollection.cs
- SimpleFieldTemplateFactory.cs
- RotateTransform3D.cs
- CharAnimationUsingKeyFrames.cs
- SafeHandles.cs
- DesignerActionList.cs
- ImageIndexEditor.cs
- XsltLoader.cs
- NameSpaceEvent.cs
- Symbol.cs
- FileChangesMonitor.cs
- ProviderUtil.cs
- ObjectItemAssemblyLoader.cs
- SelectionItemPatternIdentifiers.cs
- TreeViewAutomationPeer.cs
- StylusPointPropertyInfoDefaults.cs
- XmlEventCache.cs
- SkinBuilder.cs
- Model3DGroup.cs
- DirectoryRedirect.cs