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
- ApplicationContext.cs
- MouseActionConverter.cs
- ChangePassword.cs
- PropertyRecord.cs
- TrackingDataItemValue.cs
- Int64Animation.cs
- NCryptNative.cs
- TypeHelper.cs
- PropertyGeneratedEventArgs.cs
- EntityTransaction.cs
- ValidationResult.cs
- OleCmdHelper.cs
- OleAutBinder.cs
- GenerateHelper.cs
- MD5.cs
- TableLayoutSettingsTypeConverter.cs
- login.cs
- ReflectEventDescriptor.cs
- TcpClientCredentialType.cs
- PlainXmlWriter.cs
- MissingManifestResourceException.cs
- FrugalMap.cs
- ToolStripRenderer.cs
- StorageMappingItemCollection.cs
- HttpCookieCollection.cs
- ApplicationServiceManager.cs
- SqlException.cs
- SetIndexBinder.cs
- SafeEventHandle.cs
- ControllableStoryboardAction.cs
- AlignmentYValidation.cs
- ResourcesChangeInfo.cs
- SqlDelegatedTransaction.cs
- XmlElementAttributes.cs
- InputScope.cs
- DoubleLink.cs
- KeyFrames.cs
- XmlSchemaSearchPattern.cs
- RegexReplacement.cs
- LazyTextWriterCreator.cs
- StorageModelBuildProvider.cs
- MatrixAnimationBase.cs
- RadioButtonDesigner.cs
- JoinCqlBlock.cs
- WebPartEditorApplyVerb.cs
- CompoundFileIOPermission.cs
- GenericIdentity.cs
- TemplateAction.cs
- Not.cs
- rsa.cs
- ByeMessageApril2005.cs
- DynamicObject.cs
- NativeMethods.cs
- XmlQueryOutput.cs
- ResourceContainer.cs
- SqlDataSourceCommandEventArgs.cs
- TypeExtension.cs
- BoolExpressionVisitors.cs
- XmlNullResolver.cs
- CompiledIdentityConstraint.cs
- XmlKeywords.cs
- BeginGetFileNameFromUserRequest.cs
- FontSource.cs
- ArcSegment.cs
- UnsignedPublishLicense.cs
- LocalizableResourceBuilder.cs
- FieldMetadata.cs
- SRef.cs
- mongolianshape.cs
- ServiceParser.cs
- DefaultParameterValueAttribute.cs
- HttpResponseInternalBase.cs
- UnsafeNativeMethodsMilCoreApi.cs
- GlobalizationSection.cs
- HttpVersion.cs
- FilteredXmlReader.cs
- LabelInfo.cs
- RuleProcessor.cs
- DirectoryInfo.cs
- JoinGraph.cs
- DefaultExpression.cs
- ImpersonationContext.cs
- WorkflowRuntimeService.cs
- EntityStoreSchemaGenerator.cs
- XmlQueryContext.cs
- IsolatedStoragePermission.cs
- RadioButton.cs
- LinkConverter.cs
- DataChangedEventManager.cs
- RoleManagerSection.cs
- mediaclock.cs
- SystemIPGlobalProperties.cs
- documentsequencetextview.cs
- UrlMappingsSection.cs
- EventLogTraceListener.cs
- BoolLiteral.cs
- Funcletizer.cs
- SqlExpressionNullability.cs
- HwndProxyElementProvider.cs
- OleStrCAMarshaler.cs