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
- LassoHelper.cs
- CodeAssignStatement.cs
- RtfToXamlLexer.cs
- StyleReferenceConverter.cs
- DataSet.cs
- Stroke.cs
- ControlValuePropertyAttribute.cs
- XamlVector3DCollectionSerializer.cs
- PeerCollaboration.cs
- PropertyGridEditorPart.cs
- HMAC.cs
- SqlAliaser.cs
- ProcessInfo.cs
- WebServiceAttribute.cs
- TransformValueSerializer.cs
- PersonalizationStateInfoCollection.cs
- PropertyValueChangedEvent.cs
- HtmlShim.cs
- CorePropertiesFilter.cs
- ExtensionSimplifierMarkupObject.cs
- InvokeProviderWrapper.cs
- WebPageTraceListener.cs
- XamlStyleSerializer.cs
- Documentation.cs
- __TransparentProxy.cs
- FixedBufferAttribute.cs
- XmlReader.cs
- _ContextAwareResult.cs
- InstanceLockQueryResult.cs
- TypefaceMetricsCache.cs
- ScriptingSectionGroup.cs
- NodeInfo.cs
- DispatcherEventArgs.cs
- ProxyAttribute.cs
- CustomTokenProvider.cs
- SafeEventLogReadHandle.cs
- DatePickerTextBox.cs
- MouseDevice.cs
- FontStretch.cs
- DependencyObjectProvider.cs
- WpfGeneratedKnownTypes.cs
- WebResourceAttribute.cs
- ToolStripPanelCell.cs
- OleDbMetaDataFactory.cs
- OutOfProcStateClientManager.cs
- MeasureData.cs
- PropertyChangedEventManager.cs
- EventLogRecord.cs
- ConvertersCollection.cs
- TraceXPathNavigator.cs
- DatePickerAutomationPeer.cs
- RenderOptions.cs
- DataGridViewRowPostPaintEventArgs.cs
- RoleGroupCollectionEditor.cs
- BlockingCollection.cs
- ProcessHostMapPath.cs
- CaseKeyBox.ViewModel.cs
- HttpDictionary.cs
- MouseGestureConverter.cs
- NetworkAddressChange.cs
- TextPointer.cs
- Types.cs
- WindowsComboBox.cs
- CroppedBitmap.cs
- ScrollItemPattern.cs
- SizeConverter.cs
- SqlDataRecord.cs
- AttributeExtensions.cs
- _NtlmClient.cs
- TextElement.cs
- SoapEnumAttribute.cs
- SizeF.cs
- SoapCommonClasses.cs
- SafeRegistryHandle.cs
- Bold.cs
- SyndicationDeserializer.cs
- ToolBarOverflowPanel.cs
- DbConnectionPool.cs
- ReadOnlyDictionary.cs
- ExpandSegment.cs
- ResourcesGenerator.cs
- TextRangeProviderWrapper.cs
- EntityDataSourceViewSchema.cs
- FlowDocumentScrollViewer.cs
- ControlBindingsCollection.cs
- TextModifier.cs
- SemanticResultKey.cs
- XhtmlBasicPhoneCallAdapter.cs
- AssemblySettingAttributes.cs
- UInt16Storage.cs
- ListParagraph.cs
- CodeDOMProvider.cs
- TextTreeNode.cs
- DecoratedNameAttribute.cs
- DaylightTime.cs
- ILGenerator.cs
- JournalEntryStack.cs
- SQLDecimal.cs
- MemberDomainMap.cs
- NavigatorInput.cs