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
- TimeSpanStorage.cs
- GeneralEndpointIdentity.cs
- SchemaImporter.cs
- TableCellsCollectionEditor.cs
- Brush.cs
- MetadataCacheItem.cs
- ScriptResourceAttribute.cs
- PermissionSetEnumerator.cs
- HyperLinkStyle.cs
- Panel.cs
- OleDbEnumerator.cs
- DataControlFieldHeaderCell.cs
- PreviewPageInfo.cs
- EventArgs.cs
- UserInitiatedRoutedEventPermission.cs
- JsonDataContract.cs
- JulianCalendar.cs
- FrameworkEventSource.cs
- SupportsPreviewControlAttribute.cs
- HitTestDrawingContextWalker.cs
- StringToken.cs
- DesignDataSource.cs
- EmptyStringExpandableObjectConverter.cs
- GetCryptoTransformRequest.cs
- TemplateManager.cs
- StrongNameUtility.cs
- ScriptDescriptor.cs
- OutputScopeManager.cs
- MsmqOutputMessage.cs
- ImageField.cs
- ActivationArguments.cs
- QilGeneratorEnv.cs
- RectangleHotSpot.cs
- RefreshEventArgs.cs
- TransactionFormatter.cs
- MarshalByValueComponent.cs
- QfeChecker.cs
- XmlSortKey.cs
- ClientRolePrincipal.cs
- TextTrailingCharacterEllipsis.cs
- CounterSetInstance.cs
- CompModSwitches.cs
- ComponentRenameEvent.cs
- BitSet.cs
- DesignOnlyAttribute.cs
- RepeaterDataBoundAdapter.cs
- SqlProvider.cs
- SoapSchemaExporter.cs
- SystemGatewayIPAddressInformation.cs
- AttributeQuery.cs
- TraceRecord.cs
- UnsafeNativeMethods.cs
- SQLBinary.cs
- ConfigurationSectionCollection.cs
- RangeValuePatternIdentifiers.cs
- Msec.cs
- WorkflowOperationAsyncResult.cs
- RelatedCurrencyManager.cs
- ThemeDictionaryExtension.cs
- GridProviderWrapper.cs
- LoadRetryStrategyFactory.cs
- TextCharacters.cs
- TemplateBindingExpressionConverter.cs
- DataListComponentEditor.cs
- ProfileParameter.cs
- RepeatBehavior.cs
- PersonalizableTypeEntry.cs
- HttpStaticObjectsCollectionWrapper.cs
- StringSource.cs
- TextRange.cs
- EditorPartChrome.cs
- ProviderCollection.cs
- SelectorAutomationPeer.cs
- DataGridViewCellCancelEventArgs.cs
- SafeSecurityHandles.cs
- ToolStripSystemRenderer.cs
- SecurityIdentifierElementCollection.cs
- ObjectTypeMapping.cs
- XmlTextReaderImpl.cs
- DisplayInformation.cs
- TypeUtils.cs
- DateTimeConverter.cs
- peersecurityelement.cs
- IntSecurity.cs
- TransformGroup.cs
- PropertyTabChangedEvent.cs
- GroupDescription.cs
- ReflectTypeDescriptionProvider.cs
- FontFamily.cs
- TraceSection.cs
- Trace.cs
- StringDictionaryWithComparer.cs
- wgx_exports.cs
- AttributeData.cs
- DbConnectionHelper.cs
- StylusButtonCollection.cs
- QueryPageSettingsEventArgs.cs
- MembershipSection.cs
- ErrorWrapper.cs
- TableCellCollection.cs