Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- PathHelper.cs
- DetailsViewPagerRow.cs
- RelationalExpressions.cs
- DataKeyArray.cs
- ComplexLine.cs
- TrackingValidationObjectDictionary.cs
- BitmapVisualManager.cs
- ImageUrlEditor.cs
- cookieexception.cs
- HebrewNumber.cs
- ExpandSegmentCollection.cs
- BoundsDrawingContextWalker.cs
- XamlTypeMapper.cs
- MenuScrollingVisibilityConverter.cs
- DataGridViewCellPaintingEventArgs.cs
- XmlHierarchyData.cs
- Pts.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- HandledEventArgs.cs
- HMACSHA512.cs
- SocketStream.cs
- ManipulationInertiaStartingEventArgs.cs
- XmlNodeChangedEventArgs.cs
- SapiAttributeParser.cs
- PropertyGridCommands.cs
- CodeStatement.cs
- COM2PropertyDescriptor.cs
- DataPagerCommandEventArgs.cs
- HttpEncoder.cs
- DiagnosticsConfiguration.cs
- AmbiguousMatchException.cs
- PseudoWebRequest.cs
- SafeTimerHandle.cs
- TargetPerspective.cs
- DbBuffer.cs
- SqlTransaction.cs
- SplashScreenNativeMethods.cs
- WebServicesSection.cs
- Color.cs
- Int32CAMarshaler.cs
- EntityConnectionStringBuilder.cs
- CapabilitiesAssignment.cs
- VBIdentifierTrimConverter.cs
- HMAC.cs
- ExpressionNode.cs
- Point3DValueSerializer.cs
- RestClientProxyHandler.cs
- TableRowGroup.cs
- BinaryConverter.cs
- Context.cs
- WebZone.cs
- ListBindingConverter.cs
- TemplateManager.cs
- DBBindings.cs
- SpotLight.cs
- DataBindingList.cs
- TextTreeText.cs
- Parameter.cs
- sqlmetadatafactory.cs
- SocketElement.cs
- Pair.cs
- RepeaterItem.cs
- CodeValidator.cs
- MessageSecurityVersionConverter.cs
- OdbcFactory.cs
- serverconfig.cs
- OrderByBuilder.cs
- MimeTypePropertyAttribute.cs
- assemblycache.cs
- SafeWaitHandle.cs
- BitmapFrameDecode.cs
- GridViewItemAutomationPeer.cs
- Mutex.cs
- WorkflowDesignerMessageFilter.cs
- URLString.cs
- ToolBar.cs
- KeyValueConfigurationElement.cs
- EnumerableCollectionView.cs
- AsyncResult.cs
- dsa.cs
- Keywords.cs
- DataTableCollection.cs
- Directory.cs
- SecureStringHasher.cs
- DesignerActionTextItem.cs
- TransactionContextManager.cs
- XhtmlBasicLinkAdapter.cs
- XmlDataCollection.cs
- SiblingIterators.cs
- ValidationSummary.cs
- XPathSelectionIterator.cs
- IProvider.cs
- TrustVersion.cs
- EnumerableRowCollectionExtensions.cs
- PerfCounterSection.cs
- Quaternion.cs
- path.cs
- VisualStateChangedEventArgs.cs
- BitStack.cs
- GroupedContextMenuStrip.cs