Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AuthenticatedStream.cs
- ActivityCodeDomSerializer.cs
- PipelineModuleStepContainer.cs
- CodeIdentifiers.cs
- UrlMapping.cs
- GeometryConverter.cs
- CatalogZoneBase.cs
- PanningMessageFilter.cs
- CopyNodeSetAction.cs
- SimpleWebHandlerParser.cs
- TransformationRules.cs
- InputProviderSite.cs
- DataObjectFieldAttribute.cs
- DrawTreeNodeEventArgs.cs
- CodeMemberEvent.cs
- FontNamesConverter.cs
- XmlIncludeAttribute.cs
- CodeAccessSecurityEngine.cs
- DrawingCollection.cs
- ProxyWebPart.cs
- ObjectStateManager.cs
- GridViewActionList.cs
- CryptoProvider.cs
- StructuralComparisons.cs
- ClientBuildManagerCallback.cs
- BaseProcessProtocolHandler.cs
- WebPartTransformer.cs
- NamedPipeConnectionPoolSettings.cs
- PrtCap_Builder.cs
- ProvidersHelper.cs
- FlowDocumentFormatter.cs
- CodeSnippetCompileUnit.cs
- NamespaceList.cs
- LinkLabel.cs
- FormDesigner.cs
- WebPartZoneCollection.cs
- CodeAttributeDeclarationCollection.cs
- CallTemplateAction.cs
- IisTraceWebEventProvider.cs
- UrlEncodedParameterWriter.cs
- DataSourceControl.cs
- SortQuery.cs
- BorderGapMaskConverter.cs
- CompiledIdentityConstraint.cs
- Point3DCollection.cs
- CodeNamespaceImportCollection.cs
- CodeObjectCreateExpression.cs
- Pool.cs
- DummyDataSource.cs
- EditorZone.cs
- C14NUtil.cs
- HasCopySemanticsAttribute.cs
- FrugalMap.cs
- SessionPageStatePersister.cs
- CompositeActivityDesigner.cs
- RuleInfoComparer.cs
- CodeSnippetExpression.cs
- SendParametersContent.cs
- ReflectEventDescriptor.cs
- SafeUserTokenHandle.cs
- SqlGatherConsumedAliases.cs
- CompiledAction.cs
- TreeBuilderBamlTranslator.cs
- SiteMapDataSource.cs
- DesignBindingPicker.cs
- ClearCollection.cs
- InstanceDataCollectionCollection.cs
- DataPagerCommandEventArgs.cs
- Binding.cs
- LocalizableAttribute.cs
- SimpleType.cs
- HandleCollector.cs
- XmlSchemaSimpleType.cs
- ViewEventArgs.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- DefaultAsyncDataDispatcher.cs
- DataGridViewTextBoxCell.cs
- ExtensionCollection.cs
- CultureData.cs
- VsPropertyGrid.cs
- DispatcherEventArgs.cs
- RepeatInfo.cs
- TableCell.cs
- UrlMappingsModule.cs
- ContractCodeDomInfo.cs
- MarkupObject.cs
- InvalidOperationException.cs
- CodeTypeMember.cs
- KeyConverter.cs
- DesignerActionMethodItem.cs
- SqlServer2KCompatibilityAnnotation.cs
- StandardTransformFactory.cs
- List.cs
- DriveInfo.cs
- XmlEntityReference.cs
- SafeProcessHandle.cs
- Matrix3DStack.cs
- ObjectDataProvider.cs
- NetTcpSecurityElement.cs
- LinkArea.cs