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
- CodeDirectoryCompiler.cs
- ModelChangedEventArgsImpl.cs
- DateTime.cs
- PeerNameRegistration.cs
- MenuRendererClassic.cs
- GreaterThan.cs
- WmiPutTraceRecord.cs
- WebPartCatalogCloseVerb.cs
- RequiredArgumentAttribute.cs
- DSASignatureDeformatter.cs
- PriorityQueue.cs
- BitmapDecoder.cs
- ArcSegment.cs
- DataTableMapping.cs
- PopupControlService.cs
- NullableDecimalSumAggregationOperator.cs
- EventLogHandle.cs
- TargetException.cs
- CqlQuery.cs
- BuilderPropertyEntry.cs
- OutputCacheSettingsSection.cs
- ModuleElement.cs
- ErrorRuntimeConfig.cs
- ListItemParagraph.cs
- MemberListBinding.cs
- Help.cs
- ViewCellRelation.cs
- Operand.cs
- ScriptManagerProxy.cs
- DataTableNewRowEvent.cs
- HtmlMeta.cs
- ObjectViewListener.cs
- HitTestWithPointDrawingContextWalker.cs
- XmlNodeComparer.cs
- MeasurementDCInfo.cs
- ManualResetEventSlim.cs
- Version.cs
- EntityDataSourceColumn.cs
- JournalEntryListConverter.cs
- _NativeSSPI.cs
- _SslSessionsCache.cs
- MetabaseServerConfig.cs
- InputMethodStateTypeInfo.cs
- Mutex.cs
- ListViewItem.cs
- ISO2022Encoding.cs
- FileEnumerator.cs
- SamlAssertion.cs
- XamlStream.cs
- CompilerGlobalScopeAttribute.cs
- TypeDescriptionProvider.cs
- SplitContainer.cs
- GacUtil.cs
- SafePEFileHandle.cs
- DefaultEventAttribute.cs
- DotExpr.cs
- ValidationUtility.cs
- DbMetaDataColumnNames.cs
- SequenceFullException.cs
- MachineSettingsSection.cs
- SessionSwitchEventArgs.cs
- SqlDataRecord.cs
- SafePointer.cs
- InputLanguage.cs
- TrackingProfile.cs
- ConfigurationManagerHelperFactory.cs
- IisTraceListener.cs
- SafeThemeHandle.cs
- remotingproxy.cs
- Stack.cs
- sqlser.cs
- SelectionWordBreaker.cs
- EventManager.cs
- Matrix3D.cs
- EnumConverter.cs
- GeneralTransformGroup.cs
- StreamReader.cs
- StrokeCollection2.cs
- TableHeaderCell.cs
- LostFocusEventManager.cs
- RegexRunner.cs
- GlyphShapingProperties.cs
- TokenBasedSet.cs
- TimeSpanMinutesConverter.cs
- ListViewSelectEventArgs.cs
- Animatable.cs
- EnumConverter.cs
- EllipseGeometry.cs
- DiagnosticsConfigurationHandler.cs
- ClientBuildManagerCallback.cs
- DefaultEventAttribute.cs
- GPRECTF.cs
- KoreanLunisolarCalendar.cs
- StrokeNodeEnumerator.cs
- dbdatarecord.cs
- embossbitmapeffect.cs
- RuleSetDialog.Designer.cs
- InkPresenterAutomationPeer.cs
- FormViewModeEventArgs.cs
- ButtonBase.cs