Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- XmlDataProvider.cs
- LicFileLicenseProvider.cs
- RuntimeHelpers.cs
- TrustLevel.cs
- CompilerCollection.cs
- TriggerActionCollection.cs
- GridPatternIdentifiers.cs
- Parameter.cs
- HWStack.cs
- CodeStatement.cs
- MSAAEventDispatcher.cs
- JsonWriter.cs
- CalendarTable.cs
- HtmlForm.cs
- CallbackValidator.cs
- PropertyReferenceExtension.cs
- ConnectionStringSettings.cs
- DelegateTypeInfo.cs
- ExtensionQuery.cs
- TitleStyle.cs
- AssociationType.cs
- XmlElement.cs
- IsolatedStorageFileStream.cs
- TraversalRequest.cs
- JsonXmlDataContract.cs
- BCryptHashAlgorithm.cs
- OleDbConnectionFactory.cs
- NetPeerTcpBinding.cs
- HttpHeaderCollection.cs
- XPathCompileException.cs
- NetworkInformationPermission.cs
- UserMapPath.cs
- GroupByExpressionRewriter.cs
- HotSpot.cs
- AsyncOperationManager.cs
- XamlStyleSerializer.cs
- RenderDataDrawingContext.cs
- IndexOutOfRangeException.cs
- UmAlQuraCalendar.cs
- CachingHintValidation.cs
- GregorianCalendar.cs
- Evaluator.cs
- DictionarySectionHandler.cs
- DiscoveryUtility.cs
- ListControlConvertEventArgs.cs
- indexingfiltermarshaler.cs
- TemplatedWizardStep.cs
- XmlLoader.cs
- InputScopeNameConverter.cs
- TextLineResult.cs
- Drawing.cs
- CacheSection.cs
- DecoderFallbackWithFailureFlag.cs
- NativeCppClassAttribute.cs
- RepeatButtonAutomationPeer.cs
- ColorTranslator.cs
- RemoteEndpointMessageProperty.cs
- WebServiceResponseDesigner.cs
- AutoSizeToolBoxItem.cs
- WinFormsComponentEditor.cs
- NetworkAddressChange.cs
- Color.cs
- DataGridViewControlCollection.cs
- ConsumerConnectionPoint.cs
- XmlDomTextWriter.cs
- ServiceDescriptionReflector.cs
- GlobalAllocSafeHandle.cs
- MemoryStream.cs
- ImageResources.Designer.cs
- NetMsmqBinding.cs
- FrameworkRichTextComposition.cs
- TableRow.cs
- MouseCaptureWithinProperty.cs
- ToolStripControlHost.cs
- JsonWriter.cs
- GradientBrush.cs
- FilterQuery.cs
- PathFigureCollection.cs
- XmlSchemaGroup.cs
- Subset.cs
- BamlCollectionHolder.cs
- ItemPager.cs
- DataGridViewTextBoxColumn.cs
- StreamReader.cs
- FacetValues.cs
- SpotLight.cs
- XmlSchemaRedefine.cs
- BehaviorEditorPart.cs
- DataRow.cs
- SizeConverter.cs
- Transform3D.cs
- HtmlToClrEventProxy.cs
- AdRotator.cs
- RegexCapture.cs
- WindowsIdentity.cs
- ClientConfigPaths.cs
- WebBrowserUriTypeConverter.cs
- _UriSyntax.cs
- log.cs
- XmlComplianceUtil.cs