Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- FigureParagraph.cs
- ECDiffieHellmanCngPublicKey.cs
- SqlDependency.cs
- HttpRequestCacheValidator.cs
- SqlDataSourceCommandEventArgs.cs
- CodeRemoveEventStatement.cs
- MaskedTextBox.cs
- PolyQuadraticBezierSegment.cs
- EndOfStreamException.cs
- EditorZoneBase.cs
- DataReaderContainer.cs
- ViewStateException.cs
- HttpHandlersSection.cs
- SettingsSavedEventArgs.cs
- ButtonAutomationPeer.cs
- Opcode.cs
- OleDbDataAdapter.cs
- DateTimeParse.cs
- Utils.cs
- Math.cs
- QilInvokeEarlyBound.cs
- UpDownBase.cs
- EntityDataSourceChangingEventArgs.cs
- RecognizerInfo.cs
- Quad.cs
- SubqueryRules.cs
- ConnectionPointCookie.cs
- WindowsNonControl.cs
- UpnEndpointIdentityExtension.cs
- TreeNodeEventArgs.cs
- CollectionViewGroupInternal.cs
- ViewStateException.cs
- FullTextLine.cs
- DefaultAssemblyResolver.cs
- RecordsAffectedEventArgs.cs
- PropertyKey.cs
- SessionStateModule.cs
- SqlUtils.cs
- ArgumentOutOfRangeException.cs
- GridViewRowCollection.cs
- StatusBarDrawItemEvent.cs
- FirstMatchCodeGroup.cs
- XmlAnyElementAttribute.cs
- StreamSecurityUpgradeAcceptorBase.cs
- MultipleViewPattern.cs
- OrderByQueryOptionExpression.cs
- PrinterUnitConvert.cs
- Internal.cs
- EditorBrowsableAttribute.cs
- oledbconnectionstring.cs
- DataGridViewCellCollection.cs
- BasicViewGenerator.cs
- WinFormsSpinner.cs
- SimpleLine.cs
- SynchronizationContext.cs
- LockedHandleGlyph.cs
- IsolatedStorageFilePermission.cs
- HandlerBase.cs
- ToolStripItemEventArgs.cs
- BaseValidator.cs
- Wizard.cs
- XamlRtfConverter.cs
- PageClientProxyGenerator.cs
- LayoutEngine.cs
- WindowsListViewItemCheckBox.cs
- PropertyChangedEventArgs.cs
- FormatSettings.cs
- ZoneIdentityPermission.cs
- GatewayIPAddressInformationCollection.cs
- AnnotationResourceCollection.cs
- UserControl.cs
- HttpDictionary.cs
- FontFamily.cs
- XmlDigitalSignatureProcessor.cs
- handlecollector.cs
- DataGridViewRowPrePaintEventArgs.cs
- ValueType.cs
- FrugalMap.cs
- WaitForChangedResult.cs
- Msmq4SubqueuePoisonHandler.cs
- VirtualPath.cs
- LoginCancelEventArgs.cs
- SizeChangedEventArgs.cs
- ToolStripRendererSwitcher.cs
- ExpressionTable.cs
- ForwardPositionQuery.cs
- AsymmetricKeyExchangeFormatter.cs
- OptimizerPatterns.cs
- EventProvider.cs
- AttributeCollection.cs
- DeleteMemberBinder.cs
- DocumentsTrace.cs
- PrintPreviewDialog.cs
- StorageModelBuildProvider.cs
- ObjectRef.cs
- WebFaultException.cs
- LogicalExpr.cs
- SocketInformation.cs
- GradientSpreadMethodValidation.cs
- CategoryNameCollection.cs