Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- XmlSchemaFacet.cs
- StyleBamlTreeBuilder.cs
- XmlnsPrefixAttribute.cs
- Keywords.cs
- _SafeNetHandles.cs
- SoapException.cs
- PrinterUnitConvert.cs
- Scene3D.cs
- SchemaManager.cs
- ListViewInsertionMark.cs
- SqlWebEventProvider.cs
- Validator.cs
- Vector3DAnimationUsingKeyFrames.cs
- DoubleAnimationBase.cs
- EnvelopedPkcs7.cs
- ProviderCollection.cs
- VScrollBar.cs
- TagPrefixInfo.cs
- WaitHandle.cs
- DocumentEventArgs.cs
- ProfileInfo.cs
- HtmlMeta.cs
- CompositeControl.cs
- UnsafeNativeMethods.cs
- ControlPaint.cs
- EditorPartCollection.cs
- SqlClientFactory.cs
- AsyncPostBackTrigger.cs
- ParameterCollectionEditor.cs
- DataGridViewRowPostPaintEventArgs.cs
- SafeThemeHandle.cs
- UrlMappingsSection.cs
- CodeNamespaceCollection.cs
- TextServicesContext.cs
- RequestQueryProcessor.cs
- OperationCanceledException.cs
- PenLineCapValidation.cs
- ExternalException.cs
- SelectionEditor.cs
- TextSearch.cs
- ISAPIRuntime.cs
- AttributeConverter.cs
- PhysicalOps.cs
- DescendentsWalker.cs
- ProcessingInstructionAction.cs
- State.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- Geometry.cs
- PriorityQueue.cs
- DataColumnCollection.cs
- Dump.cs
- UriExt.cs
- TextViewElement.cs
- DataControlLinkButton.cs
- PeerApplicationLaunchInfo.cs
- SoapIncludeAttribute.cs
- Convert.cs
- ClientScriptManagerWrapper.cs
- SqlParameterizer.cs
- Process.cs
- PublishLicense.cs
- EdgeModeValidation.cs
- ClrPerspective.cs
- BindingNavigator.cs
- SHA1CryptoServiceProvider.cs
- StorageEntityContainerMapping.cs
- Models.cs
- OletxResourceManager.cs
- DataObjectMethodAttribute.cs
- InputLangChangeEvent.cs
- CalloutQueueItem.cs
- ResourceWriter.cs
- XmlLanguageConverter.cs
- PngBitmapDecoder.cs
- FlowNode.cs
- TraceEventCache.cs
- ListViewItemMouseHoverEvent.cs
- StringDictionaryWithComparer.cs
- ZipIOExtraFieldPaddingElement.cs
- SqlCaseSimplifier.cs
- MemoryMappedFile.cs
- HttpProtocolImporter.cs
- BufferedGraphics.cs
- XmlBinaryReaderSession.cs
- ValidationPropertyAttribute.cs
- WebPartTracker.cs
- RuleElement.cs
- TextParaLineResult.cs
- Cursor.cs
- Pkcs7Recipient.cs
- ConfigurationSectionCollection.cs
- TagMapInfo.cs
- TextElementEditingBehaviorAttribute.cs
- HtmlTableRowCollection.cs
- ConfigXmlWhitespace.cs
- HostingEnvironmentSection.cs
- BehaviorEditorPart.cs
- NumberFormatInfo.cs
- StringAnimationBase.cs
- XmlIncludeAttribute.cs