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
- PixelShader.cs
- ComponentManagerBroker.cs
- Tool.cs
- QilValidationVisitor.cs
- InfoCardProofToken.cs
- ActivationServices.cs
- MethodCallTranslator.cs
- MessageDirection.cs
- ValidationErrorCollection.cs
- BitmapFrameEncode.cs
- ArgumentException.cs
- SBCSCodePageEncoding.cs
- FreezableDefaultValueFactory.cs
- FileDialog_Vista.cs
- PageCatalogPart.cs
- ParserHooks.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- EmptyControlCollection.cs
- TextSelectionProcessor.cs
- MarshalByValueComponent.cs
- SecurityElement.cs
- StylusEditingBehavior.cs
- FrameAutomationPeer.cs
- InternalBufferManager.cs
- CodeMemberProperty.cs
- DataProtection.cs
- MaskedTextBox.cs
- XmlSchemaProviderAttribute.cs
- FtpRequestCacheValidator.cs
- AnnotationResourceChangedEventArgs.cs
- GZipStream.cs
- StateElementCollection.cs
- ProxyAttribute.cs
- DataSourceProvider.cs
- TreeViewItem.cs
- FlowDocumentPage.cs
- Imaging.cs
- FillErrorEventArgs.cs
- XAMLParseException.cs
- SecurityElement.cs
- OdbcConnection.cs
- HyperLinkField.cs
- HijriCalendar.cs
- SqlTopReducer.cs
- ToolStripSettings.cs
- ConsoleCancelEventArgs.cs
- XmlTypeAttribute.cs
- ErrorRuntimeConfig.cs
- XmlSecureResolver.cs
- LinqDataSourceValidationException.cs
- AxisAngleRotation3D.cs
- PlainXmlSerializer.cs
- WorkflowDurableInstance.cs
- CrossContextChannel.cs
- BufferedWebEventProvider.cs
- StrokeCollection2.cs
- PlanCompiler.cs
- AssemblyInfo.cs
- UInt64.cs
- URLAttribute.cs
- DocumentApplication.cs
- ServerIdentity.cs
- ProfessionalColorTable.cs
- BitmapEffectInput.cs
- Visitors.cs
- EntityContainer.cs
- XappLauncher.cs
- PageCatalogPart.cs
- XmlMessageFormatter.cs
- SessionParameter.cs
- WindowProviderWrapper.cs
- CustomErrorsSection.cs
- DbConnectionStringCommon.cs
- MulticastNotSupportedException.cs
- DetailsView.cs
- StickyNoteContentControl.cs
- ToolStrip.cs
- SafeNativeMethodsOther.cs
- DataSourceIDConverter.cs
- GridPattern.cs
- DocumentOrderQuery.cs
- SizeChangedInfo.cs
- ExpressionNode.cs
- TextFormattingConverter.cs
- PackageRelationship.cs
- SmiRecordBuffer.cs
- UIAgentRequest.cs
- RequestQueue.cs
- SymbolTable.cs
- ListViewSortEventArgs.cs
- PolyQuadraticBezierSegment.cs
- TrailingSpaceComparer.cs
- DetailsViewRowCollection.cs
- XslTransform.cs
- SecurityHeader.cs
- behaviorssection.cs
- MemoryStream.cs
- CodeMethodInvokeExpression.cs
- ReferenceConverter.cs
- XmlCharCheckingWriter.cs