Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ObjectSet.cs
- SqlClientFactory.cs
- SizeIndependentAnimationStorage.cs
- CopyNodeSetAction.cs
- Error.cs
- Literal.cs
- CustomExpressionEventArgs.cs
- ImageFormat.cs
- SqlCaseSimplifier.cs
- ConfigurationValue.cs
- DropDownList.cs
- StreamResourceInfo.cs
- Ipv6Element.cs
- ReturnValue.cs
- ScrollBarRenderer.cs
- RemoteWebConfigurationHostStream.cs
- OpCodes.cs
- AttributeProviderAttribute.cs
- DefaultTextStoreTextComposition.cs
- UserControlBuildProvider.cs
- SmiEventStream.cs
- Point.cs
- ListViewHitTestInfo.cs
- documentation.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- KeyEvent.cs
- OciEnlistContext.cs
- BinaryNode.cs
- LinearGradientBrush.cs
- OleDbWrapper.cs
- Pkcs7Signer.cs
- UndoManager.cs
- DataGridViewUtilities.cs
- TextFormatterImp.cs
- DrawingImage.cs
- XhtmlBasicFormAdapter.cs
- TreeBuilder.cs
- Single.cs
- AssemblyResourceLoader.cs
- SmiContextFactory.cs
- InputScopeConverter.cs
- FloaterParaClient.cs
- AliasedExpr.cs
- StringSource.cs
- DataGridState.cs
- CompositeActivityCodeGenerator.cs
- CapabilitiesRule.cs
- _ListenerRequestStream.cs
- XamlTreeBuilder.cs
- ObjectReaderCompiler.cs
- SystemParameters.cs
- EntityDataSourceSelectedEventArgs.cs
- Line.cs
- MouseGesture.cs
- HttpInputStream.cs
- WmlPhoneCallAdapter.cs
- Compress.cs
- MethodBuilderInstantiation.cs
- StyleModeStack.cs
- CheckBoxAutomationPeer.cs
- categoryentry.cs
- RunClient.cs
- XmlParser.cs
- DesignerAdRotatorAdapter.cs
- FileRecordSequence.cs
- ItemContainerPattern.cs
- DateTimeStorage.cs
- Monitor.cs
- HttpCacheParams.cs
- ArgumentOutOfRangeException.cs
- StorageComplexPropertyMapping.cs
- TdsRecordBufferSetter.cs
- NameValuePair.cs
- CodeTypeConstructor.cs
- EventLogHandle.cs
- SecurityDocument.cs
- EditingMode.cs
- IDReferencePropertyAttribute.cs
- HtmlFormWrapper.cs
- ZipIOExtraFieldPaddingElement.cs
- AdapterDictionary.cs
- SiteMapNodeItemEventArgs.cs
- XmlEncodedRawTextWriter.cs
- BitmapEffectInputConnector.cs
- X509CertificateRecipientServiceCredential.cs
- __ConsoleStream.cs
- Vector3DCollectionConverter.cs
- AbandonedMutexException.cs
- Effect.cs
- FrameworkContentElement.cs
- RelationshipDetailsRow.cs
- InertiaExpansionBehavior.cs
- Imaging.cs
- CodeLabeledStatement.cs
- GridViewRowPresenter.cs
- CategoryGridEntry.cs
- AutomationEvent.cs
- SiblingIterators.cs
- EventData.cs
- HttpApplicationFactory.cs