Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / GradientSpreadMethodValidation.cs / 1 / GradientSpreadMethodValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see [....]/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #if PRESENTATION_CORE using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; #else using SR=System.Windows.SR; using SRID=System.Windows.SRID; #endif namespace System.Windows.Media { internal static partial class ValidateEnums { ////// Returns whether or not an enumeration instance a valid value. /// This method is designed to be used with ValidateValueCallback, and thus /// matches it's prototype. /// /// /// Enumeration value to validate. /// ///'true' if the enumeration contains a valid value, 'false' otherwise. public static bool IsGradientSpreadMethodValid(object valueObject) { GradientSpreadMethod value = (GradientSpreadMethod) valueObject; return (value == GradientSpreadMethod.Pad) || (value == GradientSpreadMethod.Reflect) || (value == GradientSpreadMethod.Repeat); } } } // 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
- Light.cs
- _UncName.cs
- TableHeaderCell.cs
- Component.cs
- CircleHotSpot.cs
- XmlHelper.cs
- TextTreeUndo.cs
- util.cs
- OracleParameter.cs
- NotifyParentPropertyAttribute.cs
- ResourceReader.cs
- HandlerBase.cs
- ConnectivityStatus.cs
- UpDownEvent.cs
- ToolStripPanel.cs
- ProtocolsConfiguration.cs
- FixedTextBuilder.cs
- HideDisabledControlAdapter.cs
- XslException.cs
- ToolStripDropDownItem.cs
- ArrayMergeHelper.cs
- SamlConstants.cs
- AsyncStreamReader.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SecurityCriticalDataForSet.cs
- CorePropertiesFilter.cs
- ICspAsymmetricAlgorithm.cs
- NGCPageContentCollectionSerializerAsync.cs
- KnownTypeDataContractResolver.cs
- Freezable.cs
- DateTime.cs
- Model3D.cs
- TransactionTraceIdentifier.cs
- CapabilitiesUse.cs
- SevenBitStream.cs
- DynamicControlParameter.cs
- DataGridViewSelectedCellCollection.cs
- Transform3D.cs
- ReadOnlyAttribute.cs
- RtfNavigator.cs
- CssClassPropertyAttribute.cs
- Documentation.cs
- DrawingCollection.cs
- IdnElement.cs
- XmlRootAttribute.cs
- regiisutil.cs
- HandleCollector.cs
- TextSegment.cs
- PasswordTextContainer.cs
- TextureBrush.cs
- IconHelper.cs
- InfoCardX509Validator.cs
- MetadataArtifactLoaderComposite.cs
- HtmlTableRow.cs
- DataServiceException.cs
- CustomAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- SecurityHelper.cs
- SafeRegistryHandle.cs
- TablePatternIdentifiers.cs
- TemplateParser.cs
- CipherData.cs
- WorkflowDebuggerSteppingAttribute.cs
- TextUtf8RawTextWriter.cs
- HijriCalendar.cs
- AutomationProperties.cs
- SubMenuStyleCollectionEditor.cs
- RelationshipNavigation.cs
- CommonServiceBehaviorElement.cs
- FormsAuthenticationModule.cs
- BitmapPalette.cs
- ContentPresenter.cs
- DocumentPageViewAutomationPeer.cs
- DbConnectionPoolGroupProviderInfo.cs
- HttpHandlerAction.cs
- NameObjectCollectionBase.cs
- PageStatePersister.cs
- ParentQuery.cs
- Attributes.cs
- AutomationEvent.cs
- Closure.cs
- WebServiceTypeData.cs
- MarshalByValueComponent.cs
- ToolStripDropDownClosedEventArgs.cs
- Bidi.cs
- input.cs
- SystemException.cs
- WindowsSysHeader.cs
- StopStoryboard.cs
- SchemaNotation.cs
- CheckBoxField.cs
- DoubleAnimationClockResource.cs
- XPathParser.cs
- AssemblyName.cs
- HttpDebugHandler.cs
- FileEnumerator.cs
- Image.cs
- JsonGlobals.cs
- DataTransferEventArgs.cs
- ArraySegment.cs