Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- DataGridViewColumn.cs
- Process.cs
- RemotingSurrogateSelector.cs
- __TransparentProxy.cs
- GradientStop.cs
- XmlArrayAttribute.cs
- EntityDesignerBuildProvider.cs
- InvalidEnumArgumentException.cs
- EntityType.cs
- Html32TextWriter.cs
- QueryStringParameter.cs
- XmlSchemaImporter.cs
- EntityModelBuildProvider.cs
- SystemInformation.cs
- TypeContext.cs
- GacUtil.cs
- FileDialogCustomPlace.cs
- ImageMapEventArgs.cs
- AsymmetricSignatureFormatter.cs
- TCEAdapterGenerator.cs
- Policy.cs
- TableLayoutColumnStyleCollection.cs
- XNodeNavigator.cs
- WindowCollection.cs
- HostingEnvironment.cs
- RequestCacheManager.cs
- SQLStringStorage.cs
- CuspData.cs
- CustomErrorsSection.cs
- EventEntry.cs
- HttpVersion.cs
- DataGridViewCellCancelEventArgs.cs
- FastEncoderWindow.cs
- SqlDataSourceFilteringEventArgs.cs
- SessionStateModule.cs
- XhtmlBasicValidationSummaryAdapter.cs
- SaveFileDialog.cs
- DelegateArgumentValue.cs
- WpfMemberInvoker.cs
- TextEndOfSegment.cs
- FileFormatException.cs
- KnownAssemblyEntry.cs
- Filter.cs
- BidPrivateBase.cs
- BoolLiteral.cs
- AuthenticodeSignatureInformation.cs
- FrameworkContextData.cs
- ArglessEventHandlerProxy.cs
- DataKey.cs
- CatalogPartCollection.cs
- codemethodreferenceexpression.cs
- EdmType.cs
- Animatable.cs
- TransactionProtocolConverter.cs
- ProcessHostServerConfig.cs
- COM2AboutBoxPropertyDescriptor.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ExternalFile.cs
- RuntimeConfigLKG.cs
- LassoHelper.cs
- Set.cs
- ProfilePropertyNameValidator.cs
- Converter.cs
- FloaterBaseParagraph.cs
- DelegatingTypeDescriptionProvider.cs
- DataKey.cs
- ConnectAlgorithms.cs
- FunctionDescription.cs
- cryptoapiTransform.cs
- SymbolMethod.cs
- UnionExpr.cs
- ClientFormsIdentity.cs
- HwndHost.cs
- TryCatchDesigner.xaml.cs
- ActivityExecutionContextCollection.cs
- ResourcePermissionBaseEntry.cs
- DataControlField.cs
- UntrustedRecipientException.cs
- OrderedEnumerableRowCollection.cs
- MenuItem.cs
- EventEntry.cs
- RequestTimeoutManager.cs
- HeaderedContentControl.cs
- PermissionToken.cs
- ExpressionDumper.cs
- XamlVector3DCollectionSerializer.cs
- DataGridAddNewRow.cs
- CodeEventReferenceExpression.cs
- SurrogateDataContract.cs
- xamlnodes.cs
- EraserBehavior.cs
- EditingMode.cs
- TemplateComponentConnector.cs
- ProcessProtocolHandler.cs
- MethodCallTranslator.cs
- AttachmentCollection.cs
- ObservableCollection.cs
- WindowsRegion.cs
- BulletedListEventArgs.cs
- DbProviderFactories.cs