Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / GeometryCombineModeValidation.cs / 1 / GeometryCombineModeValidation.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 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
- KeysConverter.cs
- CommandValueSerializer.cs
- XmlAttributeCollection.cs
- KeyValueInternalCollection.cs
- NamedElement.cs
- DataRelationPropertyDescriptor.cs
- CharacterString.cs
- WindowsImpersonationContext.cs
- IisTraceListener.cs
- LoadMessageLogger.cs
- BlurBitmapEffect.cs
- XmlDataSourceView.cs
- CLRBindingWorker.cs
- IconBitmapDecoder.cs
- ExpressionWriter.cs
- ScrollViewer.cs
- CompilerTypeWithParams.cs
- XPathSelectionIterator.cs
- OutputCacheModule.cs
- ResourceExpression.cs
- XmlObjectSerializerReadContextComplexJson.cs
- TransformerInfoCollection.cs
- TextDpi.cs
- BamlLocalizableResourceKey.cs
- PackageRelationshipSelector.cs
- MessageLogTraceRecord.cs
- DockingAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- SoapExtension.cs
- COM2IDispatchConverter.cs
- ObjectDesignerDataSourceView.cs
- hebrewshape.cs
- FlowLayoutSettings.cs
- WebExceptionStatus.cs
- HttpRawResponse.cs
- TemplatedMailWebEventProvider.cs
- Visitors.cs
- SimplePropertyEntry.cs
- TextEditorDragDrop.cs
- DrawToolTipEventArgs.cs
- TimeSpan.cs
- VScrollProperties.cs
- SmiEventSink_Default.cs
- NotCondition.cs
- Parameter.cs
- ToolStripItemCollection.cs
- AssemblyNameProxy.cs
- QueryIntervalOp.cs
- SecurityUtils.cs
- MetadataUtilsSmi.cs
- WeakEventTable.cs
- CompModSwitches.cs
- ObjectSet.cs
- SignerInfo.cs
- Subtract.cs
- TypeInitializationException.cs
- DefaultValueAttribute.cs
- PeerEndPoint.cs
- HMACRIPEMD160.cs
- StagingAreaInputItem.cs
- SafeRightsManagementSessionHandle.cs
- HtmlEmptyTagControlBuilder.cs
- DataRecordObjectView.cs
- EmptyWorkItem.cs
- XamlInt32CollectionSerializer.cs
- XmlSchemaComplexType.cs
- HttpModule.cs
- LinqDataSourceHelper.cs
- SystemIPInterfaceProperties.cs
- infer.cs
- RijndaelManagedTransform.cs
- RecordManager.cs
- DriveNotFoundException.cs
- ConfigsHelper.cs
- SHA512Managed.cs
- HttpProxyCredentialType.cs
- ItemCheckEvent.cs
- LowerCaseStringConverter.cs
- HighlightVisual.cs
- Action.cs
- CngAlgorithmGroup.cs
- OleDbCommand.cs
- HandleDictionary.cs
- NativeMethods.cs
- MediaTimeline.cs
- ZipPackagePart.cs
- WindowsStartMenu.cs
- EventManager.cs
- ClientRoleProvider.cs
- XmlSigningNodeWriter.cs
- InvalidAsynchronousStateException.cs
- AstTree.cs
- IdSpace.cs
- ScrollChrome.cs
- DictationGrammar.cs
- LinkLabelLinkClickedEvent.cs
- SizeF.cs
- DirectoryNotFoundException.cs
- CSharpCodeProvider.cs
- HTMLTextWriter.cs