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
- TableCellAutomationPeer.cs
- SessionPageStateSection.cs
- Random.cs
- ConsumerConnectionPointCollection.cs
- SqlInternalConnection.cs
- DocumentCollection.cs
- Registry.cs
- FormattedText.cs
- PrePostDescendentsWalker.cs
- LineInfo.cs
- GroupByExpressionRewriter.cs
- WindowsMenu.cs
- XmlSchemaCompilationSettings.cs
- validationstate.cs
- MaskedTextBox.cs
- TcpWorkerProcess.cs
- StaticTextPointer.cs
- HtmlAnchor.cs
- MetafileHeader.cs
- SignatureToken.cs
- OutputCacheSettingsSection.cs
- PauseStoryboard.cs
- oledbmetadatacollectionnames.cs
- DefaultValueMapping.cs
- CredentialCache.cs
- BindingParameterCollection.cs
- XmlDictionaryReaderQuotas.cs
- ViewLoader.cs
- DescendantBaseQuery.cs
- ValueTable.cs
- CommandLibraryHelper.cs
- COM2Enum.cs
- Keyboard.cs
- ReaderContextStackData.cs
- HuffCodec.cs
- Debug.cs
- TypeLibraryHelper.cs
- DrawingDrawingContext.cs
- Floater.cs
- UserControlCodeDomTreeGenerator.cs
- log.cs
- ToolStripDropDownClosingEventArgs.cs
- Internal.cs
- GPStream.cs
- cache.cs
- HostProtectionPermission.cs
- ActiveXHelper.cs
- CodeTypeReference.cs
- SqlIdentifier.cs
- SqlFormatter.cs
- DataGridTableCollection.cs
- FontConverter.cs
- WebPartCatalogCloseVerb.cs
- handlecollector.cs
- DataServiceException.cs
- StorageFunctionMapping.cs
- ToolStripRenderEventArgs.cs
- DocumentViewerAutomationPeer.cs
- StyleModeStack.cs
- ErrorInfoXmlDocument.cs
- DynamicActivityXamlReader.cs
- localization.cs
- TextReturnReader.cs
- MeasureItemEvent.cs
- CounterCreationDataConverter.cs
- ArraySortHelper.cs
- ViewRendering.cs
- UserControlCodeDomTreeGenerator.cs
- LazyTextWriterCreator.cs
- DropDownButton.cs
- PeerTransportBindingElement.cs
- Cursors.cs
- ArithmeticException.cs
- SerializationInfo.cs
- Popup.cs
- Control.cs
- GenericWebPart.cs
- WebServiceParameterData.cs
- PlaceHolder.cs
- WpfWebRequestHelper.cs
- ComponentDispatcher.cs
- FocusChangedEventArgs.cs
- SymDocumentType.cs
- UriParserTemplates.cs
- MSAAEventDispatcher.cs
- TreeViewImageIndexConverter.cs
- DataGridViewMethods.cs
- ContainerFilterService.cs
- ApplicationProxyInternal.cs
- SqlConnectionString.cs
- Converter.cs
- SortExpressionBuilder.cs
- StylusTip.cs
- TemplatedEditableDesignerRegion.cs
- FileDataSourceCache.cs
- OleDbException.cs
- UnionExpr.cs
- TreeNodeBindingCollection.cs
- WebServiceEnumData.cs
- Enum.cs