Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- SynchronizationContext.cs
- ClrPerspective.cs
- StylusPointPropertyInfo.cs
- CheckBox.cs
- mansign.cs
- SQLUtility.cs
- ISFTagAndGuidCache.cs
- StatusBarItem.cs
- ComEventsSink.cs
- XmlQualifiedNameTest.cs
- GeometryConverter.cs
- SequentialWorkflowRootDesigner.cs
- NumberFormatInfo.cs
- AccessKeyManager.cs
- ThousandthOfEmRealPoints.cs
- DependencyPropertyKind.cs
- TrackingDataItem.cs
- AssociationSetEnd.cs
- xmlglyphRunInfo.cs
- AssemblySettingAttributes.cs
- FastEncoder.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- DetailsViewDeletedEventArgs.cs
- ObjectCache.cs
- LayoutSettings.cs
- SettingsAttributeDictionary.cs
- RemotingServices.cs
- IOException.cs
- NotSupportedException.cs
- XmlSchemaAny.cs
- GeometryHitTestResult.cs
- Form.cs
- ClassHandlersStore.cs
- ServiceBuildProvider.cs
- LocalBuilder.cs
- ResourceIDHelper.cs
- ConstructorNeedsTagAttribute.cs
- COM2IDispatchConverter.cs
- PTManager.cs
- DiscoveryDocumentReference.cs
- MonitoringDescriptionAttribute.cs
- XmlHelper.cs
- SystemResourceHost.cs
- SecurityBindingElement.cs
- FixedTextBuilder.cs
- EntityDataSourceSelectedEventArgs.cs
- HttpEncoderUtility.cs
- TogglePattern.cs
- OperandQuery.cs
- XamlToRtfWriter.cs
- Table.cs
- BamlRecordHelper.cs
- SizeConverter.cs
- SQLMoneyStorage.cs
- ArcSegment.cs
- Stream.cs
- DataServiceHostFactory.cs
- TreeViewCancelEvent.cs
- ByteKeyFrameCollection.cs
- TextEditorSpelling.cs
- BrowserTree.cs
- DataColumnChangeEvent.cs
- StatusBar.cs
- DurableInstanceContextProvider.cs
- KeyNotFoundException.cs
- RequestQueryParser.cs
- SafeNativeMemoryHandle.cs
- MsmqHostedTransportConfiguration.cs
- SafeNativeMethodsCLR.cs
- GroupedContextMenuStrip.cs
- Converter.cs
- ObjectStorage.cs
- QilNode.cs
- TcpStreams.cs
- _ConnectStream.cs
- SafeNativeMethodsCLR.cs
- ProxySimple.cs
- XmlAnyAttributeAttribute.cs
- PageBreakRecord.cs
- CompoundFileStreamReference.cs
- Wildcard.cs
- EventMap.cs
- ControlBuilder.cs
- Decimal.cs
- CodePropertyReferenceExpression.cs
- ColumnReorderedEventArgs.cs
- WebAdminConfigurationHelper.cs
- UrlPropertyAttribute.cs
- mediaeventshelper.cs
- WizardSideBarListControlItemEventArgs.cs
- JsonXmlDataContract.cs
- RayHitTestParameters.cs
- MembershipValidatePasswordEventArgs.cs
- COM2EnumConverter.cs
- FloatUtil.cs
- CounterSample.cs
- DataControlPagerLinkButton.cs
- InteropBitmapSource.cs
- PointAnimationUsingKeyFrames.cs
- SafeEventLogWriteHandle.cs