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
- RuntimeHelpers.cs
- ReachPageContentSerializerAsync.cs
- AttributeEmitter.cs
- TextBoxAutoCompleteSourceConverter.cs
- TableCellCollection.cs
- DockPanel.cs
- AtomServiceDocumentSerializer.cs
- SelectorAutomationPeer.cs
- Documentation.cs
- ManagementInstaller.cs
- ParallelQuery.cs
- ScriptIgnoreAttribute.cs
- TextRangeEditTables.cs
- HTMLTextWriter.cs
- TreeNodeSelectionProcessor.cs
- InProcStateClientManager.cs
- SurrogateDataContract.cs
- ExpressionPrinter.cs
- WebPartCatalogCloseVerb.cs
- Button.cs
- ColorAnimationUsingKeyFrames.cs
- XmlSchemaSimpleContentExtension.cs
- Attributes.cs
- Utils.cs
- DefaultValueTypeConverter.cs
- Lease.cs
- Drawing.cs
- PersonalizableTypeEntry.cs
- IsolationInterop.cs
- HtmlHistory.cs
- KeyedQueue.cs
- RotateTransform3D.cs
- ServiceObjectContainer.cs
- ActivityXRefConverter.cs
- FamilyTypefaceCollection.cs
- DataGridTextBox.cs
- ScriptManagerProxy.cs
- DeviceContext.cs
- StrokeDescriptor.cs
- Compensate.cs
- XhtmlBasicLinkAdapter.cs
- GlobalItem.cs
- MatrixCamera.cs
- RoutedUICommand.cs
- sqlcontext.cs
- PrimitiveDataContract.cs
- DataBindingCollectionEditor.cs
- SingleKeyFrameCollection.cs
- ByteConverter.cs
- KoreanCalendar.cs
- HttpApplication.cs
- GenericUriParser.cs
- DataSourceHelper.cs
- UnSafeCharBuffer.cs
- CodeStatementCollection.cs
- WindowsClientCredential.cs
- LightweightCodeGenerator.cs
- LayoutInformation.cs
- MenuItemAutomationPeer.cs
- ProfileSettingsCollection.cs
- SqlExpressionNullability.cs
- Geometry3D.cs
- DuplexSecurityProtocolFactory.cs
- DrawingBrush.cs
- StringCollectionMarkupSerializer.cs
- PropertyPathWorker.cs
- Rijndael.cs
- WebZone.cs
- Metadata.cs
- IdnElement.cs
- ISO2022Encoding.cs
- HttpInputStream.cs
- ViewStateChangedEventArgs.cs
- FtpCachePolicyElement.cs
- ScriptResourceHandler.cs
- SoapAttributeOverrides.cs
- Hyperlink.cs
- StreamWithDictionary.cs
- RuleSettingsCollection.cs
- Transform3DGroup.cs
- RenderData.cs
- RecognizedWordUnit.cs
- BitStack.cs
- FunctionQuery.cs
- PointHitTestResult.cs
- ObjectAnimationUsingKeyFrames.cs
- DebugView.cs
- sortedlist.cs
- TimeoutTimer.cs
- CompilationSection.cs
- ColumnResizeUndoUnit.cs
- KnownTypes.cs
- GestureRecognizer.cs
- CompiledAction.cs
- AttachInfo.cs
- SrgsItemList.cs
- Gdiplus.cs
- FragmentQueryProcessor.cs
- CultureData.cs
- DataComponentNameHandler.cs