Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- SettingsAttributes.cs
- Content.cs
- Configuration.cs
- TraceSection.cs
- BrushConverter.cs
- BreadCrumbTextConverter.cs
- TextTreeNode.cs
- IgnoreSection.cs
- StringFunctions.cs
- DataTableReader.cs
- XmlNamespaceManager.cs
- TextBoxView.cs
- MultipleCopiesCollection.cs
- ConvertersCollection.cs
- SiteMembershipCondition.cs
- XmlSchema.cs
- DataGridPagerStyle.cs
- TemplateControlCodeDomTreeGenerator.cs
- ProgressChangedEventArgs.cs
- EncoderParameter.cs
- ObjectIDGenerator.cs
- WindowsEditBox.cs
- RowUpdatedEventArgs.cs
- DPTypeDescriptorContext.cs
- TextServicesProperty.cs
- XmlElementElement.cs
- Trace.cs
- SizeF.cs
- IFormattable.cs
- ComponentResourceKeyConverter.cs
- DataGridRow.cs
- DataSourceSerializationException.cs
- ToolStripDropDownMenu.cs
- WebServiceHandler.cs
- TreeView.cs
- MimeTypeMapper.cs
- selecteditemcollection.cs
- ComplexLine.cs
- ObjectHandle.cs
- DocumentViewerBaseAutomationPeer.cs
- IPGlobalProperties.cs
- RoutedUICommand.cs
- HttpConfigurationSystem.cs
- UITypeEditor.cs
- TemplateContent.cs
- BufferBuilder.cs
- FileChangeNotifier.cs
- MLangCodePageEncoding.cs
- DbExpressionVisitor.cs
- BasicExpandProvider.cs
- DbReferenceCollection.cs
- DispatcherProcessingDisabled.cs
- OleDbCommandBuilder.cs
- HttpContext.cs
- Activity.cs
- ViewCellRelation.cs
- HostExecutionContextManager.cs
- ReadOnlyCollectionBase.cs
- ToolStripTextBox.cs
- CachedRequestParams.cs
- SmtpNetworkElement.cs
- Camera.cs
- WSFederationHttpBindingElement.cs
- FrameworkName.cs
- SecurityContext.cs
- Rotation3DAnimation.cs
- Size3D.cs
- ClientRoleProvider.cs
- DataGridHelper.cs
- StateWorkerRequest.cs
- PathFigure.cs
- UriSectionData.cs
- StateDesignerConnector.cs
- PerfCounterSection.cs
- CompModSwitches.cs
- _SpnDictionary.cs
- SafeRightsManagementQueryHandle.cs
- Stylesheet.cs
- ImageDrawing.cs
- TdsParserHelperClasses.cs
- TargetPerspective.cs
- List.cs
- XpsResourcePolicy.cs
- StylusPointPropertyInfo.cs
- CodeArgumentReferenceExpression.cs
- WebBrowserNavigatedEventHandler.cs
- CodeTypeConstructor.cs
- TemplateFactory.cs
- EnumType.cs
- CodeTypeConstructor.cs
- DbProviderServices.cs
- SequentialOutput.cs
- SessionStateUtil.cs
- SoapFaultCodes.cs
- Int32Storage.cs
- TrackingDataItem.cs
- DataSourceHelper.cs
- RegistrySecurity.cs
- WebBaseEventKeyComparer.cs
- StringInfo.cs