Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- CreateUserErrorEventArgs.cs
- OutOfProcStateClientManager.cs
- PrivateFontCollection.cs
- LightweightCodeGenerator.cs
- NativeActivityAbortContext.cs
- ChannelServices.cs
- Int32.cs
- _LocalDataStoreMgr.cs
- InheritanceContextHelper.cs
- DynamicActionMessageFilter.cs
- IListConverters.cs
- ErasingStroke.cs
- StrongTypingException.cs
- InvalidOleVariantTypeException.cs
- HttpRuntime.cs
- ArrayHelper.cs
- RoutedEventConverter.cs
- HttpsTransportElement.cs
- OneToOneMappingSerializer.cs
- SecurityMode.cs
- Pair.cs
- TcpServerChannel.cs
- EventLogTraceListener.cs
- TableDetailsRow.cs
- remotingproxy.cs
- MouseCaptureWithinProperty.cs
- ExpressionStringBuilder.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- ChangePassword.cs
- InternalSafeNativeMethods.cs
- SiblingIterators.cs
- StringValueConverter.cs
- ExpandSegmentCollection.cs
- XmlSerializerNamespaces.cs
- ForwardPositionQuery.cs
- DataTableMappingCollection.cs
- SimpleExpression.cs
- securitycriticaldataformultiplegetandset.cs
- DoubleUtil.cs
- UnsafeNativeMethods.cs
- ClientSponsor.cs
- StoragePropertyMapping.cs
- EdmFunction.cs
- AvTrace.cs
- InheritanceService.cs
- XmlSerializableServices.cs
- PeerApplicationLaunchInfo.cs
- FileStream.cs
- Menu.cs
- RenderContext.cs
- KeyBinding.cs
- EnumerableRowCollection.cs
- LinqDataSourceContextEventArgs.cs
- ListItemConverter.cs
- RealizationContext.cs
- BrushMappingModeValidation.cs
- TextEffect.cs
- MarshalByValueComponent.cs
- AdjustableArrowCap.cs
- TextBoxLine.cs
- XamlPoint3DCollectionSerializer.cs
- CompositeFontParser.cs
- DataGridViewSelectedCellCollection.cs
- AppDomainGrammarProxy.cs
- BamlStream.cs
- HandlerFactoryWrapper.cs
- BinarySerializer.cs
- TextShapeableCharacters.cs
- ExpressionConverter.cs
- OdbcFactory.cs
- Panel.cs
- Decoder.cs
- coordinatorscratchpad.cs
- TextReader.cs
- FunctionDetailsReader.cs
- RenderOptions.cs
- HostingEnvironmentException.cs
- DataException.cs
- DataServiceClientException.cs
- hwndwrapper.cs
- MessageRpc.cs
- LinqDataSourceDeleteEventArgs.cs
- PolyLineSegment.cs
- TableRowCollection.cs
- LingerOption.cs
- WebPartUserCapability.cs
- DataBindingCollectionConverter.cs
- SQlBooleanStorage.cs
- ThreadStartException.cs
- ManagementObjectSearcher.cs
- SiteMapNodeItem.cs
- ProjectedSlot.cs
- WebBaseEventKeyComparer.cs
- LambdaCompiler.Unary.cs
- JpegBitmapEncoder.cs
- Utilities.cs
- DataGridViewHeaderCell.cs
- RpcCryptoContext.cs
- ResXResourceWriter.cs
- ItemsPresenter.cs