Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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 [....]/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
- IntSecurity.cs
- Task.cs
- EventHandlerList.cs
- ChildDocumentBlock.cs
- CopyOnWriteList.cs
- SignedPkcs7.cs
- ColumnResult.cs
- Context.cs
- IdentityReference.cs
- ToolboxItem.cs
- HwndAppCommandInputProvider.cs
- GenericIdentity.cs
- LeftCellWrapper.cs
- basenumberconverter.cs
- MemberInitExpression.cs
- DynamicRenderer.cs
- ParameterModifier.cs
- WebPartConnectionsDisconnectVerb.cs
- BulletedListEventArgs.cs
- EntityStoreSchemaGenerator.cs
- WebPartManager.cs
- ParallelDesigner.xaml.cs
- ReturnValue.cs
- ComponentEditorPage.cs
- LogSwitch.cs
- XmlEncodedRawTextWriter.cs
- StringComparer.cs
- SupportingTokenSpecification.cs
- StylusPointDescription.cs
- DataBindingList.cs
- CustomSignedXml.cs
- CommonRemoteMemoryBlock.cs
- InkPresenterAutomationPeer.cs
- TableItemPatternIdentifiers.cs
- SamlAuthorizationDecisionClaimResource.cs
- ComponentCommands.cs
- ButtonBaseAutomationPeer.cs
- Vars.cs
- DrawingContextWalker.cs
- AnnotationComponentChooser.cs
- ColorConverter.cs
- TemplatedWizardStep.cs
- ClusterSafeNativeMethods.cs
- StringUtil.cs
- Pointer.cs
- UnsafeNetInfoNativeMethods.cs
- MouseCaptureWithinProperty.cs
- HttpHandlerActionCollection.cs
- EntityDataSourceConfigureObjectContext.cs
- TypeValidationEventArgs.cs
- DataGridCellInfo.cs
- TripleDES.cs
- HttpRequestCacheValidator.cs
- ObjectSecurity.cs
- _AutoWebProxyScriptHelper.cs
- ModelUIElement3D.cs
- EmbeddedMailObjectsCollection.cs
- MetadataSerializer.cs
- SetIterators.cs
- LabelInfo.cs
- ExternalCalls.cs
- Token.cs
- NavigationHelper.cs
- DataPointer.cs
- HitTestWithPointDrawingContextWalker.cs
- Table.cs
- ApplicationSecurityInfo.cs
- RenameRuleObjectDialog.cs
- MetafileHeader.cs
- XPathDocumentIterator.cs
- XmlSignificantWhitespace.cs
- Color.cs
- ProcessModuleCollection.cs
- DSASignatureFormatter.cs
- SerializationAttributes.cs
- DataSourceXmlElementAttribute.cs
- StylusButtonCollection.cs
- ConfigurationPermission.cs
- ConstraintConverter.cs
- Parameter.cs
- MeasurementDCInfo.cs
- CacheMemory.cs
- FrameworkContentElement.cs
- PolicyException.cs
- BackgroundFormatInfo.cs
- ConfigurationLocationCollection.cs
- DesignerDataSchemaClass.cs
- EventWaitHandle.cs
- CompilerState.cs
- PeerApplicationLaunchInfo.cs
- DynamicScriptObject.cs
- XPathMultyIterator.cs
- GenericUriParser.cs
- COSERVERINFO.cs
- XmlSchemaInfo.cs
- ZipArchive.cs
- XmlIgnoreAttribute.cs
- ColumnBinding.cs
- HierarchicalDataBoundControl.cs
- SessionViewState.cs