Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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 [....]/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
- EventHandlerList.cs
- DataRelationPropertyDescriptor.cs
- TreeNodeClickEventArgs.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- XmlSchemaDatatype.cs
- RadioButton.cs
- Token.cs
- Size3D.cs
- PenCursorManager.cs
- PrivateFontCollection.cs
- TextBoxLine.cs
- AssemblySettingAttributes.cs
- Properties.cs
- CollectionChangeEventArgs.cs
- ScriptIgnoreAttribute.cs
- DetailsViewInsertEventArgs.cs
- RulePatternOps.cs
- SourceFileBuildProvider.cs
- DatatypeImplementation.cs
- NotifyParentPropertyAttribute.cs
- Calendar.cs
- DummyDataSource.cs
- BinaryNode.cs
- DataKey.cs
- WinEventTracker.cs
- CodeSnippetTypeMember.cs
- SyncOperationState.cs
- CanExecuteRoutedEventArgs.cs
- OutputCacheSettings.cs
- ObjectQueryState.cs
- ApplicationManager.cs
- ToolStripGrip.cs
- IndentedWriter.cs
- UIElement3D.cs
- BooleanExpr.cs
- ComboBoxRenderer.cs
- ScrollBarRenderer.cs
- AutomationPeer.cs
- PseudoWebRequest.cs
- List.cs
- StructuralObject.cs
- InfoCardKeyedHashAlgorithm.cs
- WebBrowserEvent.cs
- WebPartDeleteVerb.cs
- ObjectDataSourceChooseMethodsPanel.cs
- ExtensibleClassFactory.cs
- RestClientProxyHandler.cs
- FormClosedEvent.cs
- BinaryFormatterWriter.cs
- XPathAxisIterator.cs
- SafeRightsManagementEnvironmentHandle.cs
- OdbcConnectionString.cs
- SamlAuthorityBinding.cs
- HWStack.cs
- MethodExpression.cs
- AnimationException.cs
- HttpBindingExtension.cs
- ValidatedMobileControlConverter.cs
- FormsAuthenticationCredentials.cs
- TreeChangeInfo.cs
- HttpWebRequest.cs
- SizeF.cs
- ArrangedElement.cs
- VisualBasicExpressionConverter.cs
- OleDbCommandBuilder.cs
- QueueSurrogate.cs
- SQLDecimalStorage.cs
- ProfilePropertyNameValidator.cs
- UnauthorizedWebPart.cs
- SerialReceived.cs
- TextServicesManager.cs
- AvtEvent.cs
- ListViewPagedDataSource.cs
- NamedPermissionSet.cs
- XmlSignificantWhitespace.cs
- NonParentingControl.cs
- AssemblyHash.cs
- DataRecord.cs
- ButtonFieldBase.cs
- ListView.cs
- DomainLiteralReader.cs
- XmlBoundElement.cs
- MatrixAnimationUsingPath.cs
- FileRecordSequenceCompletedAsyncResult.cs
- CookielessHelper.cs
- FillBehavior.cs
- IsolatedStorageFilePermission.cs
- BehaviorService.cs
- InternalBufferManager.cs
- DefaultHttpHandler.cs
- HitTestParameters.cs
- SecurityState.cs
- WebPartConnectionsConnectVerb.cs
- AuthorizationRule.cs
- _RequestCacheProtocol.cs
- TypeToken.cs
- RootProjectionNode.cs
- XmlDocumentFragment.cs
- AsyncSerializedWorker.cs
- BamlBinaryReader.cs