Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- UnauthorizedWebPart.cs
- SpecialNameAttribute.cs
- ProfessionalColors.cs
- Matrix3D.cs
- XmlSchemaComplexContent.cs
- BufferedStream2.cs
- GPPOINTF.cs
- DataSourceBooleanViewSchemaConverter.cs
- XmlUtil.cs
- ServiceNameElement.cs
- DesignerCategoryAttribute.cs
- UInt64Converter.cs
- EventLogHandle.cs
- TeredoHelper.cs
- DictionarySectionHandler.cs
- TcpClientCredentialType.cs
- Calendar.cs
- MatchAttribute.cs
- PageParserFilter.cs
- BuildProvider.cs
- SafeRightsManagementHandle.cs
- AuthenticatingEventArgs.cs
- ImageSource.cs
- WindowsFormsHelpers.cs
- ChannelFactory.cs
- ByteStreamGeometryContext.cs
- Underline.cs
- SizeFConverter.cs
- PropertyOverridesTypeEditor.cs
- TextServicesCompartment.cs
- CharacterString.cs
- CodeGeneratorOptions.cs
- Sql8ConformanceChecker.cs
- TailCallAnalyzer.cs
- DataGridViewButtonCell.cs
- StrongNameIdentityPermission.cs
- OdbcStatementHandle.cs
- BooleanExpr.cs
- HostnameComparisonMode.cs
- RowParagraph.cs
- TranslateTransform3D.cs
- SortDescription.cs
- MethodExpr.cs
- SharedPersonalizationStateInfo.cs
- TypeElement.cs
- MultiBinding.cs
- BamlRecordWriter.cs
- TreeViewItem.cs
- CompiledIdentityConstraint.cs
- RegistrySecurity.cs
- SQLRoleProvider.cs
- ADConnectionHelper.cs
- TreeViewHitTestInfo.cs
- AuthenticationModuleElementCollection.cs
- CompositeDesignerAccessibleObject.cs
- TextTreeExtractElementUndoUnit.cs
- XmlSchemaIdentityConstraint.cs
- AppearanceEditorPart.cs
- FreezableCollection.cs
- HwndSubclass.cs
- ImageMap.cs
- ElementHostAutomationPeer.cs
- FrameworkContextData.cs
- BamlTreeUpdater.cs
- PathGeometry.cs
- RoleManagerEventArgs.cs
- dataprotectionpermission.cs
- QuaternionAnimationBase.cs
- XmlSchemaExternal.cs
- TextElement.cs
- RIPEMD160.cs
- XmlCharCheckingWriter.cs
- ExtentKey.cs
- PackWebRequestFactory.cs
- BamlBinaryWriter.cs
- MbpInfo.cs
- BinaryFormatterWriter.cs
- DirectionalLight.cs
- AdRotator.cs
- CachedRequestParams.cs
- RoutedPropertyChangedEventArgs.cs
- ToolStripHighContrastRenderer.cs
- XmlAttributes.cs
- XmlWrappingReader.cs
- DynamicDataExtensions.cs
- AutoGeneratedFieldProperties.cs
- EdmSchemaAttribute.cs
- FullTextState.cs
- WpfGeneratedKnownProperties.cs
- _LocalDataStoreMgr.cs
- MultiView.cs
- SystemWebExtensionsSectionGroup.cs
- XsltQilFactory.cs
- TrackingMemoryStream.cs
- ServerTooBusyException.cs
- KeyGestureValueSerializer.cs
- TextParaClient.cs
- FormsAuthenticationConfiguration.cs
- HasCopySemanticsAttribute.cs
- CriticalExceptions.cs