Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Shared / MS / Internal / Generated / EdgeProfileValidation.cs / 1 / EdgeProfileValidation.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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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
- RootAction.cs
- FontEmbeddingManager.cs
- XmlRawWriter.cs
- URI.cs
- SymmetricCryptoHandle.cs
- RawMouseInputReport.cs
- contentDescriptor.cs
- ProxyFragment.cs
- VisualStateGroup.cs
- WebPartDescription.cs
- CollectionBuilder.cs
- smtppermission.cs
- SegmentInfo.cs
- FunctionUpdateCommand.cs
- FontFamilyIdentifier.cs
- CodeObjectCreateExpression.cs
- WindowsListViewGroupHelper.cs
- CompareInfo.cs
- TableDetailsRow.cs
- TextParagraphView.cs
- CornerRadiusConverter.cs
- XmlElement.cs
- HandlerBase.cs
- Int32KeyFrameCollection.cs
- SqlCommandSet.cs
- EventBindingService.cs
- DuplicateWaitObjectException.cs
- QuaternionAnimation.cs
- PropertyBuilder.cs
- UnmanagedHandle.cs
- UmAlQuraCalendar.cs
- WindowsRichEditRange.cs
- DispatcherObject.cs
- RowToFieldTransformer.cs
- NamespaceQuery.cs
- SchemaDeclBase.cs
- EventLogPermissionAttribute.cs
- LabelAutomationPeer.cs
- ActivityExecutionContext.cs
- PeerNearMe.cs
- XpsFixedPageReaderWriter.cs
- TheQuery.cs
- MenuStrip.cs
- Stackframe.cs
- FocusWithinProperty.cs
- SamlAssertion.cs
- PersonalizationProviderCollection.cs
- PersonalizationProviderCollection.cs
- CodeDirectionExpression.cs
- SqlWriter.cs
- AspProxy.cs
- TemplatedWizardStep.cs
- BadImageFormatException.cs
- StreamGeometryContext.cs
- MenuTracker.cs
- DataErrorValidationRule.cs
- RenderDataDrawingContext.cs
- UpDownEvent.cs
- RowBinding.cs
- AlphabeticalEnumConverter.cs
- FormatConvertedBitmap.cs
- ManagementScope.cs
- TrackingServices.cs
- InputQueueChannelAcceptor.cs
- XmlNodeList.cs
- TextSpan.cs
- RequestQueue.cs
- EventMemberCodeDomSerializer.cs
- SiteMap.cs
- ToolStripDropDownItem.cs
- CapacityStreamGeometryContext.cs
- XamlParser.cs
- WorkItem.cs
- HiddenField.cs
- Stacktrace.cs
- SqlDataSourceStatusEventArgs.cs
- OracleBoolean.cs
- SafeNativeMethods.cs
- ResourceDisplayNameAttribute.cs
- GridViewCellAutomationPeer.cs
- InvalidWMPVersionException.cs
- TreeView.cs
- EpmCustomContentDeSerializer.cs
- _NegotiateClient.cs
- ZoomPercentageConverter.cs
- ListMarkerLine.cs
- HttpDebugHandler.cs
- DispatcherProcessingDisabled.cs
- InlineCollection.cs
- BuildTopDownAttribute.cs
- FilteredDataSetHelper.cs
- ImageCollectionCodeDomSerializer.cs
- ColorConvertedBitmap.cs
- TableDetailsRow.cs
- WmlCalendarAdapter.cs
- RowVisual.cs
- NavigationEventArgs.cs
- SQLInt64.cs
- ProfileProvider.cs
- MembershipUser.cs