Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / EdgeModeValidation.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FirewallWrapper.cs
- SamlAssertionKeyIdentifierClause.cs
- ManipulationVelocities.cs
- ObjectConverter.cs
- Material.cs
- XPathSelfQuery.cs
- EmptyReadOnlyDictionaryInternal.cs
- BlockUIContainer.cs
- ThaiBuddhistCalendar.cs
- ProfilePropertySettingsCollection.cs
- MultipartIdentifier.cs
- PartialArray.cs
- RtType.cs
- TextTreeRootTextBlock.cs
- HttpsTransportBindingElement.cs
- ToolStripItemCollection.cs
- ChangeNode.cs
- CannotUnloadAppDomainException.cs
- ExplicitDiscriminatorMap.cs
- IPEndPoint.cs
- InvalidOperationException.cs
- Membership.cs
- Point4DConverter.cs
- DataGridViewRowEventArgs.cs
- CodeAttributeDeclaration.cs
- ExpandSegment.cs
- StrongNameKeyPair.cs
- SerializableAttribute.cs
- SmtpException.cs
- TargetPerspective.cs
- CatalogPart.cs
- ExpressionNormalizer.cs
- AuthenticationConfig.cs
- LogSwitch.cs
- AppDomainAttributes.cs
- KeyToListMap.cs
- TemplateComponentConnector.cs
- ExpressionBuilderContext.cs
- ChtmlTextWriter.cs
- ToolTipAutomationPeer.cs
- TextHidden.cs
- NativeBuffer.cs
- TypeUsageBuilder.cs
- DbConnectionOptions.cs
- Pointer.cs
- FontStretchConverter.cs
- MethodRental.cs
- ChannelManager.cs
- BamlLocalizationDictionary.cs
- ExpressionBuilder.cs
- ElementNotEnabledException.cs
- RSAProtectedConfigurationProvider.cs
- SoapDocumentMethodAttribute.cs
- StylusLogic.cs
- Camera.cs
- UdpContractFilterBehavior.cs
- ToolTip.cs
- PrintEvent.cs
- StrokeIntersection.cs
- MergeLocalizationDirectives.cs
- AsyncResult.cs
- MouseBinding.cs
- LogicalExpressionEditor.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- MenuItemStyle.cs
- LongCountAggregationOperator.cs
- CmsInterop.cs
- PropertyTab.cs
- ButtonFieldBase.cs
- StoryFragments.cs
- CompositeClientFormatter.cs
- BasePropertyDescriptor.cs
- RegisteredExpandoAttribute.cs
- SocketPermission.cs
- UnionCodeGroup.cs
- WebBrowserNavigatingEventHandler.cs
- SiteMapSection.cs
- ClientTarget.cs
- PersonalizableAttribute.cs
- DependencyStoreSurrogate.cs
- XmlDictionaryString.cs
- TextEditorSelection.cs
- ConsoleCancelEventArgs.cs
- UrlAuthorizationModule.cs
- HandlerBase.cs
- EraserBehavior.cs
- UdpDuplexChannel.cs
- DataKeyCollection.cs
- SafeFileMapViewHandle.cs
- DbFunctionCommandTree.cs
- UriSection.cs
- DecimalAnimationBase.cs
- __TransparentProxy.cs
- AccessedThroughPropertyAttribute.cs
- ConsumerConnectionPointCollection.cs
- ArrayHelper.cs
- XmlSchemaSimpleTypeRestriction.cs
- XmlSchemaAppInfo.cs
- OrderedHashRepartitionEnumerator.cs
- PropertyIDSet.cs