Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- LayeredChannelFactory.cs
- safelink.cs
- IList.cs
- SerializerDescriptor.cs
- MatrixAnimationUsingPath.cs
- shaperfactoryquerycachekey.cs
- XmlAttributeCache.cs
- SqlBooleanizer.cs
- WindowsSysHeader.cs
- DiscreteKeyFrames.cs
- MediaContextNotificationWindow.cs
- KnownColorTable.cs
- LineInfo.cs
- ObjectSpanRewriter.cs
- StringFreezingAttribute.cs
- ToolBarPanel.cs
- PasswordRecovery.cs
- FilterQuery.cs
- ListItemParagraph.cs
- BamlStream.cs
- PasswordRecoveryDesigner.cs
- DataColumnMapping.cs
- VisualBrush.cs
- PrincipalPermission.cs
- DeliveryRequirementsAttribute.cs
- RelationshipConverter.cs
- XmlDictionaryWriter.cs
- TargetInvocationException.cs
- ChtmlCalendarAdapter.cs
- wmiutil.cs
- Propagator.cs
- List.cs
- ProfileSettingsCollection.cs
- BindingExpressionBase.cs
- DecimalConverter.cs
- ChannelPoolSettingsElement.cs
- DataKey.cs
- IndentedWriter.cs
- MetadataArtifactLoaderResource.cs
- ConvertBinder.cs
- ConsumerConnectionPoint.cs
- ValueSerializer.cs
- GridViewAutomationPeer.cs
- LookupTables.cs
- GZipDecoder.cs
- ByteAnimationUsingKeyFrames.cs
- FrameworkRichTextComposition.cs
- GestureRecognitionResult.cs
- KnownTypesHelper.cs
- OdbcConnectionOpen.cs
- HtmlInputButton.cs
- BasicKeyConstraint.cs
- Duration.cs
- ContentIterators.cs
- LabelAutomationPeer.cs
- ManifestResourceInfo.cs
- DictionaryEditChange.cs
- HtmlInputSubmit.cs
- Rotation3DKeyFrameCollection.cs
- JoinGraph.cs
- FileAuthorizationModule.cs
- IPHostEntry.cs
- Html32TextWriter.cs
- HttpContext.cs
- FixedSOMLineCollection.cs
- ProcessDesigner.cs
- WebPartChrome.cs
- GuidelineCollection.cs
- IPHostEntry.cs
- InheritablePropertyChangeInfo.cs
- IWorkflowDebuggerService.cs
- NotifyIcon.cs
- GeneralTransformCollection.cs
- XmlDataLoader.cs
- PrePostDescendentsWalker.cs
- XmlILOptimizerVisitor.cs
- DoubleStorage.cs
- BoolExpr.cs
- streamingZipPartStream.cs
- FixedSOMElement.cs
- CounterCreationData.cs
- StrongNameMembershipCondition.cs
- KeyFrames.cs
- UInt64Converter.cs
- VirtualDirectoryMappingCollection.cs
- GradientBrush.cs
- RequestCacheManager.cs
- SchemaElementLookUpTable.cs
- Serializer.cs
- PointAnimationBase.cs
- HtmlDocument.cs
- Property.cs
- DataPagerField.cs
- WebPartAddingEventArgs.cs
- MonitoringDescriptionAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- SqlProfileProvider.cs
- ActionItem.cs
- LinkedResource.cs
- SerializationInfo.cs