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
- ClientEventManager.cs
- Menu.cs
- LinqDataSourceContextEventArgs.cs
- StorageAssociationSetMapping.cs
- PseudoWebRequest.cs
- XslNumber.cs
- SyndicationSerializer.cs
- XsltQilFactory.cs
- Transform3D.cs
- TextRangeAdaptor.cs
- ReflectionServiceProvider.cs
- ProxyHwnd.cs
- HtmlPhoneCallAdapter.cs
- FormViewDeleteEventArgs.cs
- TraceContextRecord.cs
- TextBoxAutoCompleteSourceConverter.cs
- DisplayMemberTemplateSelector.cs
- Animatable.cs
- Document.cs
- Intellisense.cs
- BitmapEffectDrawingContextState.cs
- FormView.cs
- SchemaComplexType.cs
- XMLDiffLoader.cs
- URLString.cs
- PeerNameRecord.cs
- ThicknessAnimationUsingKeyFrames.cs
- OptionalMessageQuery.cs
- Int16Animation.cs
- CodeExpressionStatement.cs
- SystemPens.cs
- HitTestParameters.cs
- HttpChannelListener.cs
- WorkflowPrinting.cs
- SpecularMaterial.cs
- GenerateHelper.cs
- TextTreeInsertElementUndoUnit.cs
- relpropertyhelper.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- CatalogPartCollection.cs
- Effect.cs
- XhtmlTextWriter.cs
- ComplexBindingPropertiesAttribute.cs
- DbProviderFactory.cs
- UnsafePeerToPeerMethods.cs
- FileIOPermission.cs
- BindingsCollection.cs
- QueryHandler.cs
- ArglessEventHandlerProxy.cs
- DataGridViewCellPaintingEventArgs.cs
- ImageFormatConverter.cs
- InputMethod.cs
- NotifyIcon.cs
- PageVisual.cs
- SqlUDTStorage.cs
- ActivityInstance.cs
- columnmapfactory.cs
- PresentationAppDomainManager.cs
- SerializationAttributes.cs
- ExtenderProvidedPropertyAttribute.cs
- SymbolEqualComparer.cs
- CheckBoxStandardAdapter.cs
- MenuItemStyleCollectionEditor.cs
- MultitargetUtil.cs
- ISAPIRuntime.cs
- RepeaterItem.cs
- FlowDocumentReader.cs
- NumberFormatInfo.cs
- ConditionCollection.cs
- XmlIncludeAttribute.cs
- webbrowsersite.cs
- QueryOpeningEnumerator.cs
- OneOf.cs
- ZipPackagePart.cs
- ScriptReference.cs
- ImageSource.cs
- ContainerSelectorActiveEvent.cs
- XmlHelper.cs
- PropertyChangedEventManager.cs
- Rss20FeedFormatter.cs
- SyncOperationState.cs
- DataViewSetting.cs
- srgsitem.cs
- RelationshipEndCollection.cs
- AnnotationResourceChangedEventArgs.cs
- SqlDataSourceStatusEventArgs.cs
- Root.cs
- RightsManagementPermission.cs
- DragDrop.cs
- AutomationProperty.cs
- InstanceStoreQueryResult.cs
- ConfigurationPermission.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- UnsafeNativeMethods.cs
- GroupByExpressionRewriter.cs
- XsdValidatingReader.cs
- WebPartConnectionsConfigureVerb.cs
- StyleConverter.cs
- WebSysDisplayNameAttribute.cs
- DataSvcMapFile.cs