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
- UncommonField.cs
- HtmlHead.cs
- WebServiceTypeData.cs
- ToolStripItemEventArgs.cs
- ServiceHttpModule.cs
- FrameworkTextComposition.cs
- Queue.cs
- TextEditorParagraphs.cs
- OdbcRowUpdatingEvent.cs
- TextTreeTextBlock.cs
- HMACMD5.cs
- Point.cs
- SqlDependency.cs
- QueryStringHandler.cs
- ThrowHelper.cs
- EncodingInfo.cs
- ArraySortHelper.cs
- HtmlInputCheckBox.cs
- TextHidden.cs
- OrderedDictionary.cs
- WebPermission.cs
- ConstrainedDataObject.cs
- HideDisabledControlAdapter.cs
- PointAnimationUsingPath.cs
- FileDialogPermission.cs
- PartialTrustValidationBehavior.cs
- RouteUrlExpressionBuilder.cs
- ClientFormsIdentity.cs
- Int32RectConverter.cs
- EdmComplexPropertyAttribute.cs
- FixedSOMPageElement.cs
- ManipulationLogic.cs
- TabControl.cs
- MessageSmuggler.cs
- SafeWaitHandle.cs
- BitmapEffectInput.cs
- SqlBulkCopyColumnMappingCollection.cs
- ErrorWebPart.cs
- Material.cs
- NumericExpr.cs
- MailHeaderInfo.cs
- DataGridViewRowEventArgs.cs
- OneOfConst.cs
- ReadWriteObjectLock.cs
- DesignerSerializationOptionsAttribute.cs
- HwndProxyElementProvider.cs
- ZipIOExtraFieldZip64Element.cs
- RegexNode.cs
- WebZone.cs
- RSACryptoServiceProvider.cs
- VBIdentifierDesigner.xaml.cs
- BaseCollection.cs
- ClientTargetCollection.cs
- UpdatePanelTrigger.cs
- DetailsView.cs
- propertytag.cs
- XmlnsCompatibleWithAttribute.cs
- ToolStripDropTargetManager.cs
- XPathExpr.cs
- serverconfig.cs
- Exceptions.cs
- ValueTable.cs
- DataControlCommands.cs
- PauseStoryboard.cs
- CommandHelper.cs
- ResourcesChangeInfo.cs
- CookieProtection.cs
- NestedContainer.cs
- RepeatInfo.cs
- DeclaredTypeElementCollection.cs
- HandleCollector.cs
- AnnotationHelper.cs
- StrongTypingException.cs
- ColumnWidthChangedEvent.cs
- SingleTagSectionHandler.cs
- DataControlImageButton.cs
- RankException.cs
- ProviderCommandInfoUtils.cs
- XamlTreeBuilder.cs
- XMLDiffLoader.cs
- SystemKeyConverter.cs
- ReceiveMessageContent.cs
- MappedMetaModel.cs
- PreProcessor.cs
- TypeDependencyAttribute.cs
- DesignerDataTableBase.cs
- XmlSiteMapProvider.cs
- JsonClassDataContract.cs
- GroupQuery.cs
- IDispatchConstantAttribute.cs
- FrameworkContentElement.cs
- SynchronizationFilter.cs
- ChannelCredentials.cs
- TextTreeRootTextBlock.cs
- WindowsStatusBar.cs
- FlowLayout.cs
- PageEventArgs.cs
- AdapterDictionary.cs
- ProviderConnectionPointCollection.cs
- LocalizableResourceBuilder.cs