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
- ConfigurationSectionCollection.cs
- IPPacketInformation.cs
- InheritanceAttribute.cs
- ChannelManagerHelpers.cs
- DataGridTableStyleMappingNameEditor.cs
- SerializerProvider.cs
- SelfSignedCertificate.cs
- StrokeCollectionConverter.cs
- HttpModuleAction.cs
- NavigationExpr.cs
- FaultImportOptions.cs
- DispatcherEventArgs.cs
- COM2PictureConverter.cs
- TypeSchema.cs
- ThreadStartException.cs
- GestureRecognizer.cs
- EpmSyndicationContentDeSerializer.cs
- Operator.cs
- MatrixAnimationUsingPath.cs
- PixelFormats.cs
- SpStreamWrapper.cs
- WebPartEventArgs.cs
- NetworkInterface.cs
- MultipartIdentifier.cs
- WebDescriptionAttribute.cs
- ConfigXmlAttribute.cs
- SurrogateEncoder.cs
- RemoteHelper.cs
- ToolstripProfessionalRenderer.cs
- EventBuilder.cs
- BindingExpressionBase.cs
- RegexGroup.cs
- SqlProfileProvider.cs
- ScriptingRoleServiceSection.cs
- unsafenativemethodsother.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- EntityConnectionStringBuilder.cs
- BitmapEffectState.cs
- PreApplicationStartMethodAttribute.cs
- ComponentResourceManager.cs
- DataGridPagingPage.cs
- GridViewColumn.cs
- QueryReaderSettings.cs
- ClientScriptManagerWrapper.cs
- MetadataArtifactLoaderComposite.cs
- FieldTemplateUserControl.cs
- PenLineJoinValidation.cs
- util.cs
- BitmapEffectInputConnector.cs
- PartBasedPackageProperties.cs
- DecoderFallback.cs
- MethodAccessException.cs
- SerialPort.cs
- AssemblyName.cs
- XmlUtil.cs
- WebHttpElement.cs
- DataTableReaderListener.cs
- TableCell.cs
- XamlClipboardData.cs
- SqlParameter.cs
- XmlIlVisitor.cs
- DataGridViewCellConverter.cs
- ExpressionTextBox.xaml.cs
- PropertyValidationContext.cs
- ValueUtilsSmi.cs
- DesignTimeType.cs
- SafeCertificateStore.cs
- ItemsControl.cs
- ContainerActivationHelper.cs
- ObjectItemConventionAssemblyLoader.cs
- Dispatcher.cs
- TypeContext.cs
- HttpListenerContext.cs
- XamlFxTrace.cs
- LockRecursionException.cs
- ManagementClass.cs
- TemplateLookupAction.cs
- CodeNamespaceCollection.cs
- TypeContext.cs
- ListViewUpdatedEventArgs.cs
- NestedContainer.cs
- RetrieveVirtualItemEventArgs.cs
- EntityDescriptor.cs
- MemberMaps.cs
- GridViewEditEventArgs.cs
- TiffBitmapEncoder.cs
- WindowShowOrOpenTracker.cs
- MexHttpBindingElement.cs
- InputLanguageCollection.cs
- SafeHandles.cs
- EventLogRecord.cs
- DefaultAssemblyResolver.cs
- Serializer.cs
- XmlEntityReference.cs
- TrackingMemoryStream.cs
- HttpPostedFile.cs
- LiteralControl.cs
- Registry.cs
- TreeViewItemAutomationPeer.cs
- ControlBuilder.cs