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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScrollProperties.cs
- SQLUtility.cs
- TextEditorSelection.cs
- StringConverter.cs
- TreeNodeEventArgs.cs
- SafeUserTokenHandle.cs
- CompilerWrapper.cs
- FakeModelItemImpl.cs
- _DigestClient.cs
- MessagePropertyVariants.cs
- ADMembershipProvider.cs
- FramingChannels.cs
- ConfigXmlCDataSection.cs
- GridViewRow.cs
- DecoderNLS.cs
- TypeHelper.cs
- AsnEncodedData.cs
- DataRecordInfo.cs
- FixedSOMGroup.cs
- DefaultSerializationProviderAttribute.cs
- LogWriteRestartAreaAsyncResult.cs
- XmlSchemaSimpleContentRestriction.cs
- CipherData.cs
- Token.cs
- TransformerInfo.cs
- PrincipalPermission.cs
- StubHelpers.cs
- ByteViewer.cs
- TraceProvider.cs
- CultureTable.cs
- AttachedAnnotation.cs
- ButtonFlatAdapter.cs
- ParserExtension.cs
- SoapBinding.cs
- AuthorizationRuleCollection.cs
- HwndKeyboardInputProvider.cs
- SqlInternalConnectionTds.cs
- BCryptNative.cs
- XmlObjectSerializerReadContextComplexJson.cs
- DataObjectPastingEventArgs.cs
- Number.cs
- ByteStream.cs
- EdmFunction.cs
- WmpBitmapEncoder.cs
- DictionaryBase.cs
- XmlCustomFormatter.cs
- KeyValuePair.cs
- MSAAEventDispatcher.cs
- brushes.cs
- BuildDependencySet.cs
- OleDbParameterCollection.cs
- KnownAssembliesSet.cs
- SizeConverter.cs
- dataprotectionpermissionattribute.cs
- QueryStringParameter.cs
- HyperLink.cs
- PeerName.cs
- WinFormsSecurity.cs
- ProtectedConfiguration.cs
- Attributes.cs
- ProviderUtil.cs
- SoapExtensionImporter.cs
- ClientSection.cs
- OracleRowUpdatedEventArgs.cs
- Calendar.cs
- GlobalProxySelection.cs
- Identity.cs
- NewItemsContextMenuStrip.cs
- _UriSyntax.cs
- VariableExpressionConverter.cs
- ArrayMergeHelper.cs
- GenericPrincipal.cs
- BasicExpressionVisitor.cs
- CustomAssemblyResolver.cs
- SqlNode.cs
- WebPartCatalogCloseVerb.cs
- XsdValidatingReader.cs
- FeatureAttribute.cs
- Journal.cs
- wmiutil.cs
- FrameworkReadOnlyPropertyMetadata.cs
- AsyncResult.cs
- SslStream.cs
- SecUtil.cs
- WpfWebRequestHelper.cs
- HttpModuleAction.cs
- LocationUpdates.cs
- FigureParaClient.cs
- MediaContext.cs
- CodeBinaryOperatorExpression.cs
- OledbConnectionStringbuilder.cs
- ZipPackagePart.cs
- GetFileNameResult.cs
- LogicalExpr.cs
- OleDbWrapper.cs
- VisualStyleElement.cs
- GorillaCodec.cs
- Selector.cs
- HTMLTextWriter.cs
- HtmlInputReset.cs