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
- CommandValueSerializer.cs
- ParserExtension.cs
- Accessible.cs
- InvalidPropValue.cs
- Char.cs
- SapiAttributeParser.cs
- ChtmlFormAdapter.cs
- SchemaSetCompiler.cs
- TemplateBaseAction.cs
- SettingsPropertyWrongTypeException.cs
- xmlformatgeneratorstatics.cs
- WarningException.cs
- SpecularMaterial.cs
- connectionpool.cs
- WasAdminWrapper.cs
- QuinticEase.cs
- EntityDataSourceView.cs
- COM2ExtendedBrowsingHandler.cs
- TrustLevelCollection.cs
- FaultFormatter.cs
- JoinGraph.cs
- ListViewItemSelectionChangedEvent.cs
- CngAlgorithm.cs
- xamlnodes.cs
- BindableTemplateBuilder.cs
- NullReferenceException.cs
- ComPlusAuthorization.cs
- DateTimeEditor.cs
- MultipartIdentifier.cs
- ContractsBCL.cs
- XPathNode.cs
- TransformerInfoCollection.cs
- DateTimeFormatInfo.cs
- ISAPIWorkerRequest.cs
- DotExpr.cs
- DefaultValueTypeConverter.cs
- ValidationResult.cs
- MdiWindowListItemConverter.cs
- LinqDataSourceSelectEventArgs.cs
- DeflateStream.cs
- ComplexLine.cs
- HelpInfo.cs
- XhtmlBasicTextViewAdapter.cs
- WindowsTokenRoleProvider.cs
- WindowHideOrCloseTracker.cs
- SoapTypeAttribute.cs
- SqlCommand.cs
- SoapSchemaImporter.cs
- XamlToRtfParser.cs
- MediaContextNotificationWindow.cs
- UserControlBuildProvider.cs
- Light.cs
- CodeTypeReferenceCollection.cs
- BitmapData.cs
- UiaCoreProviderApi.cs
- ProtectedConfigurationProviderCollection.cs
- AesCryptoServiceProvider.cs
- RangeBaseAutomationPeer.cs
- DisposableCollectionWrapper.cs
- TreeNodeBinding.cs
- Stylesheet.cs
- Helpers.cs
- MediaContextNotificationWindow.cs
- Inline.cs
- MarginCollapsingState.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- RegularExpressionValidator.cs
- BackStopAuthenticationModule.cs
- HtmlInputRadioButton.cs
- RoleService.cs
- XmlAggregates.cs
- QueryOperator.cs
- FrameworkContentElementAutomationPeer.cs
- RawStylusActions.cs
- ObjectDataSourceMethodEventArgs.cs
- TextDecoration.cs
- WindowsFormsSynchronizationContext.cs
- ExtractorMetadata.cs
- MetadataCacheItem.cs
- WebExceptionStatus.cs
- MaskDescriptor.cs
- WorkflowElementDialog.cs
- ToggleButtonAutomationPeer.cs
- DataGridViewIntLinkedList.cs
- PenLineJoinValidation.cs
- XmlSignificantWhitespace.cs
- PathNode.cs
- AppSecurityManager.cs
- TaskHelper.cs
- QilScopedVisitor.cs
- TextFragmentEngine.cs
- ProcessRequestArgs.cs
- WeakReferenceList.cs
- ResourceDescriptionAttribute.cs
- IdentityHolder.cs
- TableLayoutPanel.cs
- ExtenderProvidedPropertyAttribute.cs
- PropertyPathWorker.cs
- Propagator.Evaluator.cs
- RedistVersionInfo.cs