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
- hwndwrapper.cs
- DefinitionUpdate.cs
- CursorConverter.cs
- HashCodeCombiner.cs
- Literal.cs
- DataGridViewRowStateChangedEventArgs.cs
- TableAutomationPeer.cs
- KnownTypeHelper.cs
- EventItfInfo.cs
- RequestResizeEvent.cs
- RemotingException.cs
- ComboBoxItem.cs
- AlphaSortedEnumConverter.cs
- DrawingAttributes.cs
- CommentEmitter.cs
- CodeAttributeArgument.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- TextServicesLoader.cs
- FramingChannels.cs
- ClientSponsor.cs
- SqlClientWrapperSmiStream.cs
- GridViewCellAutomationPeer.cs
- HttpStreamXmlDictionaryReader.cs
- QuaternionKeyFrameCollection.cs
- SafePipeHandle.cs
- OpenTypeLayoutCache.cs
- XslException.cs
- NamedObjectList.cs
- XamlToRtfParser.cs
- WorkflowMarkupSerializer.cs
- XmlSerializerSection.cs
- IPEndPointCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- LayoutUtils.cs
- SQLInt64.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- Visual.cs
- OutputCacheProfile.cs
- ListSourceHelper.cs
- CompositionDesigner.cs
- XmlUtil.cs
- TrustLevel.cs
- ControlTemplate.cs
- MetadataSource.cs
- ListDataBindEventArgs.cs
- ColumnResizeAdorner.cs
- TextTreeObjectNode.cs
- KnownAssemblyEntry.cs
- Automation.cs
- SSmlParser.cs
- ClrPerspective.cs
- TrustLevelCollection.cs
- SafeBitVector32.cs
- EdmItemCollection.cs
- Logging.cs
- XamlGridLengthSerializer.cs
- CommandTreeTypeHelper.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- Run.cs
- ClrProviderManifest.cs
- NamespaceCollection.cs
- QueryResult.cs
- TrustLevelCollection.cs
- DataSourceSelectArguments.cs
- GradientStop.cs
- EncoderParameter.cs
- ListViewItem.cs
- Repeater.cs
- SchemaImporterExtension.cs
- TableRow.cs
- WebConfigManager.cs
- SqlInfoMessageEvent.cs
- LayoutDump.cs
- XmlConverter.cs
- SqlUtil.cs
- FontDialog.cs
- TargetConverter.cs
- PageParser.cs
- ResourceContainer.cs
- SqlServer2KCompatibilityCheck.cs
- LogEntrySerializationException.cs
- CustomErrorCollection.cs
- LeftCellWrapper.cs
- XpsS0ValidatingLoader.cs
- MaskedTextBox.cs
- COAUTHIDENTITY.cs
- SystemNetHelpers.cs
- SchemaNamespaceManager.cs
- DateRangeEvent.cs
- AttachedPropertyMethodSelector.cs
- WmlPanelAdapter.cs
- DrawingContextWalker.cs
- BindingMemberInfo.cs
- HandlerWithFactory.cs
- TextRenderer.cs
- TemplateControl.cs
- Matrix3DValueSerializer.cs
- RepeatInfo.cs
- If.cs
- ErrorEventArgs.cs