Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- Receive.cs
- ConfigurationLocation.cs
- SafeNativeMethods.cs
- TextBlock.cs
- SetStateDesigner.cs
- DBPropSet.cs
- SqlConnectionFactory.cs
- AuthenticodeSignatureInformation.cs
- DataGridViewLayoutData.cs
- ObjectHelper.cs
- DateTimeParse.cs
- CompositeActivityCodeGenerator.cs
- UserControlBuildProvider.cs
- Pool.cs
- XsdValidatingReader.cs
- TraceSection.cs
- ControlDesigner.cs
- EditorAttribute.cs
- CultureTable.cs
- Label.cs
- DrawListViewColumnHeaderEventArgs.cs
- ListBox.cs
- CellTreeNodeVisitors.cs
- ResourceReferenceExpressionConverter.cs
- UnsafeNativeMethods.cs
- BindableAttribute.cs
- ActivityDesignerResources.cs
- RegularExpressionValidator.cs
- ExtractorMetadata.cs
- MarkupWriter.cs
- MultipleCopiesCollection.cs
- TypedTableGenerator.cs
- TextElement.cs
- ExpressionBuilder.cs
- SiteMapSection.cs
- DataListComponentEditor.cs
- ClientConfigurationHost.cs
- CacheDependency.cs
- Polyline.cs
- EventLog.cs
- PeerCustomResolverElement.cs
- CryptoKeySecurity.cs
- GridViewRowCollection.cs
- HMACRIPEMD160.cs
- ExceptQueryOperator.cs
- ToolStripManager.cs
- CompiledQueryCacheKey.cs
- ValidationVisibilityAttribute.cs
- AsyncOperation.cs
- Command.cs
- TableItemStyle.cs
- DbConnectionFactory.cs
- CodeGeneratorOptions.cs
- SmtpReplyReader.cs
- ParseChildrenAsPropertiesAttribute.cs
- SqlCharStream.cs
- CodeObject.cs
- DbConnectionPoolOptions.cs
- UndirectedGraph.cs
- JoinGraph.cs
- KerberosSecurityTokenProvider.cs
- QilExpression.cs
- Win32Native.cs
- ArrayList.cs
- SHA384CryptoServiceProvider.cs
- PeerApplication.cs
- WebPartZoneAutoFormat.cs
- UrlUtility.cs
- ColorPalette.cs
- ApplicationGesture.cs
- ScriptControl.cs
- PackagingUtilities.cs
- AsyncCodeActivity.cs
- ExceptionHandlerDesigner.cs
- StylusPoint.cs
- BoundPropertyEntry.cs
- Compiler.cs
- TCEAdapterGenerator.cs
- DrawingImage.cs
- UntypedNullExpression.cs
- LowerCaseStringConverter.cs
- ValidatedControlConverter.cs
- OleTxTransaction.cs
- LayoutTable.cs
- TimeSpanOrInfiniteConverter.cs
- XmlDocumentViewSchema.cs
- ContentType.cs
- RepeatInfo.cs
- TemplateBuilder.cs
- ListItem.cs
- dbdatarecord.cs
- Size3DConverter.cs
- SqlClientFactory.cs
- StatusBarAutomationPeer.cs
- ArraySortHelper.cs
- BridgeDataReader.cs
- Vector3DCollection.cs
- DSASignatureFormatter.cs
- RtfToXamlReader.cs
- SchemaCollectionPreprocessor.cs