Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / PenLineCapValidation.cs / 1305600 / PenLineCapValidation.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 IsPenLineCapValid(object valueObject) { PenLineCap value = (PenLineCap) valueObject; return (value == PenLineCap.Flat) || (value == PenLineCap.Square) || (value == PenLineCap.Round) || (value == PenLineCap.Triangle); } } } // 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
- InternalConfigConfigurationFactory.cs
- SiteMembershipCondition.cs
- Mapping.cs
- XPathScanner.cs
- GeometryConverter.cs
- TTSEngineProxy.cs
- FillErrorEventArgs.cs
- EntityTemplateFactory.cs
- InplaceBitmapMetadataWriter.cs
- LogManagementAsyncResult.cs
- TemplateKeyConverter.cs
- CapabilitiesUse.cs
- UIntPtr.cs
- PropertyConverter.cs
- CollectionTypeElement.cs
- TextureBrush.cs
- ZipIOBlockManager.cs
- SingleObjectCollection.cs
- XmlHierarchicalDataSourceView.cs
- ConnectivityStatus.cs
- OracleParameterCollection.cs
- BrowserDefinitionCollection.cs
- DataSourceHelper.cs
- ScriptingJsonSerializationSection.cs
- UrlPath.cs
- PathSegmentCollection.cs
- DoubleLink.cs
- XmlDocumentSerializer.cs
- XmlTextReaderImplHelpers.cs
- smtppermission.cs
- GroupBoxAutomationPeer.cs
- RawStylusInputReport.cs
- FunctionDetailsReader.cs
- ClearTypeHintValidation.cs
- ClientCredentialsElement.cs
- UInt64Converter.cs
- FontDifferentiator.cs
- Triplet.cs
- ExtensibleClassFactory.cs
- WebRequestModuleElementCollection.cs
- WorkflowOwnerAsyncResult.cs
- Converter.cs
- ToolStripPanelRenderEventArgs.cs
- OptimizerPatterns.cs
- SystemIcmpV4Statistics.cs
- DebuggerService.cs
- VisualBasicValue.cs
- FileAuthorizationModule.cs
- SoapCodeExporter.cs
- DocumentReference.cs
- DesignerAdRotatorAdapter.cs
- SerializableAuthorizationContext.cs
- SystemFonts.cs
- PingOptions.cs
- SystemIPInterfaceStatistics.cs
- HtmlElementErrorEventArgs.cs
- DesignerCapabilities.cs
- PointLight.cs
- SynchronizedReadOnlyCollection.cs
- DataRow.cs
- ToolStripGripRenderEventArgs.cs
- SocketInformation.cs
- FileLogRecordStream.cs
- EmptyStringExpandableObjectConverter.cs
- IImplicitResourceProvider.cs
- Range.cs
- Util.cs
- UserControl.cs
- IDQuery.cs
- SymLanguageVendor.cs
- DateTimeUtil.cs
- CultureInfoConverter.cs
- WebConfigurationManager.cs
- CodeNamespaceImport.cs
- BulletChrome.cs
- SmiEventStream.cs
- ComAdminInterfaces.cs
- XmlIlTypeHelper.cs
- SessionEndingCancelEventArgs.cs
- CodeIndexerExpression.cs
- UInt16Converter.cs
- Message.cs
- ConfigurationManagerHelper.cs
- UnsafePeerToPeerMethods.cs
- WindowsStatusBar.cs
- DataServiceResponse.cs
- SQLBytesStorage.cs
- WindowsListViewItemStartMenu.cs
- DataColumnChangeEvent.cs
- PropertyDescriptorComparer.cs
- RenamedEventArgs.cs
- DependencyPropertyValueSerializer.cs
- TextBoxBaseDesigner.cs
- Canvas.cs
- SocketPermission.cs
- PartDesigner.cs
- WindowsFormsHost.cs
- FlagPanel.cs
- MonthChangedEventArgs.cs
- ComboBoxAutomationPeer.cs