Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MediaPlayerState.cs
- WebControlsSection.cs
- Accessible.cs
- TextRangeBase.cs
- DetailsViewInsertEventArgs.cs
- TokenCreationException.cs
- NetCodeGroup.cs
- SocketManager.cs
- WebPartEventArgs.cs
- AudioFormatConverter.cs
- MessageAction.cs
- XmlWrappingWriter.cs
- ApplicationBuildProvider.cs
- HandleCollector.cs
- EntityDataSourceQueryBuilder.cs
- Trace.cs
- NativeMethods.cs
- HiddenField.cs
- FontNameConverter.cs
- SuppressMessageAttribute.cs
- UrlAuthorizationModule.cs
- XmlSchemaAttributeGroup.cs
- ActiveXContainer.cs
- BamlResourceSerializer.cs
- QueryStringHandler.cs
- AddInPipelineAttributes.cs
- SmtpReplyReaderFactory.cs
- FontEmbeddingManager.cs
- XmlElementCollection.cs
- DragCompletedEventArgs.cs
- COAUTHINFO.cs
- RelationshipEnd.cs
- ProjectedSlot.cs
- PersonalizationStateQuery.cs
- GeneralTransform3DGroup.cs
- BindingExpressionBase.cs
- SecurityElement.cs
- documentsequencetextview.cs
- ElementProxy.cs
- LastQueryOperator.cs
- MemberAccessException.cs
- Brush.cs
- SqlPersonalizationProvider.cs
- XmlQueryCardinality.cs
- Opcode.cs
- RegexStringValidator.cs
- UpDownEvent.cs
- SecurityKeyType.cs
- XmlDeclaration.cs
- FunctionMappingTranslator.cs
- DataGridViewImageCell.cs
- TextElementEnumerator.cs
- XamlToRtfWriter.cs
- StyleReferenceConverter.cs
- ParameterElementCollection.cs
- ExplicitDiscriminatorMap.cs
- WaitForChangedResult.cs
- SystemThemeKey.cs
- XmlLinkedNode.cs
- CodeArrayCreateExpression.cs
- PerformanceCountersElement.cs
- SqlProcedureAttribute.cs
- _LocalDataStoreMgr.cs
- Translator.cs
- PrivateFontCollection.cs
- StateDesigner.TransitionInfo.cs
- CodeStatementCollection.cs
- ComponentResourceKey.cs
- WizardStepBase.cs
- JsonWriter.cs
- EntityDataSourceValidationException.cs
- NameValueConfigurationCollection.cs
- InvalidCommandTreeException.cs
- InvokeCompletedEventArgs.cs
- WebZone.cs
- TdsParserSessionPool.cs
- SerializationInfo.cs
- bindurihelper.cs
- LayoutEngine.cs
- SecurityPermission.cs
- GrowingArray.cs
- CodeTypeReference.cs
- ControlType.cs
- BookmarkScopeManager.cs
- SoapMessage.cs
- UxThemeWrapper.cs
- UIElement.cs
- NetworkCredential.cs
- MessageQueueException.cs
- ObjectIDGenerator.cs
- UInt16Storage.cs
- HtmlInputFile.cs
- TaskFormBase.cs
- ContextStaticAttribute.cs
- XmlStreamStore.cs
- String.cs
- CharStorage.cs
- RadioButtonFlatAdapter.cs
- AttributeData.cs
- ServiceInstanceProvider.cs