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
- PropertyPath.cs
- TargetControlTypeAttribute.cs
- WebColorConverter.cs
- MetabaseServerConfig.cs
- TransformerInfo.cs
- RefreshPropertiesAttribute.cs
- DependencyPropertyChangedEventArgs.cs
- TypeToken.cs
- CodeAttachEventStatement.cs
- FormsAuthenticationConfiguration.cs
- DataGridViewLayoutData.cs
- SignatureConfirmations.cs
- ForeignKeyConstraint.cs
- COM2ExtendedBrowsingHandler.cs
- CodeTypeReferenceExpression.cs
- MediaContext.cs
- RunWorkerCompletedEventArgs.cs
- AuthStoreRoleProvider.cs
- Line.cs
- Queue.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Hex.cs
- StandardOleMarshalObject.cs
- RuleSet.cs
- FrameSecurityDescriptor.cs
- Transform3DGroup.cs
- XamlTemplateSerializer.cs
- ReturnType.cs
- SmiEventSink.cs
- SrgsSemanticInterpretationTag.cs
- DetailsViewPagerRow.cs
- MergeFilterQuery.cs
- QilTypeChecker.cs
- LinqDataView.cs
- ColumnMapTranslator.cs
- WebPartsSection.cs
- AttachedAnnotationChangedEventArgs.cs
- LineGeometry.cs
- CellPartitioner.cs
- ContextMenuStripGroupCollection.cs
- DoWorkEventArgs.cs
- SymmetricAlgorithm.cs
- XmlDocumentFragment.cs
- SourceFilter.cs
- DesignerDataConnection.cs
- PersistChildrenAttribute.cs
- StorageFunctionMapping.cs
- CommittableTransaction.cs
- DispatcherHooks.cs
- Sql8ConformanceChecker.cs
- DistinctQueryOperator.cs
- DataKey.cs
- GeometryHitTestResult.cs
- SaveFileDialog.cs
- UIElement.cs
- UserControlDocumentDesigner.cs
- DSASignatureFormatter.cs
- DataViewSetting.cs
- ArrayTypeMismatchException.cs
- CommonXSendMessage.cs
- LocationEnvironment.cs
- AvTraceDetails.cs
- StringOutput.cs
- CompoundFileReference.cs
- GeometryConverter.cs
- SQLBinaryStorage.cs
- PropertyInfoSet.cs
- TransactionOptions.cs
- PenCursorManager.cs
- ResourcePool.cs
- CharacterMetrics.cs
- ResourcesChangeInfo.cs
- MenuItemCollection.cs
- TypeInitializationException.cs
- newinstructionaction.cs
- MemoryRecordBuffer.cs
- TileBrush.cs
- sqlstateclientmanager.cs
- EntityModelSchemaGenerator.cs
- XamlParser.cs
- SerializableAuthorizationContext.cs
- FlowNode.cs
- InvokeMethodActivityDesigner.cs
- IResourceProvider.cs
- TextContainerChangedEventArgs.cs
- DateTimeAutomationPeer.cs
- DbParameterHelper.cs
- selecteditemcollection.cs
- SafeProcessHandle.cs
- FragmentQuery.cs
- RelationshipConstraintValidator.cs
- SByteStorage.cs
- PackageDigitalSignature.cs
- SizeChangedEventArgs.cs
- Constants.cs
- MSAAWinEventWrap.cs
- ProfileInfo.cs
- Confirm.cs
- DataGridViewCell.cs
- GlobalAllocSafeHandle.cs