Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / 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 http://wiki/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. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/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
- PartitionResolver.cs
- SqlMethods.cs
- FloaterBaseParagraph.cs
- ContextMenuAutomationPeer.cs
- SafeNativeMethods.cs
- HtmlControl.cs
- WinInetCache.cs
- Char.cs
- ClickablePoint.cs
- HwndTarget.cs
- Menu.cs
- ExpressionNormalizer.cs
- WebResourceAttribute.cs
- Zone.cs
- FilteredDataSetHelper.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- BaseTemplateParser.cs
- LayoutSettings.cs
- HttpAsyncResult.cs
- CreateUserWizard.cs
- XmlComplianceUtil.cs
- HwndSource.cs
- JapaneseCalendar.cs
- CacheRequest.cs
- CodeDomComponentSerializationService.cs
- NonDualMessageSecurityOverHttpElement.cs
- Scheduling.cs
- DesignTimeData.cs
- ReadOnlyDataSourceView.cs
- HttpWebRequestElement.cs
- FixedTextSelectionProcessor.cs
- KeyValueSerializer.cs
- HuffmanTree.cs
- QueueProcessor.cs
- MainMenu.cs
- XomlCompilerResults.cs
- FormsAuthenticationCredentials.cs
- BufferAllocator.cs
- AbstractSvcMapFileLoader.cs
- cache.cs
- ReferenceService.cs
- basecomparevalidator.cs
- ReadOnlyDictionary.cs
- CachedCompositeFamily.cs
- BitmapCodecInfo.cs
- StorageAssociationTypeMapping.cs
- SessionViewState.cs
- TdsParserHelperClasses.cs
- SHA512Managed.cs
- PropertyGridCommands.cs
- Bezier.cs
- Column.cs
- TextServicesProperty.cs
- ImagingCache.cs
- BinHexEncoding.cs
- RoutedEventValueSerializer.cs
- KeyPullup.cs
- ResourceReferenceExpressionConverter.cs
- SQlBooleanStorage.cs
- Object.cs
- mediaclock.cs
- RequestQueryProcessor.cs
- AutoResetEvent.cs
- DataGridViewCheckBoxColumn.cs
- PropertyOverridesDialog.cs
- OpCopier.cs
- ListControlBuilder.cs
- MiniCustomAttributeInfo.cs
- WebPartManagerInternals.cs
- WindowsGraphics.cs
- WebPartConnectionsConnectVerb.cs
- CommonDialog.cs
- EntryPointNotFoundException.cs
- HwndKeyboardInputProvider.cs
- Message.cs
- DesignerActionKeyboardBehavior.cs
- ColorAnimation.cs
- TransformerConfigurationWizardBase.cs
- NativeMethodsOther.cs
- WeakRefEnumerator.cs
- RenderContext.cs
- ConditionCollection.cs
- Visual3D.cs
- Selection.cs
- UserControl.cs
- ToolStripGrip.cs
- SecurityRequiresReviewAttribute.cs
- MdImport.cs
- SectionInformation.cs
- TagPrefixCollection.cs
- StandardOleMarshalObject.cs
- LoggedException.cs
- DeferredTextReference.cs
- AssemblyInfo.cs
- EmptyEnumerable.cs
- assertwrapper.cs
- FtpCachePolicyElement.cs
- TypeViewSchema.cs
- QilLiteral.cs
- Compress.cs