Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / GeometryCombineModeValidation.cs / 1305600 / GeometryCombineModeValidation.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 IsGeometryCombineModeValid(object valueObject) { GeometryCombineMode value = (GeometryCombineMode) valueObject; return (value == GeometryCombineMode.Union) || (value == GeometryCombineMode.Intersect) || (value == GeometryCombineMode.Xor) || (value == GeometryCombineMode.Exclude); } } } // 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
- SapiRecoContext.cs
- nulltextcontainer.cs
- LayoutDump.cs
- SvcMapFileSerializer.cs
- NameSpaceEvent.cs
- XmlUrlResolver.cs
- SelectionItemProviderWrapper.cs
- SystemFonts.cs
- SqlRewriteScalarSubqueries.cs
- XmlLoader.cs
- ValidateNames.cs
- PreservationFileReader.cs
- XXXInfos.cs
- DataException.cs
- LinkClickEvent.cs
- SystemInformation.cs
- MobileControlsSection.cs
- XmlWhitespace.cs
- PropertyInformation.cs
- ValueTypePropertyReference.cs
- Formatter.cs
- MiniCustomAttributeInfo.cs
- ColumnResult.cs
- GridViewAutomationPeer.cs
- EnvironmentPermission.cs
- CachedPathData.cs
- SoapAttributeAttribute.cs
- CallbackValidator.cs
- RepeaterCommandEventArgs.cs
- Image.cs
- ScriptReference.cs
- BrushMappingModeValidation.cs
- MinMaxParagraphWidth.cs
- NestedContainer.cs
- SurrogateEncoder.cs
- ACL.cs
- UnsafeNativeMethodsTablet.cs
- WeakReadOnlyCollection.cs
- TextTrailingCharacterEllipsis.cs
- ThousandthOfEmRealDoubles.cs
- DrawListViewItemEventArgs.cs
- ClientTarget.cs
- CryptoApi.cs
- LinkTarget.cs
- SchemaTableColumn.cs
- TypeLoadException.cs
- SecurityRuntime.cs
- LedgerEntry.cs
- DESCryptoServiceProvider.cs
- SHA512Managed.cs
- XhtmlConformanceSection.cs
- XmlSchemaSimpleTypeRestriction.cs
- MetadataUtil.cs
- SqlProcedureAttribute.cs
- Brush.cs
- ApplicationInterop.cs
- TransformerInfo.cs
- PagesSection.cs
- SslStream.cs
- FlowLayout.cs
- StylusPointCollection.cs
- WebControlParameterProxy.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- XmlSerializationWriter.cs
- ProtocolViolationException.cs
- ToolStripStatusLabel.cs
- ConfigurationException.cs
- NullRuntimeConfig.cs
- EventWaitHandle.cs
- PropertyPathWorker.cs
- BitmapSourceSafeMILHandle.cs
- CodeArgumentReferenceExpression.cs
- HttpAsyncResult.cs
- RegexMatchCollection.cs
- ConstNode.cs
- ConfigUtil.cs
- Attributes.cs
- XmlSerializerFactory.cs
- DbDeleteCommandTree.cs
- DataColumn.cs
- InkPresenter.cs
- MessageDecoder.cs
- SqlConnectionHelper.cs
- SubtreeProcessor.cs
- _DisconnectOverlappedAsyncResult.cs
- DataColumnMapping.cs
- SafeNativeMethods.cs
- EntityTransaction.cs
- JsonReader.cs
- NamedPipeDuplicateContext.cs
- WsdlEndpointConversionContext.cs
- OleDbParameter.cs
- DataGridrowEditEndingEventArgs.cs
- WorkflowExecutor.cs
- CatalogPart.cs
- Logging.cs
- SqlFlattener.cs
- Composition.cs
- BaseTreeIterator.cs
- SqlCommand.cs