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
- BitStack.cs
- LexicalChunk.cs
- SqlDataSourceView.cs
- ZipIORawDataFileBlock.cs
- Unit.cs
- ListSortDescription.cs
- ToolboxCategory.cs
- XmlTextReader.cs
- PersonalizationEntry.cs
- ThreadPoolTaskScheduler.cs
- StrongName.cs
- StreamWriter.cs
- WsdlImporter.cs
- CodeTryCatchFinallyStatement.cs
- TextElement.cs
- VirtualPath.cs
- BreadCrumbTextConverter.cs
- BridgeDataRecord.cs
- ReliableSessionBindingElementImporter.cs
- ComponentEditorForm.cs
- InplaceBitmapMetadataWriter.cs
- ToolStripItemClickedEventArgs.cs
- AddDataControlFieldDialog.cs
- TextDecorationLocationValidation.cs
- ActiveXHost.cs
- HScrollBar.cs
- EventPropertyMap.cs
- AttachmentService.cs
- EmptyStringExpandableObjectConverter.cs
- RowToFieldTransformer.cs
- CurrencyManager.cs
- PropertyKey.cs
- CursorConverter.cs
- CodeSnippetTypeMember.cs
- CompositeDataBoundControl.cs
- UserUseLicenseDictionaryLoader.cs
- BinHexEncoder.cs
- XmlHierarchicalDataSourceView.cs
- XmlText.cs
- StorageBasedPackageProperties.cs
- LinkGrep.cs
- DispatcherTimer.cs
- BasicCellRelation.cs
- _TransmitFileOverlappedAsyncResult.cs
- InstanceOwner.cs
- COMException.cs
- EdmItemCollection.OcAssemblyCache.cs
- CaseCqlBlock.cs
- SafeViewOfFileHandle.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- SiteMapNodeCollection.cs
- LinkButton.cs
- RSAProtectedConfigurationProvider.cs
- DefaultWorkflowSchedulerService.cs
- ProfileEventArgs.cs
- WebZoneDesigner.cs
- xmlglyphRunInfo.cs
- TraceUtils.cs
- SettingsAttributes.cs
- XamlVector3DCollectionSerializer.cs
- SubstitutionDesigner.cs
- Win32.cs
- ComponentCommands.cs
- CombinedGeometry.cs
- Decoder.cs
- Soap12ServerProtocol.cs
- OleDbConnectionInternal.cs
- SettingsBindableAttribute.cs
- BooleanStorage.cs
- DynamicValueConverter.cs
- QueryStack.cs
- remotingproxy.cs
- LocationUpdates.cs
- ButtonRenderer.cs
- ThumbAutomationPeer.cs
- RightNameExpirationInfoPair.cs
- Pair.cs
- ChangePassword.cs
- DataSvcMapFileSerializer.cs
- Pair.cs
- UpdateManifestForBrowserApplication.cs
- ByteConverter.cs
- SrgsText.cs
- NavigateEvent.cs
- LinqDataSourceValidationException.cs
- MenuTracker.cs
- StrongName.cs
- ReadOnlyTernaryTree.cs
- DataBinder.cs
- CollectionConverter.cs
- DbParameterHelper.cs
- MultiplexingDispatchMessageFormatter.cs
- ValidationResult.cs
- Processor.cs
- BaseTemplatedMobileComponentEditor.cs
- FilterQuery.cs
- MonitoringDescriptionAttribute.cs
- StreamingContext.cs
- MetadataSection.cs
- ItemsChangedEventArgs.cs