Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / GeometryCombineModeValidation.cs / 1305600 / 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
- XmlHierarchicalEnumerable.cs
- SmtpDigestAuthenticationModule.cs
- Button.cs
- MimeFormatExtensions.cs
- HttpHandlersSection.cs
- ResourceSet.cs
- XsdDateTime.cs
- ResizingMessageFilter.cs
- WorkerRequest.cs
- BrowserCapabilitiesCompiler.cs
- WebPartConnectionsDisconnectVerb.cs
- XamlReader.cs
- WindowsScrollBar.cs
- DesignOnlyAttribute.cs
- EdmPropertyAttribute.cs
- FileDocument.cs
- HashCodeCombiner.cs
- GcSettings.cs
- SoapIgnoreAttribute.cs
- PageThemeBuildProvider.cs
- HttpApplicationFactory.cs
- AppDomainFactory.cs
- DbTypeMap.cs
- GAC.cs
- StorageConditionPropertyMapping.cs
- StringKeyFrameCollection.cs
- TreeNodeMouseHoverEvent.cs
- ConstraintCollection.cs
- CalendarDesigner.cs
- storepermission.cs
- ClusterRegistryConfigurationProvider.cs
- CornerRadiusConverter.cs
- InertiaExpansionBehavior.cs
- WebPartsSection.cs
- IdentityNotMappedException.cs
- LazyTextWriterCreator.cs
- ConnectionManager.cs
- DocumentViewerAutomationPeer.cs
- DynamicUpdateCommand.cs
- MethodExecutor.cs
- TextContainerChangeEventArgs.cs
- XmlDomTextWriter.cs
- InternalResources.cs
- DateTimeSerializationSection.cs
- PersonalizationEntry.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ToolStripActionList.cs
- XMLSchema.cs
- RuntimeVariableList.cs
- Underline.cs
- SqlTypeSystemProvider.cs
- Glyph.cs
- DocumentationServerProtocol.cs
- ContainsRowNumberChecker.cs
- ImportRequest.cs
- XmlFormatWriterGenerator.cs
- ServiceTimeoutsBehavior.cs
- MultiBinding.cs
- ControlCodeDomSerializer.cs
- UrlPath.cs
- ComponentChangedEvent.cs
- CFStream.cs
- DataGridViewLinkCell.cs
- EventLogPermissionHolder.cs
- DynamicArgumentDesigner.xaml.cs
- XmlSchemaObject.cs
- ClientProxyGenerator.cs
- PeerNeighborManager.cs
- XsltSettings.cs
- BindingMAnagerBase.cs
- DataRecord.cs
- PatternMatcher.cs
- ToolStripSeparator.cs
- WebBrowserPermission.cs
- SurrogateSelector.cs
- Emitter.cs
- IDispatchConstantAttribute.cs
- CanonicalFontFamilyReference.cs
- XamlTemplateSerializer.cs
- SafeFileHandle.cs
- ScopelessEnumAttribute.cs
- PreloadedPackages.cs
- GetTokenRequest.cs
- Serializer.cs
- ToolboxDataAttribute.cs
- XmlAnyAttributeAttribute.cs
- ListViewDataItem.cs
- AtomMaterializer.cs
- SoapEnumAttribute.cs
- OrderedDictionary.cs
- TableRow.cs
- ProxyManager.cs
- LinkClickEvent.cs
- PriorityBinding.cs
- DbProviderConfigurationHandler.cs
- ReadOnlyHierarchicalDataSource.cs
- XmlCustomFormatter.cs
- SamlAttributeStatement.cs
- DataContractAttribute.cs
- DecoderFallback.cs