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 / EdgeModeValidation.cs / 1 / EdgeModeValidation.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 IsEdgeModeValid(object valueObject) { EdgeMode value = (EdgeMode) valueObject; return (value == EdgeMode.Unspecified) || (value == EdgeMode.Aliased); } } } // 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 IsEdgeModeValid(object valueObject) { EdgeMode value = (EdgeMode) valueObject; return (value == EdgeMode.Unspecified) || (value == EdgeMode.Aliased); } } } // 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
- safex509handles.cs
- StorageEntitySetMapping.cs
- TableColumnCollectionInternal.cs
- DebugInfoExpression.cs
- EntityDataSourceDesigner.cs
- QilFactory.cs
- ComboBoxRenderer.cs
- MasterPageCodeDomTreeGenerator.cs
- DataBindingExpressionBuilder.cs
- GenericXmlSecurityToken.cs
- unsafenativemethodsother.cs
- Label.cs
- Quaternion.cs
- DataGridViewUtilities.cs
- ExtentCqlBlock.cs
- EncryptRequest.cs
- EncryptedPackage.cs
- ScrollChrome.cs
- StagingAreaInputItem.cs
- XmlEntity.cs
- ConfigurationSchemaErrors.cs
- HasCopySemanticsAttribute.cs
- Base64Stream.cs
- LookupBindingPropertiesAttribute.cs
- QueryPageSettingsEventArgs.cs
- SqlFactory.cs
- LexicalChunk.cs
- MdImport.cs
- QuaternionRotation3D.cs
- SQLBytesStorage.cs
- DtdParser.cs
- UInt16.cs
- PrimitiveXmlSerializers.cs
- DataTemplate.cs
- StaticSiteMapProvider.cs
- ConnectionOrientedTransportChannelListener.cs
- RTLAwareMessageBox.cs
- ResourcePool.cs
- TemplateComponentConnector.cs
- SessionStateContainer.cs
- QueryReaderSettings.cs
- StdValidatorsAndConverters.cs
- XPathItem.cs
- ConnectionString.cs
- ClientSettingsStore.cs
- ProfilePropertySettingsCollection.cs
- SqlRowUpdatedEvent.cs
- BrowserCapabilitiesCompiler.cs
- GridProviderWrapper.cs
- HttpServerVarsCollection.cs
- QilTargetType.cs
- Visual3D.cs
- XmlSchemaInfo.cs
- Serializer.cs
- SQLMoney.cs
- ConversionContext.cs
- XmlBinaryWriterSession.cs
- CodeDomSerializerException.cs
- PageCodeDomTreeGenerator.cs
- UTF8Encoding.cs
- XmlTextAttribute.cs
- HierarchicalDataSourceIDConverter.cs
- XmlNullResolver.cs
- MD5HashHelper.cs
- BitmapImage.cs
- BrowserDefinitionCollection.cs
- QilList.cs
- OpenTypeCommon.cs
- XmlTextWriter.cs
- Html32TextWriter.cs
- DynamicRendererThreadManager.cs
- SqlUtils.cs
- ExecutionEngineException.cs
- PageSettings.cs
- PathStreamGeometryContext.cs
- DayRenderEvent.cs
- WebPart.cs
- BitmapSourceSafeMILHandle.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- XmlChildEnumerator.cs
- HostingEnvironment.cs
- SingleObjectCollection.cs
- WebExceptionStatus.cs
- NameValuePair.cs
- SystemTcpStatistics.cs
- LexicalChunk.cs
- BaseResourcesBuildProvider.cs
- OLEDB_Enum.cs
- ActivityMarkupSerializationProvider.cs
- LineServicesCallbacks.cs
- ColumnHeader.cs
- LinqDataSourceStatusEventArgs.cs
- EntityKeyElement.cs
- PageFunction.cs
- DecoratedNameAttribute.cs
- FormattedText.cs
- XmlArrayAttribute.cs
- DbConnectionStringBuilder.cs
- Vertex.cs
- SerializationSectionGroup.cs