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
- CategoryList.cs
- ImageAnimator.cs
- TagMapInfo.cs
- AppSettingsExpressionBuilder.cs
- Popup.cs
- ConnectionPointCookie.cs
- UnsafeNativeMethods.cs
- Literal.cs
- InputProcessorProfiles.cs
- SmtpAuthenticationManager.cs
- RealProxy.cs
- DbReferenceCollection.cs
- X509ScopedServiceCertificateElement.cs
- ElementHostAutomationPeer.cs
- HttpContextServiceHost.cs
- FormViewModeEventArgs.cs
- Part.cs
- WebEventTraceProvider.cs
- ConfigPathUtility.cs
- DigestTraceRecordHelper.cs
- CodeLabeledStatement.cs
- Expr.cs
- TextRange.cs
- BindingCompleteEventArgs.cs
- DbConnectionOptions.cs
- TextEditorTyping.cs
- wgx_sdk_version.cs
- ProfileModule.cs
- ObjectContext.cs
- RestHandler.cs
- URLAttribute.cs
- DynamicPropertyHolder.cs
- ProxyFragment.cs
- WebServiceFaultDesigner.cs
- SortedSet.cs
- ServiceModelConfiguration.cs
- _CacheStreams.cs
- VersionUtil.cs
- SmiXetterAccessMap.cs
- SqlSelectStatement.cs
- RemoteWebConfigurationHostServer.cs
- SoapHelper.cs
- JoinQueryOperator.cs
- DataGridViewElement.cs
- SettingsContext.cs
- Parser.cs
- Point3DKeyFrameCollection.cs
- CompilerResults.cs
- SoapHeaderException.cs
- CookieParameter.cs
- TableHeaderCell.cs
- RewritingProcessor.cs
- BrowserCapabilitiesFactoryBase.cs
- InternalConfigRoot.cs
- ExtendedProperty.cs
- TreeIterator.cs
- OrderToken.cs
- OleDbWrapper.cs
- ComponentResourceKey.cs
- ResXBuildProvider.cs
- DesigntimeLicenseContext.cs
- CqlLexerHelpers.cs
- DataControlButton.cs
- CommentEmitter.cs
- GroupBoxDesigner.cs
- XPathAncestorIterator.cs
- OleDbConnection.cs
- SystemUdpStatistics.cs
- FormClosedEvent.cs
- CodeTypeReferenceCollection.cs
- BitmapEncoder.cs
- EntryIndex.cs
- SchemaElement.cs
- AxisAngleRotation3D.cs
- ExpandableObjectConverter.cs
- JumpTask.cs
- HttpVersion.cs
- DecimalStorage.cs
- DbSetClause.cs
- SchemaName.cs
- TargetControlTypeAttribute.cs
- CultureMapper.cs
- OracleCommandSet.cs
- ContractMapping.cs
- OleDbRowUpdatingEvent.cs
- WebPartDesigner.cs
- KnownTypeHelper.cs
- XmlIncludeAttribute.cs
- HandledEventArgs.cs
- BamlStream.cs
- ContextBase.cs
- RSAOAEPKeyExchangeFormatter.cs
- SimpleApplicationHost.cs
- LinqDataSourceDeleteEventArgs.cs
- ConfigurationPropertyAttribute.cs
- AppLevelCompilationSectionCache.cs
- BulletedListEventArgs.cs
- XPathSingletonIterator.cs
- BitmapDownload.cs
- IPPacketInformation.cs