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
- _AuthenticationState.cs
- IndicFontClient.cs
- LiteralDesigner.cs
- ExpressionBindingCollection.cs
- SHA256CryptoServiceProvider.cs
- HttpStreamMessage.cs
- TraceLevelStore.cs
- RowToParametersTransformer.cs
- CssStyleCollection.cs
- AddingNewEventArgs.cs
- BuildManager.cs
- TreeNodeStyleCollectionEditor.cs
- HyperlinkAutomationPeer.cs
- ComPlusContractBehavior.cs
- FileLoadException.cs
- __TransparentProxy.cs
- TrackingServices.cs
- TextBoxBase.cs
- Pen.cs
- UInt64.cs
- SQLUtility.cs
- TableLayoutStyleCollection.cs
- Deserializer.cs
- XmlDownloadManager.cs
- GenericAuthenticationEventArgs.cs
- PropertyChangedEventArgs.cs
- BamlResourceContent.cs
- TypeListConverter.cs
- Normalizer.cs
- RoleProviderPrincipal.cs
- ActivityCollectionMarkupSerializer.cs
- XamlTypeMapper.cs
- CommandLineParser.cs
- NativeCppClassAttribute.cs
- GridViewRowCollection.cs
- _BufferOffsetSize.cs
- ConfigurationStrings.cs
- _DigestClient.cs
- SoapSchemaExporter.cs
- WindowsTitleBar.cs
- ListViewDeletedEventArgs.cs
- Pts.cs
- FactoryRecord.cs
- Misc.cs
- ModifierKeysConverter.cs
- ToolStripItemImageRenderEventArgs.cs
- ServiceModelEnumValidator.cs
- ServerIdentity.cs
- XmlValueConverter.cs
- NativeMethods.cs
- ScriptingSectionGroup.cs
- SeparatorAutomationPeer.cs
- NamespaceEmitter.cs
- NavigationPropertyEmitter.cs
- XmlSchemaComplexType.cs
- InplaceBitmapMetadataWriter.cs
- EntityDataSourceWrapper.cs
- TreeViewImageIndexConverter.cs
- PromptStyle.cs
- StatusBar.cs
- PerformanceCounterManager.cs
- GridPattern.cs
- SpecialFolderEnumConverter.cs
- DataGridViewIntLinkedList.cs
- MultiTouchSystemGestureLogic.cs
- MethodBuilder.cs
- LoadGrammarCompletedEventArgs.cs
- ErrorRuntimeConfig.cs
- SqlNotificationEventArgs.cs
- SchemaImporterExtensionsSection.cs
- EnumValAlphaComparer.cs
- XmlMtomReader.cs
- BitmapCacheBrush.cs
- Util.cs
- WorkflowMarkupSerializationManager.cs
- PartialCachingAttribute.cs
- PathSegmentCollection.cs
- __TransparentProxy.cs
- SystemIcmpV6Statistics.cs
- XmlSchemaFacet.cs
- CurrentTimeZone.cs
- DataGridViewAccessibleObject.cs
- Emitter.cs
- WaitHandle.cs
- KeyMatchBuilder.cs
- wmiprovider.cs
- StrokeRenderer.cs
- RegistryKey.cs
- OutgoingWebResponseContext.cs
- Int64.cs
- CharacterMetricsDictionary.cs
- COAUTHIDENTITY.cs
- PickBranchDesigner.xaml.cs
- GridItem.cs
- OrthographicCamera.cs
- SerializationInfoEnumerator.cs
- Html32TextWriter.cs
- ConnectionStringSettingsCollection.cs
- CombinedGeometry.cs
- WebRequest.cs