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
- PopupControlService.cs
- ValueConversionAttribute.cs
- MimeTypeMapper.cs
- WizardPanel.cs
- TransactionFlowOption.cs
- IdentityNotMappedException.cs
- DataServiceQueryOfT.cs
- DataView.cs
- UnaryNode.cs
- EnumValAlphaComparer.cs
- HandlerElementCollection.cs
- MSHTMLHost.cs
- MetaTable.cs
- LogicalExpr.cs
- CollectionMarkupSerializer.cs
- DBSchemaTable.cs
- IPipelineRuntime.cs
- PointLight.cs
- WebBrowserBase.cs
- NotEqual.cs
- XmlSubtreeReader.cs
- WebBrowserNavigatingEventHandler.cs
- X509Certificate2Collection.cs
- DivideByZeroException.cs
- Compensation.cs
- ResourceDisplayNameAttribute.cs
- FieldInfo.cs
- WpfPayload.cs
- IntSecurity.cs
- BookmarkScopeManager.cs
- DateTimeOffsetConverter.cs
- MenuScrollingVisibilityConverter.cs
- DriveNotFoundException.cs
- LinqDataView.cs
- QuaternionAnimation.cs
- ADMembershipUser.cs
- Stream.cs
- ChildTable.cs
- InstallerTypeAttribute.cs
- PerfProviderCollection.cs
- CharAnimationBase.cs
- NamedPipeConnectionPoolSettings.cs
- CheckBox.cs
- Camera.cs
- GridItemProviderWrapper.cs
- OdbcConnection.cs
- EntityClientCacheEntry.cs
- XmlEntityReference.cs
- DetailsViewUpdatedEventArgs.cs
- PageRequestManager.cs
- KeyTime.cs
- ToolStripTextBox.cs
- ComponentEvent.cs
- XmlSchemaAnnotated.cs
- DefaultMemberAttribute.cs
- FilterQueryOptionExpression.cs
- InstanceDescriptor.cs
- Effect.cs
- DesignerForm.cs
- HexParser.cs
- MergeLocalizationDirectives.cs
- XmlCollation.cs
- Queue.cs
- FunctionUpdateCommand.cs
- CompositeFontFamily.cs
- SortKey.cs
- SHA256CryptoServiceProvider.cs
- SAPIEngineTypes.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- DeadCharTextComposition.cs
- MaskPropertyEditor.cs
- StartUpEventArgs.cs
- RawStylusInputCustomData.cs
- DataGridItemCollection.cs
- DataGridAddNewRow.cs
- MailBnfHelper.cs
- ItemContainerGenerator.cs
- InplaceBitmapMetadataWriter.cs
- NGCSerializationManager.cs
- ExtractedStateEntry.cs
- ConfigXmlCDataSection.cs
- ListDictionary.cs
- AutomationAttributeInfo.cs
- GC.cs
- nulltextcontainer.cs
- JoinSymbol.cs
- ScrollBarRenderer.cs
- GenerateTemporaryAssemblyTask.cs
- RequestQueue.cs
- PnrpPeerResolverElement.cs
- SizeChangedEventArgs.cs
- MultiBinding.cs
- XamlSerializationHelper.cs
- infer.cs
- SerialErrors.cs
- SimpleType.cs
- IChannel.cs
- XamlToRtfParser.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DocumentStream.cs