Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / GradientStop.cs / 1 / GradientStop.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // File: GradientStop.cs // // Description: This file contains the implementation of a GradientStop. // The GradientStop class contains a color and an offset, and is // used by GradientBrush. // // History: // 04/30/2003 : [....] - Created it // //--------------------------------------------------------------------------- using MS.Internal; using System; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Markup; namespace System.Windows.Media { ////// GradientStop - The gradient stop is a tuple consisting of an offset and a color. /// A collection of gradient stops help describe the contents of a GradientBrush. /// [Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] public sealed partial class GradientStop : Animatable { #region Constructors ////// GradientStop - Initialize this GradientStop /// public GradientStop() { } ////// GradientStop - Initialize this GradientStop from a constant Color and offset. /// /// The Color at this offset. /// The offset within the Gradient. public GradientStop(Color color, double offset) { Color = color; Offset = offset; } #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
- ItemCollection.cs
- sqlpipe.cs
- Bind.cs
- VScrollBar.cs
- TrackingDataItemValue.cs
- BulletedListEventArgs.cs
- StretchValidation.cs
- XamlClipboardData.cs
- HttpModuleActionCollection.cs
- UnmanagedHandle.cs
- InputLanguage.cs
- Pen.cs
- WebPartEventArgs.cs
- BmpBitmapEncoder.cs
- FormatSettings.cs
- ScriptServiceAttribute.cs
- AttachedProperty.cs
- ParentQuery.cs
- AvTraceDetails.cs
- DataMemberListEditor.cs
- DataMemberFieldEditor.cs
- QuotedStringFormatReader.cs
- TimeSpanMinutesConverter.cs
- HtmlListAdapter.cs
- NameValuePermission.cs
- ListItemConverter.cs
- PageBreakRecord.cs
- FragmentNavigationEventArgs.cs
- VisualStyleInformation.cs
- Relationship.cs
- CellParagraph.cs
- MetabaseServerConfig.cs
- SystemWebExtensionsSectionGroup.cs
- MSAAEventDispatcher.cs
- ContextStaticAttribute.cs
- ProcessThreadCollection.cs
- MethodAccessException.cs
- FontNamesConverter.cs
- IsolationInterop.cs
- ComponentSerializationService.cs
- ClientTargetSection.cs
- DragDrop.cs
- ParameterBuilder.cs
- LinqDataSourceUpdateEventArgs.cs
- ClientConfigurationSystem.cs
- SystemIPv6InterfaceProperties.cs
- WindowsSpinner.cs
- UserPreferenceChangedEventArgs.cs
- XmlSchemaAnnotation.cs
- RegexGroup.cs
- TrustLevel.cs
- XmlNavigatorStack.cs
- DispatcherExceptionFilterEventArgs.cs
- VectorCollection.cs
- Adorner.cs
- CodeBinaryOperatorExpression.cs
- CreateUserWizard.cs
- DecoderFallback.cs
- WSFederationHttpSecurity.cs
- SafeEventLogReadHandle.cs
- Int32CAMarshaler.cs
- DropDownList.cs
- StringWriter.cs
- HuffCodec.cs
- ValidateNames.cs
- ListBox.cs
- DataPager.cs
- ZoneMembershipCondition.cs
- XmlRawWriter.cs
- MouseButtonEventArgs.cs
- UTF8Encoding.cs
- HandlerElement.cs
- InputScopeManager.cs
- CancellationHandler.cs
- UpdateCompiler.cs
- CodeAttributeArgument.cs
- _RequestCacheProtocol.cs
- CompiledQueryCacheKey.cs
- sortedlist.cs
- TargetParameterCountException.cs
- AxWrapperGen.cs
- SystemIPv4InterfaceProperties.cs
- ISCIIEncoding.cs
- FixedSchema.cs
- BitmapEffectInput.cs
- RenameRuleObjectDialog.cs
- DocumentViewerConstants.cs
- DesignerRegionMouseEventArgs.cs
- Operator.cs
- SqlLiftWhereClauses.cs
- QueuePathEditor.cs
- CreateUserErrorEventArgs.cs
- _CacheStreams.cs
- ExpressionServices.cs
- IntAverageAggregationOperator.cs
- HttpStaticObjectsCollectionWrapper.cs
- SqlXml.cs
- SequenceFullException.cs
- UriScheme.cs
- XmlNamespaceManager.cs