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
- ControlBuilder.cs
- TextTrailingWordEllipsis.cs
- TreeWalker.cs
- ProtocolsConfigurationEntry.cs
- ListViewEditEventArgs.cs
- HtmlInputHidden.cs
- BitmapScalingModeValidation.cs
- DataGridViewIntLinkedList.cs
- ThemeDirectoryCompiler.cs
- PersistChildrenAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DrawingContext.cs
- XPathPatternBuilder.cs
- TextEffect.cs
- CatalogZoneBase.cs
- PropertyInfoSet.cs
- DataSourceHelper.cs
- LocalIdKeyIdentifierClause.cs
- MarkupExtensionParser.cs
- FontStretch.cs
- AccessibleObject.cs
- BulletedListEventArgs.cs
- CacheMode.cs
- XamlStackWriter.cs
- BaseHashHelper.cs
- IssuedTokenParametersElement.cs
- EmptyStringExpandableObjectConverter.cs
- ValidatingPropertiesEventArgs.cs
- WorkerRequest.cs
- Quack.cs
- ApplicationCommands.cs
- SafeNativeMethods.cs
- ExpressionNormalizer.cs
- StateManagedCollection.cs
- SuppressMergeCheckAttribute.cs
- ImageResources.Designer.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- WorkflowRuntimeServiceElement.cs
- MembershipAdapter.cs
- XmlSchemaFacet.cs
- HashCodeCombiner.cs
- Storyboard.cs
- TableRow.cs
- LongValidatorAttribute.cs
- GroupedContextMenuStrip.cs
- HtmlShimManager.cs
- CacheEntry.cs
- PartDesigner.cs
- _ListenerAsyncResult.cs
- SettingsBase.cs
- ClientBuildManagerCallback.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TextRangeEditLists.cs
- CollectionDataContractAttribute.cs
- AdvancedBindingPropertyDescriptor.cs
- Error.cs
- GridViewCellAutomationPeer.cs
- QilTypeChecker.cs
- MemberProjectionIndex.cs
- ZoneButton.cs
- SafeProcessHandle.cs
- FlowDocument.cs
- Util.cs
- SchemaNotation.cs
- WebPartEditorOkVerb.cs
- MenuAutoFormat.cs
- RowUpdatedEventArgs.cs
- AuthStoreRoleProvider.cs
- SystemIcmpV4Statistics.cs
- XPathAxisIterator.cs
- OverrideMode.cs
- InputBinder.cs
- CodeTypeParameterCollection.cs
- FlowDocumentView.cs
- CodeAttributeDeclaration.cs
- StringArrayConverter.cs
- EnumerableRowCollectionExtensions.cs
- SettingsPropertyNotFoundException.cs
- DataGridViewLinkColumn.cs
- ConfigurationManagerInternalFactory.cs
- HMACSHA512.cs
- ContentFilePart.cs
- DiagnosticsElement.cs
- StickyNoteHelper.cs
- EncodingInfo.cs
- WebHttpBehavior.cs
- SystemColorTracker.cs
- ParserOptions.cs
- Compiler.cs
- EpmContentSerializerBase.cs
- WebHostedComPlusServiceHost.cs
- thaishape.cs
- DictionaryCustomTypeDescriptor.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- HttpContext.cs
- ConfigXmlSignificantWhitespace.cs
- TypeUnloadedException.cs
- XamlFxTrace.cs
- SQLInt16Storage.cs
- SamlAudienceRestrictionCondition.cs