Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / GradientBrush.cs / 1305600 / 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 : [....] - 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 : [....] - 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
- MenuItem.cs
- ObjectDataSource.cs
- SQLRoleProvider.cs
- CodeGroup.cs
- MemoryPressure.cs
- StreamAsIStream.cs
- LayoutUtils.cs
- RegexReplacement.cs
- SystemFonts.cs
- OverrideMode.cs
- ToolStripRenderEventArgs.cs
- Select.cs
- EntityContainer.cs
- FilteredAttributeCollection.cs
- SqlDataReaderSmi.cs
- TextComposition.cs
- HtmlTernaryTree.cs
- CultureTableRecord.cs
- NeutralResourcesLanguageAttribute.cs
- ProtocolsConfigurationHandler.cs
- Clock.cs
- TextEndOfLine.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- AutoResetEvent.cs
- IndentedTextWriter.cs
- ProxyHelper.cs
- TlsnegoTokenAuthenticator.cs
- ElementHostPropertyMap.cs
- DataGridViewRowCancelEventArgs.cs
- CompiledIdentityConstraint.cs
- SiteMapNode.cs
- MasterPageParser.cs
- NamedPermissionSet.cs
- EncryptedType.cs
- DecoratedNameAttribute.cs
- CompilerTypeWithParams.cs
- ItemCheckedEvent.cs
- ServiceChannelFactory.cs
- FixedSOMSemanticBox.cs
- PropertyRecord.cs
- HtmlInputRadioButton.cs
- ToolStripDropDownButton.cs
- DataGridRowAutomationPeer.cs
- XmlSchemaComplexContentExtension.cs
- CharacterString.cs
- BindingsCollection.cs
- Nullable.cs
- ConnectionManagementElement.cs
- TextControl.cs
- Point3DAnimation.cs
- storepermissionattribute.cs
- WindowsScrollBar.cs
- SpellCheck.cs
- MessageContractAttribute.cs
- ResourceType.cs
- odbcmetadatacollectionnames.cs
- ServiceHttpModule.cs
- CodeExpressionRuleDeclaration.cs
- TreeNodeBindingCollection.cs
- ExpandableObjectConverter.cs
- HtmlSelect.cs
- DatagridviewDisplayedBandsData.cs
- ChtmlTextBoxAdapter.cs
- ConfigurationStrings.cs
- SubqueryRules.cs
- ThrowHelper.cs
- TextRange.cs
- SortedList.cs
- CompilerTypeWithParams.cs
- JsonDeserializer.cs
- TextEditorDragDrop.cs
- RequestCacheValidator.cs
- ChannelPoolSettings.cs
- TouchesCapturedWithinProperty.cs
- Cursors.cs
- ClrProviderManifest.cs
- InheritedPropertyChangedEventArgs.cs
- New.cs
- Ports.cs
- followingquery.cs
- BitmapEncoder.cs
- XmlQualifiedName.cs
- OrderedDictionary.cs
- DurationConverter.cs
- ScriptReference.cs
- AmbiguousMatchException.cs
- WorkflowInlining.cs
- GridViewHeaderRowPresenter.cs
- _NestedSingleAsyncResult.cs
- RemotingSurrogateSelector.cs
- StatusBarPanel.cs
- Win32SafeHandles.cs
- ImageMetadata.cs
- UniqueIdentifierService.cs
- EndpointConfigContainer.cs
- SspiNegotiationTokenAuthenticator.cs
- CacheManager.cs
- SingleStorage.cs
- ClosableStream.cs
- cookieexception.cs