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
- DataReaderContainer.cs
- TrustLevelCollection.cs
- TextElementCollectionHelper.cs
- SafeSecurityHandles.cs
- ObjectManager.cs
- HwndSubclass.cs
- RTTrackingProfile.cs
- DataBinding.cs
- DrawingContextDrawingContextWalker.cs
- GraphicsContext.cs
- SplitterDesigner.cs
- ImageSourceValueSerializer.cs
- RadioButtonBaseAdapter.cs
- VectorCollectionConverter.cs
- DbLambda.cs
- PrintDialog.cs
- NamespaceQuery.cs
- NamespaceMapping.cs
- FontConverter.cs
- MenuStrip.cs
- TypeForwardedToAttribute.cs
- ActiveXHost.cs
- ThreadInterruptedException.cs
- UpdatableGenericsFeature.cs
- PingReply.cs
- Point3DAnimationBase.cs
- MatrixUtil.cs
- ReadContentAsBinaryHelper.cs
- BufferedStream2.cs
- WebPartHelpVerb.cs
- Queue.cs
- TextRangeEditLists.cs
- ListSourceHelper.cs
- XmlTypeAttribute.cs
- ExtractedStateEntry.cs
- ITextView.cs
- GB18030Encoding.cs
- ErrorFormatter.cs
- XPathMessageFilterElementComparer.cs
- EventLogSession.cs
- WorkflowViewStateService.cs
- AspProxy.cs
- UpdateCommand.cs
- DbConnectionOptions.cs
- PublisherMembershipCondition.cs
- HijriCalendar.cs
- ProvideValueServiceProvider.cs
- AdvancedBindingEditor.cs
- EmptyImpersonationContext.cs
- WindowInteropHelper.cs
- SingleTagSectionHandler.cs
- DataGridViewTextBoxCell.cs
- SerializationException.cs
- RegexReplacement.cs
- EqualityComparer.cs
- ByteStorage.cs
- AssemblyNameProxy.cs
- RuntimeConfigurationRecord.cs
- GroupPartitionExpr.cs
- ModelTreeManager.cs
- ColumnMapVisitor.cs
- InputBuffer.cs
- DataBindingExpressionBuilder.cs
- PropVariant.cs
- ProcessProtocolHandler.cs
- JobCollate.cs
- JsonXmlDataContract.cs
- FileLevelControlBuilderAttribute.cs
- IQueryable.cs
- BindingManagerDataErrorEventArgs.cs
- ToolStripDropDown.cs
- SliderAutomationPeer.cs
- XpsResource.cs
- CommandConverter.cs
- BitmapDownload.cs
- _ShellExpression.cs
- WindowsEditBoxRange.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ValueSerializer.cs
- TableAutomationPeer.cs
- Mouse.cs
- DecimalSumAggregationOperator.cs
- DescendantQuery.cs
- UniqueIdentifierService.cs
- PropertyEntry.cs
- NameNode.cs
- Themes.cs
- OSEnvironmentHelper.cs
- SystemIPGlobalStatistics.cs
- CreateUserErrorEventArgs.cs
- XmlStreamStore.cs
- GcSettings.cs
- WindowsToolbarAsMenu.cs
- ExpressionBuilderContext.cs
- SharedDp.cs
- FtpRequestCacheValidator.cs
- SolidColorBrush.cs
- LassoSelectionBehavior.cs
- BindableAttribute.cs
- ArraySubsetEnumerator.cs