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
- InfoCardMetadataExchangeClient.cs
- String.cs
- ExcludePathInfo.cs
- RegexWorker.cs
- RenderTargetBitmap.cs
- AttributeProviderAttribute.cs
- InkCollectionBehavior.cs
- XPathArrayIterator.cs
- Normalization.cs
- namescope.cs
- DateTimeOffset.cs
- XmlCustomFormatter.cs
- BaseServiceProvider.cs
- ResolvedKeyFrameEntry.cs
- CommittableTransaction.cs
- CodeStatementCollection.cs
- TreeNodeStyleCollection.cs
- Bold.cs
- CompilerGeneratedAttribute.cs
- CodeArrayCreateExpression.cs
- ContextQuery.cs
- DelegatingTypeDescriptionProvider.cs
- CacheForPrimitiveTypes.cs
- TimeSpan.cs
- HandlerMappingMemo.cs
- OdbcParameter.cs
- ImageSource.cs
- GetBrowserTokenRequest.cs
- BinaryMethodMessage.cs
- Expressions.cs
- SafeCancelMibChangeNotify.cs
- FigureParagraph.cs
- SymLanguageVendor.cs
- _SpnDictionary.cs
- XPathChildIterator.cs
- RepeatInfo.cs
- EntityAdapter.cs
- ExpressionBindingCollection.cs
- XmlDocumentSerializer.cs
- Accessible.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- DBCommandBuilder.cs
- FormsAuthenticationEventArgs.cs
- MobileUITypeEditor.cs
- ObjectTokenCategory.cs
- ExpressionDumper.cs
- IxmlLineInfo.cs
- designeractionlistschangedeventargs.cs
- IndependentAnimationStorage.cs
- HitTestFilterBehavior.cs
- AuditLog.cs
- SecurityManager.cs
- HttpWriter.cs
- NodeLabelEditEvent.cs
- Filter.cs
- DataGridColumn.cs
- ControlIdConverter.cs
- LocalizabilityAttribute.cs
- DebugView.cs
- TextProperties.cs
- SmtpException.cs
- TextBounds.cs
- TransactionScope.cs
- TranslateTransform3D.cs
- ReadOnlyDictionary.cs
- ListViewCommandEventArgs.cs
- CollectionExtensions.cs
- Formatter.cs
- TabItem.cs
- ReadWriteControlDesigner.cs
- InheritablePropertyChangeInfo.cs
- ParseNumbers.cs
- SkewTransform.cs
- TreeNodeCollection.cs
- DocumentSequence.cs
- hebrewshape.cs
- OleDbRowUpdatedEvent.cs
- WindowsFormsSynchronizationContext.cs
- DataException.cs
- PingOptions.cs
- ContentValidator.cs
- ToolboxComponentsCreatingEventArgs.cs
- DrawingContextWalker.cs
- ModelItemDictionaryImpl.cs
- Ops.cs
- CompensatableTransactionScopeActivityDesigner.cs
- BehaviorEditorPart.cs
- WebPartConnection.cs
- StorageComplexTypeMapping.cs
- StreamResourceInfo.cs
- MediaElementAutomationPeer.cs
- SiteOfOriginContainer.cs
- SafeNativeMethods.cs
- BorderSidesEditor.cs
- HelloOperation11AsyncResult.cs
- GroupBoxRenderer.cs
- BitmapEffectDrawing.cs
- TextBoxAutoCompleteSourceConverter.cs
- UserNamePasswordValidationMode.cs
- DocumentOrderComparer.cs