Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Shared / MS / Internal / Generated / TileModeValidation.cs / 1 / TileModeValidation.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 IsTileModeValid(object valueObject) { TileMode value = (TileMode) valueObject; return (value == TileMode.None) || (value == TileMode.Tile) || (value == TileMode.FlipX) || (value == TileMode.FlipY) || (value == TileMode.FlipXY); } } } // 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. // //--------------------------------------------------------------------------- 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 IsTileModeValid(object valueObject) { TileMode value = (TileMode) valueObject; return (value == TileMode.None) || (value == TileMode.Tile) || (value == TileMode.FlipX) || (value == TileMode.FlipY) || (value == TileMode.FlipXY); } } } // 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
- SoapCommonClasses.cs
- DataGridComponentEditor.cs
- fixedPageContentExtractor.cs
- SiteMapHierarchicalDataSourceView.cs
- DeviceContext2.cs
- SqlDataReader.cs
- SqlFlattener.cs
- ConstNode.cs
- RectValueSerializer.cs
- TokenBasedSet.cs
- TimeSpanOrInfiniteConverter.cs
- BinaryObjectInfo.cs
- QuaternionAnimation.cs
- XmlNodeChangedEventArgs.cs
- ProxyAttribute.cs
- ReceiveCompletedEventArgs.cs
- XmlFormatWriterGenerator.cs
- GiveFeedbackEventArgs.cs
- HashSet.cs
- LocalIdKeyIdentifierClause.cs
- WebZone.cs
- IdentityModelStringsVersion1.cs
- XmlException.cs
- Triplet.cs
- DataGridView.cs
- Journal.cs
- XmlSerializer.cs
- Message.cs
- BitmapCodecInfoInternal.cs
- DeclarativeCatalogPart.cs
- RbTree.cs
- GeneratedContractType.cs
- TraceContextEventArgs.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- FactoryRecord.cs
- SessionEndingCancelEventArgs.cs
- ProviderManager.cs
- SecurityException.cs
- ExpressionNormalizer.cs
- HttpClientCertificate.cs
- HtmlElement.cs
- DataSourceCacheDurationConverter.cs
- TaskFileService.cs
- SHA1.cs
- RuntimeWrappedException.cs
- CodeCatchClause.cs
- ClientApiGenerator.cs
- MetadataException.cs
- ExpressionNode.cs
- FeatureAttribute.cs
- processwaithandle.cs
- DisplayClaim.cs
- NumericExpr.cs
- DataSpaceManager.cs
- Emitter.cs
- GenericIdentity.cs
- TypeSystemHelpers.cs
- ImmComposition.cs
- StrokeCollection.cs
- BoundColumn.cs
- IssuanceLicense.cs
- HttpResponse.cs
- FrameworkRichTextComposition.cs
- HwndHostAutomationPeer.cs
- HtmlFormAdapter.cs
- LicenseManager.cs
- StringDictionary.cs
- FileRecordSequenceCompletedAsyncResult.cs
- FontWeightConverter.cs
- Substitution.cs
- Util.cs
- PackWebRequest.cs
- PageClientProxyGenerator.cs
- ValidatedControlConverter.cs
- FragmentQueryProcessor.cs
- WindowsBrush.cs
- ColorKeyFrameCollection.cs
- Repeater.cs
- ToolStripSeparatorRenderEventArgs.cs
- TraceHandler.cs
- SelectionEditor.cs
- Point.cs
- ParameterCollection.cs
- XmlIlGenerator.cs
- ReverseInheritProperty.cs
- FileUtil.cs
- FormViewActionList.cs
- InstancePersistenceContext.cs
- HttpModuleCollection.cs
- XmlSerializer.cs
- DbParameterHelper.cs
- XslTransform.cs
- X509Chain.cs
- AsyncCompletedEventArgs.cs
- UnsafeNativeMethods.cs
- DecimalAverageAggregationOperator.cs
- TextEditorCopyPaste.cs
- DependencyProperty.cs
- DesignerValidationSummaryAdapter.cs
- MissingFieldException.cs