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
- Brush.cs
- CommonDialog.cs
- TextBoxRenderer.cs
- Enum.cs
- XsltConvert.cs
- SafeLocalMemHandle.cs
- SqlDataSourceStatusEventArgs.cs
- MessageContractAttribute.cs
- LoadWorkflowAsyncResult.cs
- PrintingPermissionAttribute.cs
- WebBrowserHelper.cs
- SoapAttributes.cs
- PartialArray.cs
- SQLBinary.cs
- XmlValueConverter.cs
- AlignmentYValidation.cs
- Misc.cs
- Stack.cs
- CodeAttributeArgument.cs
- RegexInterpreter.cs
- PropertyGrid.cs
- BitmapEffectDrawing.cs
- ContainerControl.cs
- ViewStateException.cs
- OrderPreservingPipeliningMergeHelper.cs
- StoreAnnotationsMap.cs
- TypeExtension.cs
- CorrelationKey.cs
- BooleanSwitch.cs
- ReflectEventDescriptor.cs
- SplitContainerDesigner.cs
- ToolboxItemFilterAttribute.cs
- EnumerableCollectionView.cs
- TypeContext.cs
- VolatileEnlistmentMultiplexing.cs
- UnknownBitmapDecoder.cs
- XmlCollation.cs
- GroupBox.cs
- XmlSchemaAny.cs
- DataSourceXmlSubItemAttribute.cs
- MarkupWriter.cs
- ListViewUpdatedEventArgs.cs
- PrintDialogException.cs
- PixelFormat.cs
- LicenseProviderAttribute.cs
- httpstaticobjectscollection.cs
- TrustLevelCollection.cs
- WmpBitmapDecoder.cs
- SecurityTokenResolver.cs
- LayoutSettings.cs
- DirectionalLight.cs
- _AuthenticationState.cs
- ControlEvent.cs
- CommandEventArgs.cs
- CacheSection.cs
- RawContentTypeMapper.cs
- ParsedAttributeCollection.cs
- XmlILOptimizerVisitor.cs
- ToolStripItemTextRenderEventArgs.cs
- XmlLanguageConverter.cs
- Activity.cs
- SpeakCompletedEventArgs.cs
- FileChangeNotifier.cs
- BasicCellRelation.cs
- TreeNodeCollection.cs
- Pair.cs
- IndentTextWriter.cs
- ViewSimplifier.cs
- UnsafeNativeMethods.cs
- ObjectAnimationBase.cs
- WebServiceErrorEvent.cs
- FileDialogCustomPlace.cs
- EntityViewContainer.cs
- SocketAddress.cs
- GridViewUpdateEventArgs.cs
- OutputScope.cs
- Touch.cs
- LinkGrep.cs
- UserNameSecurityTokenProvider.cs
- HttpCacheVary.cs
- ScriptManager.cs
- XPathEmptyIterator.cs
- TextServicesManager.cs
- XmlCodeExporter.cs
- FontDifferentiator.cs
- FixedSOMTableRow.cs
- SafeEventHandle.cs
- TextDpi.cs
- ActivityCodeDomSerializer.cs
- EnlistmentState.cs
- DataObjectMethodAttribute.cs
- WebScriptEnablingBehavior.cs
- hresults.cs
- ViewCellRelation.cs
- AttributeProviderAttribute.cs
- ErrorFormatterPage.cs
- PlaceHolder.cs
- XmlILConstructAnalyzer.cs
- ControlFilterExpression.cs
- SemanticKeyElement.cs