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
- BaseComponentEditor.cs
- GPStream.cs
- SafeNativeMethods.cs
- StreamAsIStream.cs
- PrinterResolution.cs
- Vector3DKeyFrameCollection.cs
- TextBoxAutoCompleteSourceConverter.cs
- SQLInt64Storage.cs
- InfoCardTraceRecord.cs
- FragmentQueryKB.cs
- Calendar.cs
- ValidationErrorEventArgs.cs
- CreateUserErrorEventArgs.cs
- DataBinder.cs
- RenderTargetBitmap.cs
- SimpleTypeResolver.cs
- DataGridViewCheckBoxCell.cs
- DataIdProcessor.cs
- HtmlControl.cs
- PointCollectionValueSerializer.cs
- StylusPointCollection.cs
- DictationGrammar.cs
- Condition.cs
- precedingsibling.cs
- Int64Storage.cs
- _NTAuthentication.cs
- IdentityManager.cs
- TextEffect.cs
- ShadowGlyph.cs
- EnumConverter.cs
- ToolStripContentPanel.cs
- SamlSecurityToken.cs
- FrameworkRichTextComposition.cs
- StylusPlugInCollection.cs
- ActiveXContainer.cs
- GenericRootAutomationPeer.cs
- ErrorLog.cs
- ConcurrentDictionary.cs
- ImageFormatConverter.cs
- ContextDataSourceContextData.cs
- LinkLabel.cs
- SpellerHighlightLayer.cs
- XamlClipboardData.cs
- StateManagedCollection.cs
- _UriTypeConverter.cs
- EventToken.cs
- MultipartIdentifier.cs
- UserUseLicenseDictionaryLoader.cs
- FormViewInsertedEventArgs.cs
- InternalConfigConfigurationFactory.cs
- DataGrid.cs
- SelectionUIService.cs
- NTAccount.cs
- ToolboxBitmapAttribute.cs
- LinqDataSourceValidationException.cs
- CodeThrowExceptionStatement.cs
- ConfigurationValidatorAttribute.cs
- ErrorInfoXmlDocument.cs
- MTConfigUtil.cs
- RowUpdatedEventArgs.cs
- FormClosedEvent.cs
- FileDialog_Vista_Interop.cs
- QueryCursorEventArgs.cs
- SettingsPropertyValue.cs
- VectorKeyFrameCollection.cs
- RightsManagementPermission.cs
- WebPartActionVerb.cs
- DrawToolTipEventArgs.cs
- ContentType.cs
- XamlVector3DCollectionSerializer.cs
- RuleDefinitions.cs
- SizeConverter.cs
- TypeEnumerableViewSchema.cs
- ParentUndoUnit.cs
- MultiDataTrigger.cs
- xmlsaver.cs
- DbLambda.cs
- BuildProvider.cs
- DataViewManagerListItemTypeDescriptor.cs
- TreeNodeStyle.cs
- WebPartConnectVerb.cs
- Normalization.cs
- MetadataCache.cs
- FontUnitConverter.cs
- SchemaDeclBase.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- XmlDocumentType.cs
- ManualResetEvent.cs
- NetPipeSection.cs
- ConfigurationException.cs
- SettingsSection.cs
- DataControlPagerLinkButton.cs
- RelatedPropertyManager.cs
- PageParserFilter.cs
- ValueSerializer.cs
- Span.cs
- ReferencedCollectionType.cs
- HebrewNumber.cs
- SocketInformation.cs
- LinearGradientBrush.cs