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
- DecodeHelper.cs
- Enlistment.cs
- webclient.cs
- Converter.cs
- CodePrimitiveExpression.cs
- PolyLineSegment.cs
- HandlerBase.cs
- _Connection.cs
- StringCollection.cs
- InternalDispatchObject.cs
- SystemKeyConverter.cs
- TriggerCollection.cs
- FrameworkPropertyMetadata.cs
- ScaleTransform3D.cs
- Baml2006ReaderFrame.cs
- PropertyMappingExceptionEventArgs.cs
- Parsers.cs
- SynchronizationScope.cs
- ConfigXmlComment.cs
- BitmapDecoder.cs
- RuntimeHelpers.cs
- WriteableBitmap.cs
- SchemaNames.cs
- RegexMatch.cs
- Pair.cs
- WindowsProgressbar.cs
- HtmlInputReset.cs
- MultiSelectRootGridEntry.cs
- ApplyTemplatesAction.cs
- DrawListViewSubItemEventArgs.cs
- HttpPostServerProtocol.cs
- UTF8Encoding.cs
- CheckoutException.cs
- UpDownEvent.cs
- SizeIndependentAnimationStorage.cs
- DelegatedStream.cs
- milexports.cs
- ReferenceSchema.cs
- SessionStateContainer.cs
- PriorityBindingExpression.cs
- ClientRoleProvider.cs
- PrincipalPermission.cs
- Parameter.cs
- NaturalLanguageHyphenator.cs
- DataGridCommandEventArgs.cs
- DependencyStoreSurrogate.cs
- ImageKeyConverter.cs
- TemplateControl.cs
- SelectionManager.cs
- DetailsViewInsertEventArgs.cs
- Triangle.cs
- TextBoxBase.cs
- Parsers.cs
- ConnectionOrientedTransportElement.cs
- XmlBinaryReader.cs
- ContractUtils.cs
- RadioButtonFlatAdapter.cs
- ObjectListField.cs
- PolicyStatement.cs
- SplitterEvent.cs
- Base64Decoder.cs
- XmlAggregates.cs
- QilIterator.cs
- DecimalAnimation.cs
- RtfToXamlLexer.cs
- BuildDependencySet.cs
- HtmlWindowCollection.cs
- DataPager.cs
- SafeCryptoKeyHandle.cs
- DelegateTypeInfo.cs
- SchemaImporter.cs
- TypeUnloadedException.cs
- PreloadedPackages.cs
- Lease.cs
- ElementProxy.cs
- BlurEffect.cs
- EllipseGeometry.cs
- DesignerDataStoredProcedure.cs
- XmlWhitespace.cs
- TraceHandler.cs
- FamilyTypefaceCollection.cs
- IisTraceListener.cs
- ReadOnlyPropertyMetadata.cs
- TemplateColumn.cs
- ReferenceEqualityComparer.cs
- ProfileGroupSettingsCollection.cs
- ImageSourceConverter.cs
- EventProviderBase.cs
- OutputWindow.cs
- SpnEndpointIdentityExtension.cs
- ImplicitInputBrush.cs
- RawStylusInputReport.cs
- UrlRoutingHandler.cs
- SymbolEqualComparer.cs
- User.cs
- CompilerInfo.cs
- SqlTypesSchemaImporter.cs
- X509CertificateClaimSet.cs
- RoleService.cs
- LinqMaximalSubtreeNominator.cs