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
- HtmlInputRadioButton.cs
- ClassicBorderDecorator.cs
- DataErrorValidationRule.cs
- CounterCreationDataCollection.cs
- WindowsAuthenticationModule.cs
- OutputCacheModule.cs
- IteratorAsyncResult.cs
- DocumentViewerBase.cs
- StorageMappingItemLoader.cs
- SmiRequestExecutor.cs
- NumericUpDownAccelerationCollection.cs
- MailBnfHelper.cs
- UriExt.cs
- _CacheStreams.cs
- XmlElementList.cs
- SafeTimerHandle.cs
- TableCell.cs
- NumberFormatInfo.cs
- AvTraceFormat.cs
- JsonQNameDataContract.cs
- PermissionSet.cs
- SessionParameter.cs
- EventLogPermission.cs
- SqlUtils.cs
- RowSpanVector.cs
- ListControl.cs
- WpfPayload.cs
- MeasureItemEvent.cs
- XPathNavigatorReader.cs
- PeerNearMe.cs
- UnaryNode.cs
- ValuePattern.cs
- CodeMemberField.cs
- StorageBasedPackageProperties.cs
- RangeValuePattern.cs
- PointLightBase.cs
- PrinterResolution.cs
- RbTree.cs
- MarkedHighlightComponent.cs
- RegexTree.cs
- DataSourceGroupCollection.cs
- LayoutEngine.cs
- XmlQualifiedNameTest.cs
- GuidTagList.cs
- Message.cs
- ToolStripStatusLabel.cs
- WindowsClaimSet.cs
- NavigationProgressEventArgs.cs
- IndexerNameAttribute.cs
- SetterBase.cs
- ping.cs
- SmiGettersStream.cs
- InvalidCastException.cs
- ConfigXmlSignificantWhitespace.cs
- PersonalizationEntry.cs
- ValueConversionAttribute.cs
- sqlcontext.cs
- StringPropertyBuilder.cs
- CustomGrammar.cs
- SecurityAccessDeniedException.cs
- XmlDataImplementation.cs
- BitmapEffect.cs
- Queue.cs
- EDesignUtil.cs
- FrameworkRichTextComposition.cs
- AccessDataSourceWizardForm.cs
- TextEditorSelection.cs
- WebPartManager.cs
- TextElement.cs
- TracePayload.cs
- WebMessageEncoderFactory.cs
- FrameAutomationPeer.cs
- __TransparentProxy.cs
- WindowsTokenRoleProvider.cs
- JoinTreeSlot.cs
- AttachedProperty.cs
- util.cs
- LogStream.cs
- _CommandStream.cs
- sqlstateclientmanager.cs
- CreateParams.cs
- WebPartVerb.cs
- FilteredAttributeCollection.cs
- FeatureSupport.cs
- PassportAuthentication.cs
- ListViewUpdatedEventArgs.cs
- FilePrompt.cs
- PopupEventArgs.cs
- XmlRawWriter.cs
- DeclaredTypeValidator.cs
- OleDbMetaDataFactory.cs
- ReadOnlyCollectionBuilder.cs
- PageStatePersister.cs
- EntityContainerEmitter.cs
- ProxyHelper.cs
- OnOperation.cs
- RuntimeIdentifierPropertyAttribute.cs
- XmlTextReader.cs
- TextBlockAutomationPeer.cs
- safelinkcollection.cs