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
- RichTextBoxContextMenu.cs
- ProgressBarHighlightConverter.cs
- MailDefinition.cs
- UnsafeNetInfoNativeMethods.cs
- HierarchicalDataSourceControl.cs
- RequestStatusBarUpdateEventArgs.cs
- ArgumentNullException.cs
- COM2TypeInfoProcessor.cs
- RewritingValidator.cs
- PropertyToken.cs
- WebPermission.cs
- _OSSOCK.cs
- C14NUtil.cs
- ClientConfigPaths.cs
- CompiledRegexRunnerFactory.cs
- UnlockInstanceCommand.cs
- DataGridViewColumnCollection.cs
- ComponentChangingEvent.cs
- CryptoStream.cs
- NullableFloatAverageAggregationOperator.cs
- XmlMembersMapping.cs
- WebPartAuthorizationEventArgs.cs
- ContactManager.cs
- SqlCacheDependency.cs
- DesignDataSource.cs
- ErrorFormatterPage.cs
- WebPartUtil.cs
- EventItfInfo.cs
- XsltFunctions.cs
- TreeViewTemplateSelector.cs
- DependencyObjectValidator.cs
- MessageQueue.cs
- MessageAction.cs
- PlanCompiler.cs
- WebPartManagerInternals.cs
- SQLGuidStorage.cs
- EntityClassGenerator.cs
- SqlConnectionStringBuilder.cs
- EventRoute.cs
- DeflateStream.cs
- LogLogRecordEnumerator.cs
- Model3D.cs
- Frame.cs
- BatchParser.cs
- Converter.cs
- ReflectionHelper.cs
- MethodToken.cs
- XmlUrlEditor.cs
- FullTextLine.cs
- TreeChangeInfo.cs
- SharedStatics.cs
- PrtTicket_Public.cs
- CategoryGridEntry.cs
- FileLoadException.cs
- WebReferenceOptions.cs
- SettingsProviderCollection.cs
- LicenseContext.cs
- TextBoxRenderer.cs
- DynamicValidatorEventArgs.cs
- WebPartManagerInternals.cs
- ReadWriteSpinLock.cs
- BinaryConverter.cs
- Site.cs
- StreamWriter.cs
- Binding.cs
- SafeRegistryHandle.cs
- Root.cs
- brushes.cs
- LongValidator.cs
- UnsafeNativeMethods.cs
- ClientSettings.cs
- SendingRequestEventArgs.cs
- HandoffBehavior.cs
- AssociationType.cs
- CheckoutException.cs
- safex509handles.cs
- WhitespaceRuleLookup.cs
- WindowsUpDown.cs
- SmiRequestExecutor.cs
- ValidationEventArgs.cs
- GenericQueueSurrogate.cs
- DateTimeOffset.cs
- ValueUtilsSmi.cs
- KeyedCollection.cs
- Button.cs
- GridLengthConverter.cs
- MethodBody.cs
- BindingMemberInfo.cs
- DataGridViewImageCell.cs
- WebMessageEncoderFactory.cs
- ErrorRuntimeConfig.cs
- Form.cs
- Encoder.cs
- ProcessHost.cs
- AppLevelCompilationSectionCache.cs
- Function.cs
- ZipIOModeEnforcingStream.cs
- DataGridViewComboBoxColumn.cs
- ButtonField.cs
- XsltOutput.cs