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
- Timer.cs
- SHA512Managed.cs
- InvalidDocumentContentsException.cs
- TemplateBuilder.cs
- ToolBar.cs
- SizeAnimation.cs
- WindowsScroll.cs
- RoleManagerModule.cs
- GuidelineCollection.cs
- GradientBrush.cs
- SingleObjectCollection.cs
- NavigationWindow.cs
- PageCatalogPart.cs
- CompositeControl.cs
- WebControlsSection.cs
- Int64Converter.cs
- _ConnectionGroup.cs
- Crypto.cs
- PrtCap_Public.cs
- ObjectDataSource.cs
- IntegerValidator.cs
- NameValueCollection.cs
- MenuCommand.cs
- URLAttribute.cs
- BamlResourceSerializer.cs
- ExpressionBuilder.cs
- TextContainerHelper.cs
- XmlSchemaSimpleContentExtension.cs
- ElementAtQueryOperator.cs
- FileDialogCustomPlacesCollection.cs
- BaseCodeDomTreeGenerator.cs
- SqlInfoMessageEvent.cs
- RenderDataDrawingContext.cs
- DataGridHeaderBorder.cs
- Avt.cs
- DrawingContextFlattener.cs
- ServiceProviders.cs
- AudioStateChangedEventArgs.cs
- JpegBitmapDecoder.cs
- RefreshResponseInfo.cs
- RevocationPoint.cs
- CodeMemberField.cs
- codemethodreferenceexpression.cs
- CodeIterationStatement.cs
- GZipStream.cs
- TextEditorTyping.cs
- DeadLetterQueue.cs
- InkCollectionBehavior.cs
- Pen.cs
- CompressEmulationStream.cs
- HttpRawResponse.cs
- ElementFactory.cs
- MiniConstructorInfo.cs
- PermissionSetEnumerator.cs
- BitmapFrameDecode.cs
- SelectedGridItemChangedEvent.cs
- ProfileModule.cs
- SQLByte.cs
- IntegerValidatorAttribute.cs
- FontCacheUtil.cs
- SimpleMailWebEventProvider.cs
- SQLMoney.cs
- Color.cs
- TemplateEditingFrame.cs
- TextEditorSelection.cs
- ThicknessAnimationUsingKeyFrames.cs
- CertificateElement.cs
- PageContent.cs
- FontNamesConverter.cs
- CompositeFontInfo.cs
- Mappings.cs
- CustomCategoryAttribute.cs
- ValueType.cs
- FillBehavior.cs
- ObjectMaterializedEventArgs.cs
- MenuItemBinding.cs
- ProgressBarRenderer.cs
- UriTemplateVariableQueryValue.cs
- MaskedTextBoxTextEditor.cs
- TemplateControlParser.cs
- Help.cs
- TaskScheduler.cs
- SessionEndingEventArgs.cs
- ToolBarOverflowPanel.cs
- ObjectViewListener.cs
- CompModSwitches.cs
- OperationAbortedException.cs
- IndentedTextWriter.cs
- NavigatorInvalidBodyAccessException.cs
- ConfigXmlReader.cs
- ConfigErrorGlyph.cs
- ConfigurationValidatorBase.cs
- XamlToRtfParser.cs
- ProcessProtocolHandler.cs
- Selection.cs
- TypeDependencyAttribute.cs
- HostedElements.cs
- BufferedReadStream.cs
- WriteableBitmap.cs
- SendMailErrorEventArgs.cs