Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaAttributeGroup.cs
- AppSettingsReader.cs
- BuildResultCache.cs
- ModuleConfigurationInfo.cs
- ChildChangedEventArgs.cs
- DataPagerField.cs
- NativeMethods.cs
- FilterException.cs
- EdmScalarPropertyAttribute.cs
- StringHandle.cs
- ScriptRegistrationManager.cs
- Table.cs
- PathFigureCollectionValueSerializer.cs
- SessionStateUtil.cs
- IBuiltInEvidence.cs
- HealthMonitoringSection.cs
- AlphaSortedEnumConverter.cs
- DelegatingTypeDescriptionProvider.cs
- EventProvider.cs
- LineServicesRun.cs
- WebHttpDispatchOperationSelector.cs
- DataPagerFieldCommandEventArgs.cs
- FileDialog.cs
- QueryCacheKey.cs
- SolidColorBrush.cs
- Marshal.cs
- StrokeCollection.cs
- FloaterBaseParagraph.cs
- ProxyAssemblyNotLoadedException.cs
- DesignOnlyAttribute.cs
- ClusterUtils.cs
- ObjectViewEntityCollectionData.cs
- ToggleButton.cs
- Size.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- XmlQueryType.cs
- CodeDOMUtility.cs
- StringAttributeCollection.cs
- Stacktrace.cs
- peernodestatemanager.cs
- ZipIOCentralDirectoryBlock.cs
- FloatAverageAggregationOperator.cs
- TextClipboardData.cs
- DataPointer.cs
- XmlNavigatorStack.cs
- DynamicEntity.cs
- NameValueFileSectionHandler.cs
- HttpProtocolImporter.cs
- CompositeActivityCodeGenerator.cs
- SessionParameter.cs
- ScrollBarRenderer.cs
- Overlapped.cs
- RenderContext.cs
- NativeMethods.cs
- TextReturnReader.cs
- ChannelCacheSettings.cs
- InstanceLockedException.cs
- RightsManagementEncryptedStream.cs
- ClientApiGenerator.cs
- DetailsViewDeletedEventArgs.cs
- MasterPage.cs
- ToggleButton.cs
- DataKeyCollection.cs
- SapiRecoInterop.cs
- FixedSOMSemanticBox.cs
- FieldMetadata.cs
- DataGridCellInfo.cs
- SByteConverter.cs
- FormsAuthenticationUserCollection.cs
- TdsParserSessionPool.cs
- FixedDocumentPaginator.cs
- MemoryMappedView.cs
- SmtpReplyReaderFactory.cs
- SynchronizationLockException.cs
- PenCursorManager.cs
- selecteditemcollection.cs
- XmlChildNodes.cs
- ProxyWebPartConnectionCollection.cs
- ItemCollectionEditor.cs
- WizardStepBase.cs
- GroupBoxRenderer.cs
- XPathNodeInfoAtom.cs
- DesignerVerb.cs
- InplaceBitmapMetadataWriter.cs
- DataGridItemCollection.cs
- Point3DCollection.cs
- ListenerServiceInstallComponent.cs
- GACIdentityPermission.cs
- RbTree.cs
- ToolStripTextBox.cs
- AdjustableArrowCap.cs
- WebDescriptionAttribute.cs
- FrameworkReadOnlyPropertyMetadata.cs
- SerializationEventsCache.cs
- XmlBoundElement.cs
- StatusBarItem.cs
- XmlnsDictionary.cs
- StyleConverter.cs
- CompilationUnit.cs
- CompareValidator.cs