Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Shared / MS / Internal / Generated / BrushMappingModeValidation.cs / 1 / BrushMappingModeValidation.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 IsBrushMappingModeValid(object valueObject) { BrushMappingMode value = (BrushMappingMode) valueObject; return (value == BrushMappingMode.Absolute) || (value == BrushMappingMode.RelativeToBoundingBox); } } } // 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 IsBrushMappingModeValid(object valueObject) { BrushMappingMode value = (BrushMappingMode) valueObject; return (value == BrushMappingMode.Absolute) || (value == BrushMappingMode.RelativeToBoundingBox); } } } // 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
- HtmlTableRow.cs
- PropertyOverridesDialog.cs
- DBDataPermissionAttribute.cs
- ObjectKeyFrameCollection.cs
- XsltOutput.cs
- SynchronizedDispatch.cs
- VScrollBar.cs
- ReceiveMessageRecord.cs
- XdrBuilder.cs
- SqlEnums.cs
- RootAction.cs
- DefaultWorkflowSchedulerService.cs
- ButtonRenderer.cs
- TypeBrowser.xaml.cs
- LeafCellTreeNode.cs
- SoundPlayerAction.cs
- GetWorkflowTree.cs
- PageCatalogPart.cs
- PropertyTab.cs
- FileReservationCollection.cs
- ConfigurationPropertyAttribute.cs
- ProxyWebPart.cs
- RepeaterCommandEventArgs.cs
- GeneralTransform.cs
- Completion.cs
- GeneralTransformCollection.cs
- WebBrowserProgressChangedEventHandler.cs
- __ComObject.cs
- HitTestParameters3D.cs
- BitmapEffectInput.cs
- XmlILConstructAnalyzer.cs
- SplitterCancelEvent.cs
- WebScriptEndpoint.cs
- ActivityDesignerAccessibleObject.cs
- DependencyObjectType.cs
- DragEventArgs.cs
- DateTimeConverter.cs
- IsolatedStorageException.cs
- ObjectTag.cs
- ISAPIRuntime.cs
- CLSCompliantAttribute.cs
- Image.cs
- FirstMatchCodeGroup.cs
- TimeManager.cs
- QuadraticBezierSegment.cs
- DiscoveryUtility.cs
- SecurityException.cs
- UnauthorizedWebPart.cs
- HtmlShimManager.cs
- Ref.cs
- UnsignedPublishLicense.cs
- XmlImplementation.cs
- BrowserCapabilitiesFactory.cs
- EtwTrace.cs
- PowerStatus.cs
- ConstNode.cs
- TypefaceMap.cs
- DesignerResources.cs
- HierarchicalDataBoundControl.cs
- Nullable.cs
- SystemMulticastIPAddressInformation.cs
- TagMapInfo.cs
- XmlReflectionMember.cs
- sqlnorm.cs
- Touch.cs
- Deflater.cs
- XD.cs
- ParameterCollection.cs
- HebrewNumber.cs
- WebResourceAttribute.cs
- BaseDataListPage.cs
- CommonProperties.cs
- XsdCachingReader.cs
- TileBrush.cs
- CommandHelpers.cs
- IgnoreSectionHandler.cs
- XmlSchemaExporter.cs
- AutomationProperties.cs
- HtmlMeta.cs
- FormViewDeletedEventArgs.cs
- ActivityExecutorOperation.cs
- RuleProcessor.cs
- DropDownButton.cs
- ToolBarOverflowPanel.cs
- Highlights.cs
- HitTestFilterBehavior.cs
- MarkupObject.cs
- ObservableCollection.cs
- LocationSectionRecord.cs
- Parallel.cs
- HttpUnhandledOperationInvoker.cs
- Wildcard.cs
- StatusBarAutomationPeer.cs
- MetadataConversionError.cs
- _WinHttpWebProxyDataBuilder.cs
- DataGridPageChangedEventArgs.cs
- BamlMapTable.cs
- CompiledAction.cs
- initElementDictionary.cs
- Int32.cs