Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- PointValueSerializer.cs
- CatalogPart.cs
- WebCategoryAttribute.cs
- DataSourceControl.cs
- DES.cs
- QilPatternFactory.cs
- EdmMember.cs
- CachedPathData.cs
- ExternalCalls.cs
- TableCellCollection.cs
- SqlDataSourceView.cs
- ParallelSeparator.xaml.cs
- MSG.cs
- BeginStoryboard.cs
- SHA256Managed.cs
- WebPartConnectionsEventArgs.cs
- SafeArchiveContext.cs
- UniqueConstraint.cs
- OdbcEnvironmentHandle.cs
- EntityDataSourceChangingEventArgs.cs
- PathGeometry.cs
- InnerItemCollectionView.cs
- Visual3DCollection.cs
- BreadCrumbTextConverter.cs
- CreateSequenceResponse.cs
- OperatingSystem.cs
- TypeDelegator.cs
- SchemaExporter.cs
- ParentQuery.cs
- DataControlFieldCollection.cs
- TagNameToTypeMapper.cs
- TemplateBindingExtension.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- DataGridGeneralPage.cs
- CroppedBitmap.cs
- AssertHelper.cs
- ObjectCloneHelper.cs
- GregorianCalendarHelper.cs
- Delegate.cs
- XmlExceptionHelper.cs
- DocumentSchemaValidator.cs
- FixedPage.cs
- RepeaterItemEventArgs.cs
- securitycriticaldata.cs
- ComponentSerializationService.cs
- SoapExtensionStream.cs
- PageBreakRecord.cs
- DataGridViewColumnConverter.cs
- FormatterConverter.cs
- CodeDOMProvider.cs
- RemoteWebConfigurationHostStream.cs
- SafeSecurityHandles.cs
- SynchronizedCollection.cs
- AutomationPatternInfo.cs
- UriWriter.cs
- XhtmlBasicValidationSummaryAdapter.cs
- Domain.cs
- NetworkInterface.cs
- WebBrowserSiteBase.cs
- TableCell.cs
- nulltextcontainer.cs
- SystemUnicastIPAddressInformation.cs
- XamlWriter.cs
- PropertyEmitter.cs
- CodeTypeDelegate.cs
- ReflectionServiceProvider.cs
- Size3DValueSerializer.cs
- Console.cs
- XhtmlBasicValidatorAdapter.cs
- CursorConverter.cs
- SchemaElement.cs
- HttpValueCollection.cs
- Transaction.cs
- SafeFileMapViewHandle.cs
- ScriptRef.cs
- TraceSection.cs
- ExpanderAutomationPeer.cs
- CodeLinePragma.cs
- XmlReaderSettings.cs
- XmlDataImplementation.cs
- WindowsIdentity.cs
- LabelExpression.cs
- ReferenceEqualityComparer.cs
- BitmapCodecInfo.cs
- OleServicesContext.cs
- XmlChildEnumerator.cs
- FontDriver.cs
- ClientRoleProvider.cs
- IgnoreDeviceFilterElement.cs
- MainMenu.cs
- Encoder.cs
- IndicCharClassifier.cs
- GiveFeedbackEvent.cs
- TabControl.cs
- SupportsEventValidationAttribute.cs
- FramingEncoders.cs
- AnnotationAuthorChangedEventArgs.cs
- GradientBrush.cs
- RtfFormatStack.cs
- CodeExpressionStatement.cs