Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ColorTransform.cs
- TCPClient.cs
- SatelliteContractVersionAttribute.cs
- IntSecurity.cs
- CustomErrorCollection.cs
- ComponentEditorForm.cs
- DynamicUpdateCommand.cs
- Dump.cs
- PackWebResponse.cs
- SortDescription.cs
- ReferencedCollectionType.cs
- EmptyEnumerator.cs
- ActiveXHelper.cs
- Memoizer.cs
- ColorAnimationBase.cs
- ButtonField.cs
- RtfControlWordInfo.cs
- UnknownBitmapEncoder.cs
- SerializerProvider.cs
- IdentityNotMappedException.cs
- ForeignConstraint.cs
- Base64Decoder.cs
- FontResourceCache.cs
- ReplacementText.cs
- PeerTransportElement.cs
- DataGridViewRowConverter.cs
- AsyncContentLoadedEventArgs.cs
- DiffuseMaterial.cs
- AdvancedBindingPropertyDescriptor.cs
- StrokeCollection.cs
- SignerInfo.cs
- MetadataArtifactLoaderCompositeResource.cs
- SqlPersonalizationProvider.cs
- DataGridRowHeaderAutomationPeer.cs
- BinaryMethodMessage.cs
- UpdatePanelTrigger.cs
- FilterableAttribute.cs
- newitemfactory.cs
- RoleService.cs
- OuterGlowBitmapEffect.cs
- EntityDataSourceDataSelectionPanel.cs
- TreeSet.cs
- CancellationHandlerDesigner.cs
- EmptyEnumerator.cs
- RoleManagerModule.cs
- InputReport.cs
- ServiceCredentialsSecurityTokenManager.cs
- ExeConfigurationFileMap.cs
- ObjectDataSourceEventArgs.cs
- ChtmlImageAdapter.cs
- ManipulationCompletedEventArgs.cs
- SignerInfo.cs
- QueryStringParameter.cs
- VisualBrush.cs
- PolyLineSegment.cs
- HandleValueEditor.cs
- FieldNameLookup.cs
- Propagator.JoinPropagator.cs
- HGlobalSafeHandle.cs
- XmlSchemaComplexContentExtension.cs
- TextRangeSerialization.cs
- ResXFileRef.cs
- DesignerWithHeader.cs
- SID.cs
- NetCodeGroup.cs
- CompilerScope.Storage.cs
- MarshalByRefObject.cs
- Parameter.cs
- ActivationServices.cs
- MasterPageParser.cs
- UriTemplateTableMatchCandidate.cs
- Logging.cs
- OracleColumn.cs
- SessionStateContainer.cs
- Base64Stream.cs
- COM2IPerPropertyBrowsingHandler.cs
- EventArgs.cs
- ClientSettingsStore.cs
- XmlSchemaComplexContent.cs
- RNGCryptoServiceProvider.cs
- FirstMatchCodeGroup.cs
- ResizeGrip.cs
- FusionWrap.cs
- XmlParserContext.cs
- Line.cs
- TriggerAction.cs
- FlowLayout.cs
- QueryStatement.cs
- OverlappedAsyncResult.cs
- XmlLanguageConverter.cs
- PersistChildrenAttribute.cs
- ByteRangeDownloader.cs
- ProjectionPlan.cs
- AnchorEditor.cs
- Atom10FormatterFactory.cs
- XmlIlTypeHelper.cs
- GlyphsSerializer.cs
- RectAnimationBase.cs
- AutomationTextAttribute.cs
- ClientScriptManagerWrapper.cs