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
- SamlAudienceRestrictionCondition.cs
- ErrorWebPart.cs
- FactoryMaker.cs
- ChangeNode.cs
- IApplicationTrustManager.cs
- CodeExpressionCollection.cs
- IsolatedStorageFileStream.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- MessagePropertyVariants.cs
- GenericEnumConverter.cs
- StretchValidation.cs
- FormViewInsertedEventArgs.cs
- CaseInsensitiveHashCodeProvider.cs
- Image.cs
- GridItem.cs
- BitmapEffectDrawing.cs
- DefaultBinder.cs
- StorageConditionPropertyMapping.cs
- OdbcTransaction.cs
- WsatServiceAddress.cs
- SmtpLoginAuthenticationModule.cs
- DependencyObject.cs
- NetworkAddressChange.cs
- CroppedBitmap.cs
- ResourcePart.cs
- Overlapped.cs
- OpCopier.cs
- TdsParserHelperClasses.cs
- WorkflowInstance.cs
- BitmapEffectState.cs
- FunctionParameter.cs
- RoleGroup.cs
- BaseConfigurationRecord.cs
- StringUtil.cs
- SingleTagSectionHandler.cs
- ExpressionDumper.cs
- GetMemberBinder.cs
- OpacityConverter.cs
- AutoGeneratedField.cs
- AttributeXamlType.cs
- DbDataSourceEnumerator.cs
- RichTextBox.cs
- ToolStripControlHost.cs
- ChangeDirector.cs
- safex509handles.cs
- CodeNamespaceCollection.cs
- URLIdentityPermission.cs
- XPathMultyIterator.cs
- ColumnPropertiesGroup.cs
- MembershipPasswordException.cs
- AccessedThroughPropertyAttribute.cs
- AsyncOperationManager.cs
- TextStore.cs
- DataGridViewColumnConverter.cs
- TreeBuilderXamlTranslator.cs
- AssemblyNameProxy.cs
- XsltException.cs
- PersonalizationProviderCollection.cs
- HtmlControlPersistable.cs
- DataGridViewSortCompareEventArgs.cs
- EventSinkHelperWriter.cs
- StatusBarPanel.cs
- ElapsedEventArgs.cs
- ApplicationSecurityInfo.cs
- DateTimeOffsetConverter.cs
- SourceInterpreter.cs
- GrammarBuilder.cs
- ObjectManager.cs
- RequiredFieldValidator.cs
- NamespaceListProperty.cs
- UnsafeNativeMethods.cs
- SQLBinary.cs
- SingleResultAttribute.cs
- UrlPropertyAttribute.cs
- HttpWebRequest.cs
- ArraySet.cs
- OutKeywords.cs
- DataGridViewComboBoxEditingControl.cs
- ScriptResourceHandler.cs
- activationcontext.cs
- FacetChecker.cs
- RowsCopiedEventArgs.cs
- XmlStreamNodeWriter.cs
- _ProxyChain.cs
- ArcSegment.cs
- ConfigurationStrings.cs
- SamlConstants.cs
- ExpressionBuilderCollection.cs
- SystemEvents.cs
- PtsPage.cs
- SafeRightsManagementQueryHandle.cs
- BufferedStream2.cs
- ColorAnimation.cs
- DataBinding.cs
- EntityTypeEmitter.cs
- IIS7UserPrincipal.cs
- Emitter.cs
- SystemIPInterfaceStatistics.cs
- AnnouncementDispatcherAsyncResult.cs
- StrongNameIdentityPermission.cs