Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- RegistryKey.cs
- ProcessInputEventArgs.cs
- QueryGenerator.cs
- StorageTypeMapping.cs
- StrokeCollection.cs
- DataViewSetting.cs
- TdsParameterSetter.cs
- SchemeSettingElement.cs
- ThemeableAttribute.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- StringInfo.cs
- ClientProxyGenerator.cs
- MenuItemCollection.cs
- MethodSet.cs
- ModuleConfigurationInfo.cs
- HtmlTextArea.cs
- _RequestLifetimeSetter.cs
- ProxyWebPartManager.cs
- ObjectTag.cs
- DiscoveryClientChannelFactory.cs
- BaseResourcesBuildProvider.cs
- DescendantQuery.cs
- DispatcherObject.cs
- _ScatterGatherBuffers.cs
- MenuItemAutomationPeer.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- FontWeights.cs
- DataSourceListEditor.cs
- RequestNavigateEventArgs.cs
- QilVisitor.cs
- AsyncPostBackErrorEventArgs.cs
- KnownBoxes.cs
- XmlSchemaInferenceException.cs
- Source.cs
- CommandField.cs
- ServerIdentity.cs
- BitmapEffectInput.cs
- StoragePropertyMapping.cs
- ConstraintConverter.cs
- DataControlButton.cs
- DataGridRowsPresenter.cs
- FixUpCollection.cs
- InputMethodStateChangeEventArgs.cs
- StorageAssociationSetMapping.cs
- DrawingVisualDrawingContext.cs
- ScriptControlDescriptor.cs
- SmtpCommands.cs
- ConfigurationStrings.cs
- ScrollChangedEventArgs.cs
- HighContrastHelper.cs
- BooleanConverter.cs
- TextBoxAutomationPeer.cs
- HttpListenerRequest.cs
- SqlProviderServices.cs
- AssemblyBuilderData.cs
- DataGridLinkButton.cs
- ExportFileRequest.cs
- MenuAutomationPeer.cs
- validationstate.cs
- DateTimeUtil.cs
- CompiledRegexRunnerFactory.cs
- ManagedFilter.cs
- SoundPlayer.cs
- TableLayoutPanelResizeGlyph.cs
- CustomTypeDescriptor.cs
- XamlStyleSerializer.cs
- ConfigPathUtility.cs
- SystemNetworkInterface.cs
- TreeViewEvent.cs
- TriggerBase.cs
- GridLength.cs
- StandardBindingElementCollection.cs
- NodeCounter.cs
- PointAnimation.cs
- ApplicationId.cs
- SwitchLevelAttribute.cs
- MouseCaptureWithinProperty.cs
- XmlBoundElement.cs
- AsymmetricSignatureDeformatter.cs
- EncryptedType.cs
- SynchronizingStream.cs
- ConditionalDesigner.cs
- SequentialUshortCollection.cs
- ManagementClass.cs
- WebFormsRootDesigner.cs
- Screen.cs
- StackBuilderSink.cs
- Binding.cs
- ErrorHandlingAcceptor.cs
- ClassicBorderDecorator.cs
- EventProviderClassic.cs
- WebPartsPersonalizationAuthorization.cs
- DynamicObjectAccessor.cs
- ComponentSerializationService.cs
- IntegerValidatorAttribute.cs
- DesignerVerbCollection.cs
- unsafeIndexingFilterStream.cs
- Convert.cs
- ReadOnlyCollectionBase.cs
- NamespaceList.cs