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
- HttpBindingExtension.cs
- ButtonFieldBase.cs
- ClientConvert.cs
- DecimalAnimationUsingKeyFrames.cs
- ErrorStyle.cs
- DBConnection.cs
- HtmlTextArea.cs
- Interop.cs
- DebugInfoGenerator.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TileBrush.cs
- ListDesigner.cs
- ListViewInsertEventArgs.cs
- AppDomainAttributes.cs
- CompilerGlobalScopeAttribute.cs
- TypeTypeConverter.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- TemplateParser.cs
- ConfigsHelper.cs
- HttpServerChannel.cs
- LogSwitch.cs
- RelationshipDetailsRow.cs
- _BasicClient.cs
- XPathDocumentBuilder.cs
- DocumentViewerBaseAutomationPeer.cs
- ControllableStoryboardAction.cs
- _NativeSSPI.cs
- Compiler.cs
- DeleteMemberBinder.cs
- TableLayoutPanel.cs
- NavigationHelper.cs
- UserControlAutomationPeer.cs
- HTMLTagNameToTypeMapper.cs
- Style.cs
- AssociationSet.cs
- FixedPosition.cs
- PassportIdentity.cs
- ValueTypeFixupInfo.cs
- NetCodeGroup.cs
- BindingGroup.cs
- InterleavedZipPartStream.cs
- ListBase.cs
- cookiecontainer.cs
- CollectionViewGroup.cs
- Oid.cs
- QuaternionIndependentAnimationStorage.cs
- MetadataUtil.cs
- WebBrowser.cs
- ConfigXmlAttribute.cs
- ReflectPropertyDescriptor.cs
- SqlInternalConnectionSmi.cs
- StructuralCache.cs
- FlowLayoutSettings.cs
- MemoryPressure.cs
- CountAggregationOperator.cs
- XPathParser.cs
- MemberDomainMap.cs
- Input.cs
- DateTimeSerializationSection.cs
- TemplateControlBuildProvider.cs
- EditorZone.cs
- linebase.cs
- ObjectDataSourceEventArgs.cs
- WebPartManagerInternals.cs
- AnnotationComponentManager.cs
- FunctionImportMapping.cs
- ImageAutomationPeer.cs
- EncoderReplacementFallback.cs
- SqlUdtInfo.cs
- WindowsToolbarItemAsMenuItem.cs
- ConfigurationCollectionAttribute.cs
- StatusBar.cs
- BitmapCodecInfoInternal.cs
- Executor.cs
- ToggleButtonAutomationPeer.cs
- StringUtil.cs
- FixedSOMTableRow.cs
- FixedSOMGroup.cs
- PeerNameResolver.cs
- ValueUnavailableException.cs
- baseaxisquery.cs
- httpserverutility.cs
- Panel.cs
- PropertyGrid.cs
- DESCryptoServiceProvider.cs
- ArrangedElement.cs
- XXXInfos.cs
- VBIdentifierDesigner.xaml.cs
- X509SecurityTokenParameters.cs
- SyndicationDeserializer.cs
- ByteArrayHelperWithString.cs
- ThreadStateException.cs
- SqlInternalConnectionTds.cs
- FileSecurity.cs
- TabletDevice.cs
- TreeViewTemplateSelector.cs
- Pen.cs
- XmlILIndex.cs
- LightweightEntityWrapper.cs
- ZipIOModeEnforcingStream.cs