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
- BehaviorEditorPart.cs
- Utils.cs
- _BufferOffsetSize.cs
- DataTable.cs
- Path.cs
- __ComObject.cs
- QilTargetType.cs
- HttpBrowserCapabilitiesWrapper.cs
- EqualityComparer.cs
- Animatable.cs
- InvokePattern.cs
- ReverseInheritProperty.cs
- Convert.cs
- MachineKeySection.cs
- CodeObjectCreateExpression.cs
- PeerInvitationResponse.cs
- ComponentResourceKey.cs
- HtmlInputRadioButton.cs
- DataGridViewLayoutData.cs
- Point3DCollection.cs
- AffineTransform3D.cs
- DataGridLinkButton.cs
- RSACryptoServiceProvider.cs
- PassportPrincipal.cs
- ScriptingWebServicesSectionGroup.cs
- PointValueSerializer.cs
- ReflectEventDescriptor.cs
- DocumentXPathNavigator.cs
- BaseValidatorDesigner.cs
- MessageQueueEnumerator.cs
- SqlLiftWhereClauses.cs
- ToggleProviderWrapper.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- RC2.cs
- SqlNotificationEventArgs.cs
- HttpFileCollection.cs
- BamlBinaryWriter.cs
- IIS7UserPrincipal.cs
- DbProviderFactory.cs
- XmlSchemaGroupRef.cs
- ListenerConstants.cs
- XmlSchema.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Color.cs
- SrgsSubset.cs
- RequestTimeoutManager.cs
- LoginAutoFormat.cs
- FileEnumerator.cs
- KoreanLunisolarCalendar.cs
- HyperLinkDesigner.cs
- UnionCqlBlock.cs
- XmlDocumentType.cs
- PointCollectionConverter.cs
- XmlILStorageConverter.cs
- GPRECTF.cs
- panel.cs
- AttributeConverter.cs
- ZipIOModeEnforcingStream.cs
- SelectedDatesCollection.cs
- TypeConverter.cs
- UrlPath.cs
- XmlName.cs
- DataRecordObjectView.cs
- EntityDataSource.cs
- SystemPens.cs
- FakeModelPropertyImpl.cs
- ImageMap.cs
- ResourcePool.cs
- HelpPage.cs
- ProxyGenerator.cs
- _NestedMultipleAsyncResult.cs
- EnumValidator.cs
- EntityDataSourceDataSelectionPanel.cs
- FileLevelControlBuilderAttribute.cs
- InputLanguageEventArgs.cs
- DropSource.cs
- Rfc2898DeriveBytes.cs
- DBAsyncResult.cs
- UInt16Converter.cs
- ImageAutomationPeer.cs
- FileUpload.cs
- DataGridViewRowHeaderCell.cs
- AssemblyBuilderData.cs
- WebPartConnection.cs
- FileSystemEnumerable.cs
- Set.cs
- SoapSchemaExporter.cs
- SystemFonts.cs
- HtmlTableCellCollection.cs
- documentsequencetextpointer.cs
- SqlCommand.cs
- Expression.cs
- SmiSettersStream.cs
- FrameworkContentElement.cs
- SqlBuilder.cs
- FunctionImportMapping.cs
- ToolboxControl.cs
- EventBuilder.cs
- OracleConnectionFactory.cs
- CryptoApi.cs