Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- FileDataSourceCache.cs
- GlyphingCache.cs
- RangeValidator.cs
- ColorContextHelper.cs
- ManagementException.cs
- IndentTextWriter.cs
- MenuCommand.cs
- BooleanFunctions.cs
- TextProperties.cs
- AttachedPropertyBrowsableAttribute.cs
- DefaultTextStore.cs
- ViewGenerator.cs
- ErrorWebPart.cs
- PathBox.cs
- HtmlFormWrapper.cs
- SQLRoleProvider.cs
- FunctionDetailsReader.cs
- Operand.cs
- ExceptionUtil.cs
- SafeRegistryHandle.cs
- BuildProvider.cs
- MetadataSerializer.cs
- RemotingAttributes.cs
- TextBox.cs
- XmlDataDocument.cs
- InstanceLockTracking.cs
- TreeNodeCollection.cs
- __Error.cs
- Win32MouseDevice.cs
- DiscoveryReferences.cs
- DataGridItemCollection.cs
- PropertyGridEditorPart.cs
- HostingEnvironmentException.cs
- PresentationAppDomainManager.cs
- BevelBitmapEffect.cs
- _CacheStreams.cs
- SizeChangedInfo.cs
- XPathCompiler.cs
- ErrorTableItemStyle.cs
- XmlFormatExtensionAttribute.cs
- TextSchema.cs
- MinMaxParagraphWidth.cs
- RuntimeWrappedException.cs
- DoWorkEventArgs.cs
- JsonDeserializer.cs
- AutoGeneratedField.cs
- ToolStripSplitButton.cs
- Int32.cs
- BufferedGraphicsManager.cs
- ConfigsHelper.cs
- ListBoxItemAutomationPeer.cs
- BindingCompleteEventArgs.cs
- ApplicationInterop.cs
- Misc.cs
- BackgroundWorker.cs
- XmlSchemaSimpleTypeUnion.cs
- InputLanguageProfileNotifySink.cs
- ValidationSummary.cs
- SizeF.cs
- MenuItem.cs
- TextSearch.cs
- OpenTypeLayoutCache.cs
- OrthographicCamera.cs
- ComponentFactoryHelpers.cs
- ReadOnlyCollectionBase.cs
- StoreItemCollection.Loader.cs
- OutputScope.cs
- ReadOnlyCollectionBuilder.cs
- SystemInfo.cs
- StylusButtonEventArgs.cs
- ISFTagAndGuidCache.cs
- Debug.cs
- FormsAuthenticationConfiguration.cs
- ObjectDataSourceDisposingEventArgs.cs
- Win32PrintDialog.cs
- SqlDataSourceConfigureSelectPanel.cs
- AddingNewEventArgs.cs
- IisTraceWebEventProvider.cs
- DbgCompiler.cs
- XmlNodeList.cs
- SByteStorage.cs
- ValidationSummary.cs
- SafeViewOfFileHandle.cs
- MenuAutomationPeer.cs
- ConnectionPoint.cs
- DBConcurrencyException.cs
- SurrogateEncoder.cs
- EditorServiceContext.cs
- AuthenticationModulesSection.cs
- ControlAdapter.cs
- AbstractDataSvcMapFileLoader.cs
- QueryFunctions.cs
- ReadOnlyDictionary.cs
- UserControlCodeDomTreeGenerator.cs
- WebPartConnectionsEventArgs.cs
- BitmapSourceSafeMILHandle.cs
- WebPartEventArgs.cs
- ObjectReaderCompiler.cs
- WebServiceData.cs
- ObjectSet.cs