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
- JavascriptCallbackResponseProperty.cs
- LabelAutomationPeer.cs
- XmlTypeAttribute.cs
- ReceiveSecurityHeaderElementManager.cs
- ModuleElement.cs
- ContextMenuAutomationPeer.cs
- MergePropertyDescriptor.cs
- AspProxy.cs
- TreeNodeMouseHoverEvent.cs
- ContentType.cs
- BrowserCapabilitiesCodeGenerator.cs
- ViewPort3D.cs
- IntSecurity.cs
- RealizedColumnsBlock.cs
- EventKeyword.cs
- NameValueSectionHandler.cs
- PrintEvent.cs
- DataColumnPropertyDescriptor.cs
- MsdtcWrapper.cs
- As.cs
- AdornerHitTestResult.cs
- FontNamesConverter.cs
- SystemThemeKey.cs
- QuestionEventArgs.cs
- ListViewTableCell.cs
- _ShellExpression.cs
- DataMemberListEditor.cs
- CellIdBoolean.cs
- ControlLocalizer.cs
- NCryptSafeHandles.cs
- Border.cs
- StringKeyFrameCollection.cs
- MenuCommands.cs
- GridViewPageEventArgs.cs
- HttpRequest.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- HyperLinkStyle.cs
- InsufficientMemoryException.cs
- ViewCellRelation.cs
- SchemaManager.cs
- HtmlControlPersistable.cs
- DoubleAnimation.cs
- SrgsGrammarCompiler.cs
- StringToken.cs
- TextEditorCopyPaste.cs
- PaperSize.cs
- MetaData.cs
- RelatedImageListAttribute.cs
- JsonFormatWriterGenerator.cs
- X509ChainPolicy.cs
- CLSCompliantAttribute.cs
- UnsafeNativeMethods.cs
- CharStorage.cs
- IsolatedStorageException.cs
- dataprotectionpermission.cs
- ActivityCompletionCallbackWrapper.cs
- BoolExpression.cs
- SystemTcpStatistics.cs
- ReversePositionQuery.cs
- TableStyle.cs
- SafeFileMapViewHandle.cs
- QueryRewriter.cs
- RuntimeConfig.cs
- DetailsViewPageEventArgs.cs
- GridErrorDlg.cs
- ProfileSection.cs
- AccessedThroughPropertyAttribute.cs
- DriveNotFoundException.cs
- DataSourceControlBuilder.cs
- CodeTypeConstructor.cs
- TreeBuilder.cs
- NetTcpSection.cs
- ProxyHwnd.cs
- TypefaceMap.cs
- FixedLineResult.cs
- TdsParserSafeHandles.cs
- MonitorWrapper.cs
- DataRelationPropertyDescriptor.cs
- NaturalLanguageHyphenator.cs
- ZoomPercentageConverter.cs
- MultiByteCodec.cs
- Rfc2898DeriveBytes.cs
- RewritingValidator.cs
- ContractSearchPattern.cs
- GlobalizationSection.cs
- WinFormsUtils.cs
- ObjectHandle.cs
- Common.cs
- SimpleModelProvider.cs
- ModuleBuilder.cs
- KeyboardNavigation.cs
- TcpWorkerProcess.cs
- ComplexBindingPropertiesAttribute.cs
- RelOps.cs
- ComponentChangedEvent.cs
- WebPartsSection.cs
- BreakRecordTable.cs
- PropertyBuilder.cs
- WebPartDisplayMode.cs
- CurrencyManager.cs