Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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 [....]/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
- SiteMapProvider.cs
- ObjectDataSourceFilteringEventArgs.cs
- HwndSource.cs
- BitmapEffectInputData.cs
- ThicknessAnimationBase.cs
- StackSpiller.Bindings.cs
- Icon.cs
- AtomMaterializer.cs
- Stroke2.cs
- RegistryDataKey.cs
- NamedPipeTransportSecurityElement.cs
- UnhandledExceptionEventArgs.cs
- Base64WriteStateInfo.cs
- ModifierKeysConverter.cs
- ReplacementText.cs
- IndexedDataBuffer.cs
- NamespaceCollection.cs
- WithParamAction.cs
- ServiceObjectContainer.cs
- FixedSOMTableCell.cs
- sqlpipe.cs
- WindowsProgressbar.cs
- mediaclock.cs
- StylusPointProperties.cs
- Pens.cs
- Range.cs
- ViewGenResults.cs
- SqlProfileProvider.cs
- DefaultShape.cs
- Gdiplus.cs
- TrackBarDesigner.cs
- ListViewGroupCollectionEditor.cs
- KnownTypeHelper.cs
- DataGridViewDataConnection.cs
- XamlSerializerUtil.cs
- SqlTransaction.cs
- WebPartMenuStyle.cs
- BasicHttpSecurityElement.cs
- SqlAggregateChecker.cs
- XmlSchemaComplexType.cs
- ExpressionBinding.cs
- ConfigXmlComment.cs
- GenericUriParser.cs
- ScriptingSectionGroup.cs
- ColumnWidthChangingEvent.cs
- ScalarType.cs
- RightsManagementEncryptedStream.cs
- AppLevelCompilationSectionCache.cs
- StaticFileHandler.cs
- TitleStyle.cs
- UriExt.cs
- ItemsChangedEventArgs.cs
- DataGridViewCellStyleConverter.cs
- AsyncPostBackErrorEventArgs.cs
- ResXResourceWriter.cs
- Vector3D.cs
- GeneralTransform3D.cs
- RepeatInfo.cs
- WaitHandle.cs
- ObjectSelectorEditor.cs
- ScrollChrome.cs
- ObjectDataSourceDisposingEventArgs.cs
- SessionStateModule.cs
- ContextStack.cs
- ReceiveContextCollection.cs
- BindValidationContext.cs
- ComPlusAuthorization.cs
- RootProfilePropertySettingsCollection.cs
- RemoteDebugger.cs
- MediaSystem.cs
- CompilerGeneratedAttribute.cs
- TrustManager.cs
- NamedObject.cs
- Symbol.cs
- ResXBuildProvider.cs
- MarkupCompiler.cs
- SecureEnvironment.cs
- ToolBar.cs
- DataServiceRequest.cs
- FloatSumAggregationOperator.cs
- TextTreeTextNode.cs
- WinInet.cs
- ArglessEventHandlerProxy.cs
- MarkupExtensionParser.cs
- tibetanshape.cs
- PopOutPanel.cs
- FixedTextBuilder.cs
- InlineCollection.cs
- CanonicalizationDriver.cs
- InertiaRotationBehavior.cs
- RequestCache.cs
- ImageMap.cs
- CodeCatchClause.cs
- ActivityStatusChangeEventArgs.cs
- Error.cs
- metadatamappinghashervisitor.cs
- XmlArrayItemAttribute.cs
- sqlmetadatafactory.cs
- GeneralTransform3DCollection.cs
- Invariant.cs