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
- NameTable.cs
- OdbcHandle.cs
- SoapHttpTransportImporter.cs
- SimpleRecyclingCache.cs
- ValueTable.cs
- _PooledStream.cs
- GenerateHelper.cs
- TextChange.cs
- RTTypeWrapper.cs
- CompositeDataBoundControl.cs
- PreservationFileReader.cs
- BrowsableAttribute.cs
- AudioLevelUpdatedEventArgs.cs
- GAC.cs
- TransformDescriptor.cs
- ConfigUtil.cs
- ArrayHelper.cs
- HttpResponse.cs
- Vector3DAnimationUsingKeyFrames.cs
- RotateTransform.cs
- BindableAttribute.cs
- WebPartDeleteVerb.cs
- PageBuildProvider.cs
- _TransmitFileOverlappedAsyncResult.cs
- WebPartMenuStyle.cs
- DBSqlParserTable.cs
- FlowLayoutPanelDesigner.cs
- cache.cs
- LineGeometry.cs
- AccessibleObject.cs
- StateManagedCollection.cs
- FormatControl.cs
- columnmapfactory.cs
- coordinator.cs
- Switch.cs
- LineServicesCallbacks.cs
- WebPartConnectionsDisconnectVerb.cs
- ListDictionaryInternal.cs
- StateDesigner.TransitionInfo.cs
- FrameworkRichTextComposition.cs
- RetriableClipboard.cs
- SqlDataSourceQueryEditor.cs
- LineSegment.cs
- CodeGenerator.cs
- ColumnCollection.cs
- TextEncodedRawTextWriter.cs
- RenameRuleObjectDialog.Designer.cs
- UnsafeNativeMethodsTablet.cs
- SourceFileBuildProvider.cs
- DesignRelationCollection.cs
- WebPartEventArgs.cs
- AttachedPropertyMethodSelector.cs
- NameService.cs
- SqlNamer.cs
- OptimizerPatterns.cs
- TagMapInfo.cs
- M3DUtil.cs
- InfoCardRSACryptoProvider.cs
- ExternalCalls.cs
- FloatMinMaxAggregationOperator.cs
- coordinator.cs
- SmiXetterAccessMap.cs
- DataServiceRequestOfT.cs
- TreeNodeStyle.cs
- JsonQueryStringConverter.cs
- PropertyPathConverter.cs
- SqlRemoveConstantOrderBy.cs
- DataObject.cs
- CssClassPropertyAttribute.cs
- WebPartMenuStyle.cs
- ContentPresenter.cs
- SqlProfileProvider.cs
- VerificationException.cs
- ValidatedControlConverter.cs
- XmlSchemaValidationException.cs
- MatrixIndependentAnimationStorage.cs
- GridViewItemAutomationPeer.cs
- FileLogRecordHeader.cs
- Tokenizer.cs
- UniqueIdentifierService.cs
- ModelVisual3D.cs
- CodeStatementCollection.cs
- MetadataSerializer.cs
- ScrollProperties.cs
- ComboBox.cs
- PrintControllerWithStatusDialog.cs
- TextEditorSpelling.cs
- DataGridPagerStyle.cs
- CollectionTraceRecord.cs
- RectangleHotSpot.cs
- SecurityState.cs
- DataListItemEventArgs.cs
- WindowsGraphics.cs
- CounterCreationData.cs
- FilterEventArgs.cs
- WebPartsPersonalization.cs
- precedingsibling.cs
- DetailsViewDeletedEventArgs.cs
- CodeChecksumPragma.cs
- GridViewColumnHeaderAutomationPeer.cs