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
- BitmapPalette.cs
- Enum.cs
- BindingCollection.cs
- WindowsHyperlink.cs
- SqlException.cs
- MouseCaptureWithinProperty.cs
- HttpListenerTimeoutManager.cs
- Component.cs
- ErrorHandlerModule.cs
- ClientScriptManager.cs
- Pkcs9Attribute.cs
- OrthographicCamera.cs
- ThreadPool.cs
- PageCache.cs
- TriggerCollection.cs
- InkCanvasFeedbackAdorner.cs
- CodeCompiler.cs
- DataGridViewCellConverter.cs
- UIServiceHelper.cs
- RealProxy.cs
- InternalEnumValidator.cs
- StorageMappingFragment.cs
- DataObjectCopyingEventArgs.cs
- MouseButton.cs
- BinHexDecoder.cs
- DataMemberFieldEditor.cs
- UrlMappingCollection.cs
- InheritanceContextChangedEventManager.cs
- SpAudioStreamWrapper.cs
- SqlTransaction.cs
- ExpandoClass.cs
- SequentialWorkflowRootDesigner.cs
- SmiContext.cs
- ObjectMemberMapping.cs
- AssemblyInfo.cs
- CompilerScopeManager.cs
- CompositeKey.cs
- SQLByteStorage.cs
- AdapterUtil.cs
- MutexSecurity.cs
- CookielessHelper.cs
- RTTrackingProfile.cs
- CustomCredentialPolicy.cs
- HierarchicalDataBoundControl.cs
- SerialStream.cs
- SoapIgnoreAttribute.cs
- UpdateProgress.cs
- TemplateBaseAction.cs
- DbSourceCommand.cs
- ItemChangedEventArgs.cs
- ComponentDispatcherThread.cs
- CatalogZoneBase.cs
- MarkupCompilePass1.cs
- ResourceAttributes.cs
- TableItemProviderWrapper.cs
- ContainerParaClient.cs
- ListViewUpdateEventArgs.cs
- PropertyChangedEventManager.cs
- elementinformation.cs
- HttpSysSettings.cs
- PointKeyFrameCollection.cs
- Int64Converter.cs
- SplashScreen.cs
- ScalarType.cs
- StandardCommands.cs
- XmlStringTable.cs
- StandardOleMarshalObject.cs
- ComponentResourceKey.cs
- HttpClientCertificate.cs
- FloaterBaseParagraph.cs
- ObjectManager.cs
- Rect3D.cs
- MessageSecurityOverTcp.cs
- SizeKeyFrameCollection.cs
- WebSysDescriptionAttribute.cs
- StringDictionary.cs
- ExtensionQuery.cs
- SelectionProviderWrapper.cs
- ExecutedRoutedEventArgs.cs
- CheckBoxBaseAdapter.cs
- ObjectItemLoadingSessionData.cs
- ManagementOptions.cs
- ObjectDataSourceDisposingEventArgs.cs
- DynamicRouteExpression.cs
- ReaderWriterLock.cs
- BitArray.cs
- DataControlField.cs
- XmlHelper.cs
- TokenizerHelper.cs
- Menu.cs
- MasterPage.cs
- VisualStateGroup.cs
- CompilerResults.cs
- _OverlappedAsyncResult.cs
- ApplicationServiceHelper.cs
- RoutedEventHandlerInfo.cs
- DesignerSerializationVisibilityAttribute.cs
- SwitchAttribute.cs
- MenuItemStyleCollection.cs
- LogConverter.cs