Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TileModeValidation.cs / 1305600 / 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
- TextRangeEdit.cs
- IItemProperties.cs
- Scheduler.cs
- PreservationFileWriter.cs
- SQLDecimalStorage.cs
- _ListenerResponseStream.cs
- FileLevelControlBuilderAttribute.cs
- CngAlgorithm.cs
- DataGridViewColumnCollection.cs
- TableAutomationPeer.cs
- WebAdminConfigurationHelper.cs
- BridgeDataReader.cs
- InternalsVisibleToAttribute.cs
- InternalConfigEventArgs.cs
- DeferredElementTreeState.cs
- DataGridViewRowsAddedEventArgs.cs
- WebCategoryAttribute.cs
- CodeAssignStatement.cs
- NetMsmqSecurityElement.cs
- AuthenticationException.cs
- MailDefinition.cs
- WindowsScroll.cs
- processwaithandle.cs
- TreeWalker.cs
- ClientSideProviderDescription.cs
- XmlDataSourceView.cs
- RightsManagementEncryptionTransform.cs
- WinEventQueueItem.cs
- TextRangeEditLists.cs
- SqlDataSourceStatusEventArgs.cs
- RouteCollection.cs
- columnmapkeybuilder.cs
- EntityContainer.cs
- DataMisalignedException.cs
- MenuItem.cs
- DataGridBoundColumn.cs
- ErrorFormatterPage.cs
- SystemWebExtensionsSectionGroup.cs
- TableCellsCollectionEditor.cs
- CopyCodeAction.cs
- HatchBrush.cs
- _ShellExpression.cs
- Query.cs
- EntityAdapter.cs
- ActivationServices.cs
- ActivityTypeResolver.xaml.cs
- SymbolDocumentInfo.cs
- XmlNamedNodeMap.cs
- PeerName.cs
- StretchValidation.cs
- ConfigXmlWhitespace.cs
- SqlConnectionString.cs
- GeneralTransform3DTo2D.cs
- GenericTextProperties.cs
- InternalConfigEventArgs.cs
- BitArray.cs
- Code.cs
- LocalFileSettingsProvider.cs
- Token.cs
- DataGridBeginningEditEventArgs.cs
- RepeaterItemEventArgs.cs
- AddInSegmentDirectoryNotFoundException.cs
- IPEndPointCollection.cs
- FileChangesMonitor.cs
- ShimAsPublicXamlType.cs
- GeometryValueSerializer.cs
- InvalidStoreProtectionKeyException.cs
- EntityConnection.cs
- OverrideMode.cs
- HandlerBase.cs
- EtwTrace.cs
- documentsequencetextcontainer.cs
- Utils.cs
- EpmContentSerializerBase.cs
- QuaternionRotation3D.cs
- Inflater.cs
- CacheEntry.cs
- Compiler.cs
- StringFormat.cs
- WeakReferenceKey.cs
- SafeMemoryMappedFileHandle.cs
- LineGeometry.cs
- __Error.cs
- QueryResponse.cs
- GenericTypeParameterBuilder.cs
- SymmetricAlgorithm.cs
- PatternMatcher.cs
- MouseGesture.cs
- CachingHintValidation.cs
- XPathNavigatorReader.cs
- ScriptResourceDefinition.cs
- SqlVisitor.cs
- DefaultHttpHandler.cs
- RuleSetCollection.cs
- _NestedMultipleAsyncResult.cs
- RecordConverter.cs
- RemoteWebConfigurationHostStream.cs
- TextRange.cs
- FullTextBreakpoint.cs
- DBDataPermissionAttribute.cs