Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Shared / MS / Internal / Generated / EdgeProfileValidation.cs / 1 / EdgeProfileValidation.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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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
- VirtualPathUtility.cs
- Menu.cs
- DataRecordInfo.cs
- CodeDirectoryCompiler.cs
- NetNamedPipeBinding.cs
- ArgIterator.cs
- MetaDataInfo.cs
- NonVisualControlAttribute.cs
- followingquery.cs
- Base64Stream.cs
- IndexedWhereQueryOperator.cs
- ToolStripSplitStackLayout.cs
- RsaKeyIdentifierClause.cs
- UIElementParaClient.cs
- CanonicalXml.cs
- AbsoluteQuery.cs
- Regex.cs
- DbParameterCollectionHelper.cs
- IODescriptionAttribute.cs
- GlobalEventManager.cs
- ContactManager.cs
- ItemsChangedEventArgs.cs
- UtilityExtension.cs
- GeometryDrawing.cs
- CoreChannel.cs
- RegistryKey.cs
- ImageCodecInfoPrivate.cs
- XmlWrappingReader.cs
- XmlSchemaExternal.cs
- X509ThumbprintKeyIdentifierClause.cs
- WebServiceHandler.cs
- EdmItemCollection.cs
- MouseActionValueSerializer.cs
- LoadWorkflowAsyncResult.cs
- SchemaEntity.cs
- CreationContext.cs
- FeedUtils.cs
- SqlMethodCallConverter.cs
- ViewStateException.cs
- XmlSchemaSimpleContent.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DefaultSection.cs
- ItemsChangedEventArgs.cs
- ResourceSet.cs
- Figure.cs
- CodeChecksumPragma.cs
- SQLInt32Storage.cs
- TaskHelper.cs
- GenericUI.cs
- ProfilePropertySettings.cs
- SpoolingTaskBase.cs
- newitemfactory.cs
- XmlSchemaSimpleTypeRestriction.cs
- EmptyQuery.cs
- ActiveXHelper.cs
- PlacementWorkspace.cs
- IdnElement.cs
- Binding.cs
- CachedFontFamily.cs
- DbXmlEnabledProviderManifest.cs
- HtmlControl.cs
- Html32TextWriter.cs
- XmlChildNodes.cs
- XmlTextReaderImpl.cs
- Token.cs
- WindowsFormsSynchronizationContext.cs
- CodeSnippetCompileUnit.cs
- NetworkStream.cs
- Registry.cs
- ObjectPersistData.cs
- ConfigurationStrings.cs
- StringPropertyBuilder.cs
- SByteConverter.cs
- SiteMapNodeCollection.cs
- PreviewPageInfo.cs
- GetMemberBinder.cs
- ClientRolePrincipal.cs
- Configuration.cs
- TouchEventArgs.cs
- MenuItem.cs
- ControlTemplate.cs
- DataGridViewDataConnection.cs
- CodeGenerator.cs
- DataViewManager.cs
- HttpApplication.cs
- AnimationClockResource.cs
- TabItemWrapperAutomationPeer.cs
- DbConnectionPoolOptions.cs
- PtsContext.cs
- GifBitmapEncoder.cs
- DataGridCell.cs
- Icon.cs
- OrderedDictionaryStateHelper.cs
- ITreeGenerator.cs
- TranslateTransform3D.cs
- AtomEntry.cs
- StrokeCollectionConverter.cs
- UIntPtr.cs
- FloaterBaseParaClient.cs
- ElementHost.cs