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
- AnimationStorage.cs
- TypeLoadException.cs
- Visual3D.cs
- Evaluator.cs
- Timer.cs
- CollectionViewProxy.cs
- TreeSet.cs
- UnsafeNativeMethodsCLR.cs
- PropertyEmitter.cs
- LocationUpdates.cs
- XmlSignificantWhitespace.cs
- UnsafeNativeMethodsPenimc.cs
- AnnotationMap.cs
- SafeEventLogWriteHandle.cs
- DomainUpDown.cs
- StructuralObject.cs
- BitmapEffectInputConnector.cs
- Asn1IntegerConverter.cs
- TextTreeRootNode.cs
- DrawingDrawingContext.cs
- PointCollection.cs
- MailMessageEventArgs.cs
- NodeLabelEditEvent.cs
- SendKeys.cs
- ConfigurationSection.cs
- ConnectionPoint.cs
- EventSinkHelperWriter.cs
- HttpCapabilitiesEvaluator.cs
- XmlSchemaProviderAttribute.cs
- EntityConnectionStringBuilder.cs
- WindowClosedEventArgs.cs
- SerializationEventsCache.cs
- CodeAttributeArgument.cs
- EdmToObjectNamespaceMap.cs
- TrackingQuery.cs
- KeyPressEvent.cs
- HostingEnvironmentException.cs
- PointLight.cs
- Matrix3DConverter.cs
- CalendarDataBindingHandler.cs
- WebServiceResponse.cs
- ConfigViewGenerator.cs
- ToolStripPanelRenderEventArgs.cs
- SubpageParaClient.cs
- SerialPinChanges.cs
- TextRunTypographyProperties.cs
- TextStore.cs
- XmlSchemaCompilationSettings.cs
- ThicknessAnimationBase.cs
- ModuleElement.cs
- CorrelationValidator.cs
- GPPOINTF.cs
- LinearKeyFrames.cs
- EndSelectCardRequest.cs
- ControllableStoryboardAction.cs
- SimpleHandlerFactory.cs
- ItemAutomationPeer.cs
- GeometryCollection.cs
- DateTimeConverter.cs
- Point4DConverter.cs
- FieldMetadata.cs
- TcpClientSocketManager.cs
- TypeBuilder.cs
- SByteStorage.cs
- DispatchChannelSink.cs
- FixedSOMTableCell.cs
- StorageEndPropertyMapping.cs
- DSACryptoServiceProvider.cs
- LogArchiveSnapshot.cs
- WindowsFormsHelpers.cs
- ListGeneralPage.cs
- NumericUpDownAccelerationCollection.cs
- RuntimeIdentifierPropertyAttribute.cs
- Regex.cs
- Label.cs
- ObjectFullSpanRewriter.cs
- IdentityModelStringsVersion1.cs
- TreeNodeBindingCollection.cs
- HttpListener.cs
- DateTimeValueSerializerContext.cs
- RoutedEventArgs.cs
- SwitchExpression.cs
- DataSourceProvider.cs
- ISO2022Encoding.cs
- HostingEnvironment.cs
- FormsAuthentication.cs
- RetriableClipboard.cs
- ReaderWriterLock.cs
- DesignerToolStripControlHost.cs
- TextPointerBase.cs
- AlphabeticalEnumConverter.cs
- RewritingSimplifier.cs
- XmlSchemaObjectCollection.cs
- Wildcard.cs
- SHA256.cs
- HtmlDocument.cs
- UIHelper.cs
- HierarchicalDataTemplate.cs
- KeyManager.cs
- ConstrainedDataObject.cs