Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / System / Windows / Markup / XmlLangPropertyAttribute.cs / 1 / XmlLangPropertyAttribute.cs
//---------------------------------------------------------------------------- // // File: XmlLangPropertyAttribute.cs // // Description: // This attribute is placed on a class to identify it as the place to set // the value of the xml:lang attribute from the XML markup file. // // Example: // [XmlLangProperty("Language")] // public class ExampleFrameworkElement // // Means that when the parser sees: // //// // The parser will set the "Language" property with the value "en-US". // // // Copyright (C) by Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Markup { /// /// An attribute that specifies which property the xml:lang value should /// be directed to. /// [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)] public sealed class XmlLangPropertyAttribute : Attribute { ////// Creates a new XmlLangPropertyAttribute with the given string /// as the property name. /// public XmlLangPropertyAttribute(string name) { _name = name; } ////// The name of the property that is designated to accept the xml:lang value /// public string Name { get { return _name; } } // The name of the property that is designated to accept the xml:lang value private string _name = null; } } // 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
- SwitchAttribute.cs
- ErrorHandlerModule.cs
- ItemContainerGenerator.cs
- VoiceInfo.cs
- StaticContext.cs
- ObfuscateAssemblyAttribute.cs
- WbmpConverter.cs
- IPGlobalProperties.cs
- Block.cs
- _WebProxyDataBuilder.cs
- TabControlAutomationPeer.cs
- BamlWriter.cs
- Light.cs
- CmsInterop.cs
- cache.cs
- MetadataSection.cs
- _ConnectionGroup.cs
- SerialPort.cs
- TreeViewEvent.cs
- AssociationEndMember.cs
- EventHandlerService.cs
- Slider.cs
- ImpersonationContext.cs
- WebPartCollection.cs
- ETagAttribute.cs
- ContractUtils.cs
- SqlSupersetValidator.cs
- GridViewColumnCollectionChangedEventArgs.cs
- PresentationAppDomainManager.cs
- FloaterBaseParaClient.cs
- ToolStripSeparatorRenderEventArgs.cs
- ReadWriteObjectLock.cs
- HTTPNotFoundHandler.cs
- TextTreeTextBlock.cs
- DesignerDataRelationship.cs
- EnumerableWrapperWeakToStrong.cs
- SiteMapPath.cs
- CommonProperties.cs
- ToolBarButtonDesigner.cs
- BaseInfoTable.cs
- BrowserDefinitionCollection.cs
- XmlAtomErrorReader.cs
- ExtentJoinTreeNode.cs
- SequentialOutput.cs
- SchemaInfo.cs
- StateBag.cs
- TypeLoadException.cs
- ResourceLoader.cs
- ConfigXmlDocument.cs
- VectorKeyFrameCollection.cs
- EndpointInfoCollection.cs
- LineSegment.cs
- AttributeCollection.cs
- SQLGuid.cs
- OutputCacheProfileCollection.cs
- XmlCountingReader.cs
- MimePart.cs
- Group.cs
- ExtendedProtectionPolicyElement.cs
- addressfiltermode.cs
- MemberDescriptor.cs
- EntityTypeEmitter.cs
- RadioButtonBaseAdapter.cs
- RoamingStoreFileUtility.cs
- BamlRecordReader.cs
- SelectionEditingBehavior.cs
- Wildcard.cs
- UInt64Converter.cs
- XmlDeclaration.cs
- PolyBezierSegmentFigureLogic.cs
- WindowsAuthenticationModule.cs
- TdsParserSafeHandles.cs
- QuaternionAnimation.cs
- DiscoveryClientOutputChannel.cs
- EncoderReplacementFallback.cs
- EntryPointNotFoundException.cs
- linebase.cs
- MultiPropertyDescriptorGridEntry.cs
- SqlError.cs
- GAC.cs
- TypeToken.cs
- AxWrapperGen.cs
- InputDevice.cs
- TreeWalker.cs
- ColorContext.cs
- updateconfighost.cs
- DataMember.cs
- GridViewCommandEventArgs.cs
- SqlClientPermission.cs
- PropertyPath.cs
- RegularExpressionValidator.cs
- WebPartDisplayModeEventArgs.cs
- FixedSOMLineCollection.cs
- SqlStream.cs
- BaseTemplateParser.cs
- VersionedStreamOwner.cs
- BorderGapMaskConverter.cs
- View.cs
- Module.cs
- NativeObjectSecurity.cs