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
- StorageEndPropertyMapping.cs
- FilterException.cs
- __Filters.cs
- XmlUtf8RawTextWriter.cs
- ConsumerConnectionPointCollection.cs
- CodeDomLoader.cs
- PopupEventArgs.cs
- DataServiceCollectionOfT.cs
- NeedSkipTokenVisitor.cs
- DropDownHolder.cs
- SafePEFileHandle.cs
- ListItemConverter.cs
- DesignOnlyAttribute.cs
- SoapReflectionImporter.cs
- _ListenerAsyncResult.cs
- CompareInfo.cs
- DataTablePropertyDescriptor.cs
- PartitionedStream.cs
- LeafCellTreeNode.cs
- TrustVersion.cs
- ChangePassword.cs
- NativeMethodsCLR.cs
- StringDictionaryCodeDomSerializer.cs
- EnumerableCollectionView.cs
- EventlogProvider.cs
- StateMachine.cs
- UnsafeNativeMethods.cs
- OpenFileDialog.cs
- XslException.cs
- GraphicsPathIterator.cs
- ToolStripItemCollection.cs
- SettingsPropertyValueCollection.cs
- DataTableExtensions.cs
- VisualTreeHelper.cs
- FormsAuthenticationCredentials.cs
- UserControlParser.cs
- TransformedBitmap.cs
- InternalConfigHost.cs
- ThrowOnMultipleAssignment.cs
- CustomPeerResolverService.cs
- MiniConstructorInfo.cs
- ToolStripSplitButton.cs
- SignalGate.cs
- PageVisual.cs
- WeakRefEnumerator.cs
- WorkflowLayouts.cs
- Missing.cs
- StringValidator.cs
- LastQueryOperator.cs
- ListenerChannelContext.cs
- TypedDatasetGenerator.cs
- MetadataCacheItem.cs
- QilSortKey.cs
- WorkingDirectoryEditor.cs
- httpapplicationstate.cs
- PerformanceCounterCategory.cs
- PagerSettings.cs
- HtmlElementEventArgs.cs
- ScriptManagerProxy.cs
- TextChangedEventArgs.cs
- DataGridLinkButton.cs
- ObservableDictionary.cs
- ContextMenu.cs
- SqlInfoMessageEvent.cs
- Stylesheet.cs
- IxmlLineInfo.cs
- AdCreatedEventArgs.cs
- SqlParameter.cs
- TextViewSelectionProcessor.cs
- ClientUtils.cs
- StickyNoteContentControl.cs
- SchemaContext.cs
- UrlUtility.cs
- Timer.cs
- SerializeAbsoluteContext.cs
- DockPattern.cs
- FontNamesConverter.cs
- URLString.cs
- TextTreeObjectNode.cs
- InvalidProgramException.cs
- ScrollBar.cs
- IDispatchConstantAttribute.cs
- PathBox.cs
- ListBox.cs
- EntityDataSourceContextCreatingEventArgs.cs
- MemberRelationshipService.cs
- AxisAngleRotation3D.cs
- XmlMapping.cs
- SerializationEventsCache.cs
- DodSequenceMerge.cs
- NumberSubstitution.cs
- IUnknownConstantAttribute.cs
- Item.cs
- ParserHooks.cs
- RtType.cs
- Serializer.cs
- Zone.cs
- TypeSemantics.cs
- AudioBase.cs
- BookmarkUndoUnit.cs