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
- WindowsRichEditRange.cs
- TableColumn.cs
- Debug.cs
- ToolStripDropDownClosingEventArgs.cs
- XPathChildIterator.cs
- ManipulationLogic.cs
- TextControl.cs
- Serializer.cs
- Tokenizer.cs
- ControlParameter.cs
- MemoryFailPoint.cs
- _DomainName.cs
- DrawingAttributes.cs
- SqlUserDefinedAggregateAttribute.cs
- SafeNativeMethodsMilCoreApi.cs
- HostUtils.cs
- ZoneButton.cs
- Section.cs
- CLSCompliantAttribute.cs
- HostVisual.cs
- OperandQuery.cs
- BamlTreeUpdater.cs
- Exceptions.cs
- MachineSettingsSection.cs
- BuildProviderUtils.cs
- SrgsSemanticInterpretationTag.cs
- StrokeDescriptor.cs
- TreeViewEvent.cs
- XmlSchemaGroupRef.cs
- HeaderedContentControl.cs
- ISAPIRuntime.cs
- webeventbuffer.cs
- CountdownEvent.cs
- FederatedMessageSecurityOverHttp.cs
- WindowVisualStateTracker.cs
- HttpCacheParams.cs
- ColumnReorderedEventArgs.cs
- CredentialCache.cs
- CheckBox.cs
- InputScope.cs
- TransactionFlowBindingElement.cs
- HttpCookieCollection.cs
- ClientOptions.cs
- DbSourceParameterCollection.cs
- Point3DCollectionValueSerializer.cs
- HScrollBar.cs
- AdapterUtil.cs
- DataAdapter.cs
- Compiler.cs
- DrawingContext.cs
- Application.cs
- ClientTargetCollection.cs
- Bitmap.cs
- SafeEventLogWriteHandle.cs
- AnimationException.cs
- XmlChildNodes.cs
- Calendar.cs
- AccessControlList.cs
- DbProviderServices.cs
- WorkflowValidationFailedException.cs
- RadioButton.cs
- AstTree.cs
- InvalidOperationException.cs
- FaultContractInfo.cs
- RequestCachePolicy.cs
- UITypeEditor.cs
- ValidationErrorEventArgs.cs
- HttpContextBase.cs
- Stylus.cs
- X509ServiceCertificateAuthentication.cs
- _AutoWebProxyScriptWrapper.cs
- Synchronization.cs
- XmlSchemaSimpleContent.cs
- ValidationError.cs
- StrongNameHelpers.cs
- ModifiableIteratorCollection.cs
- WebPartEditorApplyVerb.cs
- Char.cs
- XmlChoiceIdentifierAttribute.cs
- InkCanvasInnerCanvas.cs
- LocatorBase.cs
- SessionEndingEventArgs.cs
- PartialCachingControl.cs
- EntityConnectionStringBuilder.cs
- XPathEmptyIterator.cs
- DomainUpDown.cs
- InitializationEventAttribute.cs
- ItemsControl.cs
- XamlWriter.cs
- NameValueConfigurationCollection.cs
- ItemsControlAutomationPeer.cs
- UInt64.cs
- HTMLTextWriter.cs
- Expressions.cs
- MediaCommands.cs
- RightsManagementEncryptionTransform.cs
- GZipStream.cs
- DataGrid.cs
- ButtonFlatAdapter.cs
- CorrelationActionMessageFilter.cs