Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / EdgeModeValidation.cs / 1305600 / EdgeModeValidation.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 IsEdgeModeValid(object valueObject) { EdgeMode value = (EdgeMode) valueObject; return (value == EdgeMode.Unspecified) || (value == EdgeMode.Aliased); } } } // 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
- PrintPageEvent.cs
- UInt32Storage.cs
- SecurityUtils.cs
- PartialTrustVisibleAssembliesSection.cs
- LOSFormatter.cs
- Control.cs
- AttributeXamlType.cs
- COM2Properties.cs
- StackOverflowException.cs
- DocumentCollection.cs
- HierarchicalDataTemplate.cs
- TTSEvent.cs
- XmlSchemaInfo.cs
- Aggregates.cs
- tibetanshape.cs
- DataSourceProvider.cs
- FormViewInsertedEventArgs.cs
- StyleHelper.cs
- DecoderFallbackWithFailureFlag.cs
- AsyncCodeActivityContext.cs
- PointLightBase.cs
- BasicHttpBindingCollectionElement.cs
- DataObjectAttribute.cs
- TaskExtensions.cs
- BrushMappingModeValidation.cs
- X509Utils.cs
- Hash.cs
- sortedlist.cs
- Configuration.cs
- ExceptionValidationRule.cs
- ComboBoxHelper.cs
- Soap.cs
- ProxyGenerator.cs
- CellParaClient.cs
- EventLogPermissionEntry.cs
- MemberRelationshipService.cs
- DateTime.cs
- CodeFieldReferenceExpression.cs
- FixedBufferAttribute.cs
- NavigateEvent.cs
- GeneralTransform.cs
- JsonServiceDocumentSerializer.cs
- LabelAutomationPeer.cs
- TextBox.cs
- DataServiceKeyAttribute.cs
- CodeRegionDirective.cs
- Int32Animation.cs
- QilReference.cs
- VectorCollectionValueSerializer.cs
- ListenerChannelContext.cs
- HtmlContainerControl.cs
- Paragraph.cs
- CollectionBuilder.cs
- Point3DAnimation.cs
- processwaithandle.cs
- TokenizerHelper.cs
- SimpleWebHandlerParser.cs
- ApplicationTrust.cs
- ColorConverter.cs
- TextTrailingCharacterEllipsis.cs
- CLSCompliantAttribute.cs
- X509ChainElement.cs
- LinearKeyFrames.cs
- MappableObjectManager.cs
- IteratorFilter.cs
- UIElement.cs
- regiisutil.cs
- InheritanceAttribute.cs
- NativeMethods.cs
- SimpleTypeResolver.cs
- SessionPageStatePersister.cs
- TreeNode.cs
- SecurityPolicySection.cs
- XmlWriterTraceListener.cs
- base64Transforms.cs
- MemberRelationshipService.cs
- DispatcherObject.cs
- TripleDESCryptoServiceProvider.cs
- GrammarBuilderDictation.cs
- XPathNodeInfoAtom.cs
- JsonSerializer.cs
- BitmapSource.cs
- TypedDataSetSchemaImporterExtension.cs
- TriggerCollection.cs
- PerformanceCounterNameAttribute.cs
- Light.cs
- ComAdminWrapper.cs
- RenderOptions.cs
- ExpandableObjectConverter.cs
- Viewport3DAutomationPeer.cs
- ObjectSecurityT.cs
- BindingContext.cs
- documentation.cs
- XsdValidatingReader.cs
- DataGridViewColumn.cs
- SymbolType.cs
- GrammarBuilder.cs
- HttpEncoder.cs
- CompositeDataBoundControl.cs
- SchemeSettingElement.cs