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
- CharacterString.cs
- ConstructorNeedsTagAttribute.cs
- XmlnsPrefixAttribute.cs
- XmlWriterTraceListener.cs
- DataTableExtensions.cs
- ProviderUtil.cs
- CellTreeNode.cs
- DrawingGroupDrawingContext.cs
- SmiContextFactory.cs
- InputBindingCollection.cs
- CommandValueSerializer.cs
- PlanCompilerUtil.cs
- CodeIdentifiers.cs
- Helpers.cs
- UrlAuthorizationModule.cs
- OutputScopeManager.cs
- MustUnderstandSoapException.cs
- LayoutTableCell.cs
- ConvertEvent.cs
- InvokeSchedule.cs
- IssuanceLicense.cs
- TextSelectionProcessor.cs
- AutoFocusStyle.xaml.cs
- WebPartDisplayModeEventArgs.cs
- EntityKeyElement.cs
- MulticastOption.cs
- CompilerScopeManager.cs
- HtmlElementErrorEventArgs.cs
- RedirectionProxy.cs
- ComponentResourceKeyConverter.cs
- XmlMemberMapping.cs
- ByteStreamGeometryContext.cs
- DataBoundControlDesigner.cs
- PriorityChain.cs
- ImagingCache.cs
- CustomDictionarySources.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- InstanceHandleReference.cs
- ListBoxDesigner.cs
- ValidationException.cs
- PersonalizationProvider.cs
- NameSpaceEvent.cs
- StoryFragments.cs
- GroupItem.cs
- ipaddressinformationcollection.cs
- _HeaderInfo.cs
- SqlErrorCollection.cs
- NamedPipeActivation.cs
- CompensationParticipant.cs
- SecurityPolicySection.cs
- Encoding.cs
- MLangCodePageEncoding.cs
- SimpleBitVector32.cs
- SchemaCreator.cs
- ListViewSortEventArgs.cs
- TreeNode.cs
- DesignerActionUIService.cs
- SemanticAnalyzer.cs
- DictionaryCustomTypeDescriptor.cs
- HttpCapabilitiesEvaluator.cs
- PropVariant.cs
- OpCellTreeNode.cs
- SettingsPropertyIsReadOnlyException.cs
- InheritanceContextChangedEventManager.cs
- glyphs.cs
- ScriptReferenceBase.cs
- XmlSchemaGroupRef.cs
- SqlDataReader.cs
- DataStorage.cs
- RuntimeVariableList.cs
- EntityStoreSchemaFilterEntry.cs
- RemoteWebConfigurationHost.cs
- HTMLTagNameToTypeMapper.cs
- StorageSetMapping.cs
- GeneralTransformGroup.cs
- RequestUriProcessor.cs
- ParallelActivityDesigner.cs
- BinaryFormatter.cs
- StopRoutingHandler.cs
- WorkflowDefinitionContext.cs
- PagesChangedEventArgs.cs
- ClientConfigurationHost.cs
- MarkerProperties.cs
- elementinformation.cs
- IisTraceWebEventProvider.cs
- StickyNoteAnnotations.cs
- KeyValueSerializer.cs
- DataSourceProvider.cs
- FunctionImportMapping.cs
- Light.cs
- TrackingStringDictionary.cs
- CodeAttributeDeclaration.cs
- _HeaderInfoTable.cs
- NumericUpDown.cs
- WindowsImpersonationContext.cs
- IndexingContentUnit.cs
- dataSvcMapFileLoader.cs
- ErrorFormatter.cs
- DataTableTypeConverter.cs
- DataGridViewLinkColumn.cs