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
- WorkflowTraceTransfer.cs
- ServiceOperationParameter.cs
- MailAddressCollection.cs
- CurrentChangingEventManager.cs
- CompilationSection.cs
- DefaultEventAttribute.cs
- DesignerAutoFormatStyle.cs
- PointCollection.cs
- CompiledIdentityConstraint.cs
- CodeIdentifiers.cs
- VarInfo.cs
- RuntimeHandles.cs
- XmlNamespaceDeclarationsAttribute.cs
- StreamWriter.cs
- objectresult_tresulttype.cs
- EDesignUtil.cs
- BuildProvider.cs
- ErrorWrapper.cs
- BuildManagerHost.cs
- ExpanderAutomationPeer.cs
- CollectionView.cs
- shaperfactory.cs
- PeerTransportCredentialType.cs
- BitmapPalette.cs
- ImageResources.Designer.cs
- WorkflowServiceNamespace.cs
- CacheSection.cs
- TemplateControlCodeDomTreeGenerator.cs
- BatchParser.cs
- HelpEvent.cs
- FixedSOMTable.cs
- CaseInsensitiveHashCodeProvider.cs
- ThreadExceptionEvent.cs
- XmlSecureResolver.cs
- Grid.cs
- CodeSnippetStatement.cs
- DictionarySurrogate.cs
- UnsafeNativeMethods.cs
- ProtocolReflector.cs
- SmiEventSink.cs
- NamespaceEmitter.cs
- IISUnsafeMethods.cs
- TextRangeEdit.cs
- TreeViewImageKeyConverter.cs
- MethodBody.cs
- ThemeableAttribute.cs
- GacUtil.cs
- Clock.cs
- DataSourceControlBuilder.cs
- PageBreakRecord.cs
- processwaithandle.cs
- RelationshipConverter.cs
- Stack.cs
- XhtmlConformanceSection.cs
- ValidationSummary.cs
- MediaContext.cs
- SystemWebCachingSectionGroup.cs
- ScriptMethodAttribute.cs
- XmlAggregates.cs
- ResourcePermissionBaseEntry.cs
- Oid.cs
- HostingMessageProperty.cs
- OperationPickerDialog.cs
- InfoCardRequestException.cs
- Encoder.cs
- ProtocolsConfiguration.cs
- ToolStripProgressBar.cs
- DataGridViewColumnCollection.cs
- ServiceModelExtensionCollectionElement.cs
- IndexOutOfRangeException.cs
- Exceptions.cs
- NamedPipeTransportElement.cs
- DialogResultConverter.cs
- WebPartAddingEventArgs.cs
- TreeViewImageGenerator.cs
- RegexRunner.cs
- ClientConfigPaths.cs
- NetworkInformationPermission.cs
- FormCollection.cs
- SapiRecognizer.cs
- TrackPointCollection.cs
- CounterCreationDataCollection.cs
- EnlistmentState.cs
- EntryWrittenEventArgs.cs
- DocumentReferenceCollection.cs
- _IPv4Address.cs
- XsdDuration.cs
- CacheEntry.cs
- ListChunk.cs
- InputScopeAttribute.cs
- TagNameToTypeMapper.cs
- PrePrepareMethodAttribute.cs
- Int32CollectionConverter.cs
- ISFTagAndGuidCache.cs
- DurationConverter.cs
- WebPartConnectionsEventArgs.cs
- VirtualPathUtility.cs
- GridViewItemAutomationPeer.cs
- SeparatorAutomationPeer.cs
- ListDesigner.cs