Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / 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 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. //---------------------------------------------------------------------------- // //// 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
- BaseCodeDomTreeGenerator.cs
- WeakReferenceKey.cs
- TableChangeProcessor.cs
- DesignColumn.cs
- BuildProviderCollection.cs
- TimeSpan.cs
- ControllableStoryboardAction.cs
- objectquery_tresulttype.cs
- X509PeerCertificateAuthenticationElement.cs
- EntityDescriptor.cs
- GraphicsContainer.cs
- DatagramAdapter.cs
- ProtocolsConfigurationEntry.cs
- compensatingcollection.cs
- ConfigurationSectionGroupCollection.cs
- DBDataPermissionAttribute.cs
- MethodBody.cs
- Rijndael.cs
- _ListenerAsyncResult.cs
- SchemaExporter.cs
- XPathBinder.cs
- MobileControl.cs
- StatusBar.cs
- Regex.cs
- SqlHelper.cs
- SecurityContextTokenCache.cs
- __Filters.cs
- WrappingXamlSchemaContext.cs
- DisposableCollectionWrapper.cs
- Root.cs
- CodeAccessPermission.cs
- TreeNodeBinding.cs
- XmlUTF8TextWriter.cs
- DataIdProcessor.cs
- InfoCardX509Validator.cs
- PrinterUnitConvert.cs
- JoinElimination.cs
- KeyNotFoundException.cs
- UserControlDocumentDesigner.cs
- _HeaderInfo.cs
- PngBitmapEncoder.cs
- FormatException.cs
- XpsStructure.cs
- EmbeddedMailObject.cs
- SiteMapNodeItemEventArgs.cs
- XmlArrayAttribute.cs
- View.cs
- Tile.cs
- RequestUriProcessor.cs
- SelectionRange.cs
- BitmapEncoder.cs
- RemotingConfiguration.cs
- SiteMapPath.cs
- SafeNativeMethodsCLR.cs
- ServiceObjectContainer.cs
- HTMLTagNameToTypeMapper.cs
- BufferedWebEventProvider.cs
- MemoryFailPoint.cs
- ListViewTableRow.cs
- DbReferenceCollection.cs
- ToolStripComboBox.cs
- WebControlAdapter.cs
- EntitySetBaseCollection.cs
- ConfigurationManager.cs
- DefaultPrintController.cs
- VariantWrapper.cs
- ButtonRenderer.cs
- FragmentQueryProcessor.cs
- ReachIDocumentPaginatorSerializer.cs
- CompiledXpathExpr.cs
- SizeConverter.cs
- SqlFormatter.cs
- PointIndependentAnimationStorage.cs
- JsonByteArrayDataContract.cs
- DrawingContext.cs
- SerTrace.cs
- HttpConfigurationContext.cs
- TextBoxRenderer.cs
- FloatUtil.cs
- FileLevelControlBuilderAttribute.cs
- SourceSwitch.cs
- DataGridViewHeaderCell.cs
- ExeContext.cs
- ResXBuildProvider.cs
- LogConverter.cs
- CustomAssemblyResolver.cs
- OLEDB_Enum.cs
- FileStream.cs
- OleDbConnection.cs
- CustomPopupPlacement.cs
- ListControlActionList.cs
- TextCollapsingProperties.cs
- contentDescriptor.cs
- TypeExtensions.cs
- MessageQueueInstaller.cs
- TargetControlTypeAttribute.cs
- StructuralComparisons.cs
- HwndHostAutomationPeer.cs
- TcpStreams.cs
- Sentence.cs