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
- FileLoadException.cs
- CurrencyWrapper.cs
- PointCollectionValueSerializer.cs
- XmlMapping.cs
- TimeSpanValidatorAttribute.cs
- basevalidator.cs
- DSASignatureFormatter.cs
- DirectoryNotFoundException.cs
- DataControlLinkButton.cs
- MemoryResponseElement.cs
- ParserExtension.cs
- OleTxTransactionInfo.cs
- CriticalFinalizerObject.cs
- FormViewCommandEventArgs.cs
- UnmanagedBitmapWrapper.cs
- DataSourceSelectArguments.cs
- Page.cs
- KnowledgeBase.cs
- TableStyle.cs
- CompModSwitches.cs
- StretchValidation.cs
- NumberFormatInfo.cs
- QuaternionConverter.cs
- PropertyPath.cs
- Attachment.cs
- ReturnType.cs
- CodeIdentifier.cs
- DataSysAttribute.cs
- InternalControlCollection.cs
- CodeSubDirectory.cs
- QuarticEase.cs
- SignatureConfirmationElement.cs
- TextServicesHost.cs
- HitTestDrawingContextWalker.cs
- Visual3D.cs
- DeferredSelectedIndexReference.cs
- StaticResourceExtension.cs
- TraceSwitch.cs
- AnnouncementEventArgs.cs
- UrlPath.cs
- AssociationEndMember.cs
- CultureTable.cs
- XmlArrayAttribute.cs
- OutputCacheProfile.cs
- GridViewAutomationPeer.cs
- ThrowHelper.cs
- Condition.cs
- SqlParameter.cs
- Screen.cs
- ConsoleKeyInfo.cs
- ReadOnlyHierarchicalDataSourceView.cs
- MethodAccessException.cs
- DynamicFilter.cs
- Misc.cs
- DurableInstanceManager.cs
- ReverseInheritProperty.cs
- BinHexDecoder.cs
- _FtpControlStream.cs
- DataGridColumnCollectionEditor.cs
- ListViewItemSelectionChangedEvent.cs
- EmptyElement.cs
- WsdlBuildProvider.cs
- ProtocolImporter.cs
- StrokeFIndices.cs
- ToolStripTemplateNode.cs
- QilXmlWriter.cs
- ChtmlTextBoxAdapter.cs
- HintTextMaxWidthConverter.cs
- CngKey.cs
- ADMembershipProvider.cs
- Membership.cs
- XhtmlBasicTextViewAdapter.cs
- TimeoutValidationAttribute.cs
- NonNullItemCollection.cs
- Image.cs
- DiscreteKeyFrames.cs
- MsmqMessageSerializationFormat.cs
- ExtensibleClassFactory.cs
- Function.cs
- EventRouteFactory.cs
- IPAddressCollection.cs
- DBPropSet.cs
- TraceContextRecord.cs
- XmlEntityReference.cs
- TabItemWrapperAutomationPeer.cs
- EventLogPermissionAttribute.cs
- ApplicationServicesHostFactory.cs
- Help.cs
- DateTimeOffsetStorage.cs
- DropSource.cs
- MemberCollection.cs
- XmlAnyElementAttributes.cs
- WebPartVerbCollection.cs
- Int32CollectionValueSerializer.cs
- QueryExpression.cs
- SqlMethodAttribute.cs
- RequestUriProcessor.cs
- IdentityHolder.cs
- StreamGeometry.cs
- MetabaseSettingsIis7.cs