Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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 [....]/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
- SafeProcessHandle.cs
- MessageSecurityTokenVersion.cs
- WbemProvider.cs
- CodeChecksumPragma.cs
- ClassGenerator.cs
- WindowInteropHelper.cs
- ByteStorage.cs
- ContextDataSource.cs
- ReflectEventDescriptor.cs
- SettingsPropertyCollection.cs
- AutomationElement.cs
- BooleanFacetDescriptionElement.cs
- ServiceControllerDesigner.cs
- TextEditorThreadLocalStore.cs
- DeliveryRequirementsAttribute.cs
- CorrelationManager.cs
- IInstanceTable.cs
- MatrixCamera.cs
- InheritedPropertyDescriptor.cs
- DataAccessor.cs
- CodeCommentStatement.cs
- OleDbWrapper.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- ViewStateException.cs
- ColorDialog.cs
- DbRetry.cs
- LinkClickEvent.cs
- Model3D.cs
- HandlerFactoryWrapper.cs
- HTMLTagNameToTypeMapper.cs
- TransformPatternIdentifiers.cs
- CacheSection.cs
- MethodImplAttribute.cs
- UInt16.cs
- ToolStripDropDownClosedEventArgs.cs
- AppDomainAttributes.cs
- FillRuleValidation.cs
- DecoderReplacementFallback.cs
- AuthStoreRoleProvider.cs
- FieldDescriptor.cs
- DataRecordInfo.cs
- COM2ExtendedUITypeEditor.cs
- SqlDataSourceSelectingEventArgs.cs
- ColorPalette.cs
- InvalidProgramException.cs
- UnitySerializationHolder.cs
- BaseCollection.cs
- TextTreeObjectNode.cs
- WebPartEditorOkVerb.cs
- StreamGeometry.cs
- remotingproxy.cs
- CheckableControlBaseAdapter.cs
- RelativeSource.cs
- LinkButton.cs
- TextBox.cs
- HtmlImage.cs
- FormsAuthenticationConfiguration.cs
- FixedPosition.cs
- IconConverter.cs
- TreeViewCancelEvent.cs
- URLAttribute.cs
- ParameterElement.cs
- CursorInteropHelper.cs
- SQLInt64.cs
- DataGridrowEditEndingEventArgs.cs
- ZipIOExtraFieldElement.cs
- CustomAttributeBuilder.cs
- TypefaceMetricsCache.cs
- RuntimeHandles.cs
- SqlXmlStorage.cs
- ZoneMembershipCondition.cs
- SystemWebCachingSectionGroup.cs
- Serializer.cs
- Models.cs
- CollectionEditorDialog.cs
- TrackingMemoryStreamFactory.cs
- DataGridItemCollection.cs
- CqlIdentifiers.cs
- SHA256.cs
- AttributeQuery.cs
- COM2PictureConverter.cs
- DataGridViewIntLinkedList.cs
- ConnectionPoint.cs
- ConfigurationFileMap.cs
- StylusButtonCollection.cs
- GridViewDeleteEventArgs.cs
- Pair.cs
- isolationinterop.cs
- ImmutableObjectAttribute.cs
- CustomErrorCollection.cs
- XPathPatternParser.cs
- CalendarSelectionChangedEventArgs.cs
- MessagingDescriptionAttribute.cs
- ScriptingWebServicesSectionGroup.cs
- TextWriterTraceListener.cs
- UniqueConstraint.cs
- X509Extension.cs
- JumpTask.cs
- AssociationSetEnd.cs
- SqlDelegatedTransaction.cs